Very old trick I learned from an IBMer (who actually help write part OS/360)

//MYJOB JOB
//NORUN EXEC PGM=IEFBR14,COND=ONLY
//STEP2 EXEC PGM=IEFBR14

The NORUN step will be flushed (not run).

//TESTRUN  JOB (H00000I),MCKOWN,CLASS=Z,MSGCLASS=X,NOTIFY=&SYSUID
//IEFBR14 EXEC PGM=IEFBR14,COND=ONLY
//STEP2   EXEC PGM=IEFBR14
//*


12.14.14 JOB54628  $HASP373 TESTRUN  STARTED - INIT 20   - CLASS Z - SYS
LIH1
12.14.14 JOB54628  IEF403I TESTRUN - STARTED -
TIME=12.14.14

12.14.14 JOB54628  -                                              --TIMINGS
(MINS.)--            -----PAGING COUNTS----
12.14.14 JOB54628  -STEPNAME PROCSTEP    RC   EXCP   CONN    TCB    SRB
CLOCK   SERV  WORKLOAD  PAGE  SWAP   VIO SWAPS
12.14.14 JOB54628  -IEFBR14           FLUSH      0      0    .00    .00
.0      0  TESTBATC     0     0     0     0
12.14.14 JOB54628  -STEP2                00      9      3    .00    .00
.0     19  TESTBATC     0     0     0     0
12.14.14 JOB54628  IEF404I TESTRUN - ENDED -
TIME=12.14.14

12.14.14 JOB54628  -TESTRUN  ENDED.  NAME-MCKOWN               TOTAL TCB
CPU TIME=    .00 TOTAL ELAPSED TIME=    .0
12.14.14 JOB54628  $HASP395 TESTRUN
ENDED





On Sun, Nov 10, 2013 at 11:44 AM, John McDowell <[email protected]> wrote:

> Dan,
>
> You got me there :-)  I should have been more careful setting my
> constraints, let me try again :-)
>
> How do you suppress the execution of the 1st step in a job using existing
> JCL facilities without modifying the JOB statement ?
>
> John McDowell
>
> > Riddle me this grasshopper; How do you suppress the execution of the 1st
> > step in a job using existing JCL facilities ?
> >
> >Jobcard ... RESTART=STEP2
> >
> >Dan
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
This is clearly another case of too many mad scientists, and not enough
hunchbacks.

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to