<< Index

Package Step

File: modules/Step.pm Version: 2.15

Step ...   step.pm   Jobstep ctl class protptype
  Class Methods :-
     nstep
            Returns number of stored steps
     FindStep( $stepname)
            Returns ref to step named $stepname
     Printem () 
            Prints info for all known steps
     Sum
            Returns summary - status for last attempted step
   Object methods :-
     ( New )  
            provided by Class::Struct
     init
            Initialises step variables
     print
            prints step information
     CanRun
            Returns T if step is ready to run
     CheckCond( $cond )
            Returns T if step code satisfies cond ( =0 only this version )
     Run
            Executes the step 
Use: Class
Err
TrEnv
TrUtil
overload
strict
Routine Comment Arguments
Active          Evaluates step if:  condition   
CanRun          Returns .t if this step can be run   
CheckCond        Checks step condition code..
-255 -> in progress
-1 -> not yet run ( see TrEnv::Ccode 
 
CondOK       t if step cond OK  
FileOK       t if OP files OK                                        2.00 23Oct2003  
FindSeq       Find step by seq number  
GetOpt       return step options string  
Go        Execute the step   
HasRun       return t if step already ran ( or, was skipped )  
Init                          Set object parameters  
IsEq      Equality op  
IsNE      Equality op  
IsReady        return t if step is ready to run  
IsStep       Return t if recognised step   
Optional       Step may be ommitted  
PrStat       Print all known steps..  
Print        Prints the step parameters  
Printem       Print all known steps..  
QStat        Returns status line for a step  
RanOK       return t if step ran OK  
Read        Construct Step data structure from a data file  
Ready       Return steps which can be run  
Running       return t if step running ( cond < -255 )  
Skip       record step as skipped  
Skipped       report if step was skipped  
StLine        return status line for a step..  
StatOK      return 1 if status file entry records OK, -1 if not OK, 0 - no record  
Sum       Return summary line ( status, last attempted step )  
V Print version number  
_IsStep      Exists ?  
parse        process initialisation string..