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


Please Help Members By Posting Answers For Below Questions

How does jcl act on code(if you take a cobol program)?

814


What does a disposition of (MOD,DELETE,DELETE) mean ?

762


What is the function of //jcllib statement?

919


Explain dfsort utility?

855


Where & How Do You Code Identifier In Jcl?

800






Is it possible to left uncode disp? If yes, how?

787


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

758


Explain the jcl exec statement?

745


Explain about ISPF/TSO Commands

1438


What are some jcl statements that are not allowed in procedures?

812


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?

9042


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

910


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2211


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

4353


Differentiate between the joblib and the steplib statements?

952