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
How does the jcl specify the job to os?
Is it possible to left uncode disp?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Explain how can return codes be tested before execution of a job step?
Explain the function of dd name parameter with a 2 part structure; audit.report?
What is jcl in mainframe?
Name the statement which can be used to send data to another mvs jes3 node?
What is the function of the dd dcb keyword?
What is the format of comment statement?
when does a dataset go uncataloged?
How can unused space allocation be returned to the system when a dataset is closed?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
Explain the jcl exec statement?
What happens if both JOBLIB & STEPLIB is specified ?
is there any way to execute more than one proc in the same exec statement at the same time..?