IF we are calling a PROC from Jcl...This Proc have 3 steps
in it and we want to execute only the second step using the
JCL, How to do it??
Please give the answer ASAP:)
Answer Posted / biswajit
Sorry there is little modification on JOB CARD to my
earlier answer.
In Job card RESTART = Proc stepname.stepname ie
STEP2.Stepname of job that invokes the proc This will result
to start at STEP2 of proc.
In Exec statement of the job that invoking the proc u can
code COND.STEP3 = (0,LE),The result of this is the STEP3
of proc will have COND=(0,LE).Whcih is allways true so this
step will be always bypassed.As a result of both only STEP2
of proc will be excuted.
Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
How does jcl act on code(if you take a cobol program)?
What does a disposition of (MOD,DELETE,DELETE) mean ?
What is the function of //jcllib statement?
Explain dfsort utility?
Where & How Do You Code Identifier In Jcl?
Is it possible to left uncode disp? If yes, how?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
Explain the jcl exec statement?
Explain about ISPF/TSO Commands
What are some jcl statements that are not allowed in procedures?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
Differentiate between the joblib and the steplib statements?