A statement about PROCs is "
In PROCs, Symbolic Parameters can be assigned on PROC and
EXEC", BUT On which EXEC,
(i) On the JCL's EXEC which is calling to PROC1.
(Inside JCL, EXEC PROC1)
(ii) or On the PROC's EXEC where it calls the PGM1.
(Inside PROC, EXEC PGM=PGM1)
Answer Posted / kalone
Hi,
It shud be on the Proc's Exec.See the below example :
//S1 EXEC PROC1,TYPE=P,CC=IN
Inside the PROC1
//PROC1 PROC
//P1 EXEC PGM=prog-name
//STEPLIB ....
//filename DD DSN=&&TYPE.&&CC
So , the Symbolic parameter TYPE and CC will be replaced by
P and IN
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
I need exexution process for JCL programs
What are the difference between jcl and jes?
Is condition checking possible in jcl? If yes, how?
List the different components of jcl statement?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
Can we call instream to catalog and catalog to instream?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Matching Logic in Jcl not in cobol.Could any one please answer this question
what is the difference between JES3 and JES2?
Explain the jcl exec statement?
which parameter is use to declare the name of dataset in dd statement?
How can a jobs execution priority be modified?
In job processing, what happens in conversion stage?
define cond parameter in jcl?
how you can access an uncataloged dataset in a JCL?