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
Explain the jcl exec statement?
How to do automated restart when a job abend?
What does a disposition of (new,catlg,keep) for a dsn mean?
What is the purpose of the dd keylen parameter?
What are the rules employed while naming the steps in a job?
What are some jcl statements that are not allowed in procedures?
What is condition checking in jcl? Is this possible?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
What is concatenating?
Is their any limit for data sets?
How jcl is used for testing batch programs?
which utility is used to sort a file in jcl?
What is the purpose of disp parameter?
What is the significance of addrspc parameter in the exec statement?