> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of john gilmore
> 
> From p. 17-1 of z/OS V1R6.0 MVS JCL Reference,
> 
> >
> >Use the IF/THEN/ELSE/ENDIF statement construct to conditionally
execute 
> >job steps within a job.

The original question was this:

> Subject: Override a proc step 
> From: Howard Brazee  
> Reply-To: IBM Mainframe Discussion List <[email protected]> 
> Date: Wed, 8 Aug 2007 13:21:18 -0600 
> 
> Is there an easy way to override a proc step so that it does not run?

Since a "proc step" is a subset of a "job step", other replies addressed
ways to cause a "proc step" to not run.  Your citation addresses a way
to cause a "job step" to not run.

Consider this job:

//JOBNAME JOB . . .
//JSTEP1  EXEC PROC1
//JSTEP2  EXEC PROC2
//JSTEP3  EXEC PROC3
. . .

Further consider each proc as similar to this:

//PROC1  PROC . . .
//PSTEP1 EXEC PGM=PR1PGM1
//PSTEP2 EXEC PGM=PR1PGM2
//PSTEP3 EXEC PGM=PR1PGM3
. . .

Please show the use of IF/THEN/ELSE/ENDIF in job JOBNAME to cause, say,
PSTEP3 of PROC2 to not run.

    -jc-

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to