View previous topic :: View next topic
|
Author |
Message |
Pritam
New User
Joined: 23 Feb 2005 Posts: 1
|
|
|
|
This is a interview question
" I have a job card with multiple instream procedures and i need to skip the first 2 steps of all the procs. how do i do it "
//jname job
//
//proc proc1
//stp11
//stp12
//stp13
//stp14
//
//proc proc2
//stp21
//stp22
//stp23
//stp24
//
//proc proc3
//stp31
//stp32
//stp33
//stp34
:
:
:
:
now i need to skip stp11.stp12,stp21,stp22, stp31, stp32 everytime i submit my job |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Code: |
//JNAME JOB (...),CLASS=X,MSGCLASS=X
//*
//PROC1 PROC
//STP11 EXEC PGM=IEFBR14,COND=(ONLY)
//STP12 EXEC PGM=IEFBR14,COND=(ONLY)
//STP13 EXEC PGM=IEFBR14
//STP14 EXEC PGM=IEFBR14
// PEND
//*
//PROC2 PROC
//STP21 EXEC PGM=IEFBR14,COND=(ONLY)
//STP22 EXEC PGM=IEFBR14,COND=(ONLY)
//STP23 EXEC PGM=IEFBR14
//STP24 EXEC PGM=IEFBR14
// PEND
//*
//PROC3 PROC
//STP31 EXEC PGM=IEFBR14
//STP32 EXEC PGM=IEFBR14
//STP33 EXEC PGM=IEFBR14
//STP34 EXEC PGM=IEFBR14
// PEND
//*
// EXEC PROC1
// EXEC PROC2
// EXEC PROC3,COND.STP31=ONLY,COND.STP32=ONLY
//*
|
Please refer to the "z/OS MVS JCL Reference Guide" for further details on how to code procedure overrides. |
|
Back to top |
|
|
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
hi Superk
by mentioning like this
//JS1 EXEC PROC1,COND.STP11=ONLY,COND.STP12=ONLY
we are refering to a step theat is not at all used in the JCL,
Can we refer to a step that's not at all mentioned in the JCL
Thanks
Siva |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Sorry, I neglected to notice that the original post referred to instream procedures. I have modified my response. |
|
Back to top |
|
|
|