EXEC statement
Use an EXEC statement to define a new job step and specify the name of the program to run.
Note:
- To change the behavior of the COND clause to the behavior that existed before the 7.0.1.1 release, use the -oldcond option. For details about this option, see Using previous versions of the Remote Build server.
- To enable the comment field continuation feature, use the -strict option. For details about this options, see Editing the RCCRUNM or RCCRUNU member.
Syntax
//new_stepname EXEC {PGM=prog_name}[PARM='parm_string'][COND=((code,op[,stepname])[,(code,op[,stepname])…])]- new_stepname
- The name of the job step you are defining.
- prog_name
- The name of a program to be executed.
- parm_string
- The parameter string passed to the invoked program.
- code
- The value to test against the return code from a previous step.
- op
- The comparison operator . It can be EQ, NE, LE, GE, LT, or GT.
- stepname
- The name of the step that issues the return code.
Note: In the COND clause, you can omit the outer parentheses
if you code only one return code test. If you omit stepname, the code you specify is compared to the return codes from all previous
steps. If a test specifies a previous step that was bypassed, the
system evaluates the COND parameter as false and executes the step.