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)
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / dedicated_programmer
Thank You Kalone,
And Could you please have a look on other NEW Questions
posted by me (Dedicated Programmer).
| Is This Answer Correct ? | 0 Yes | 1 No |
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
can we give instream data in procedure
there are 10 steps in jcl how to execute the steps from step2 to step8 only
What are SD37, SB37, SE37 abends?
What is meant by S0C7 system abend code?
What is the purpose of dd dummy statement?
Could you provide an example and its effect OF, Using COND on JOB and EXEC both ?
Must tape dataset definitions include vol=ser specifications?
What are the valid DSORG values ?
What does the TIME parameter signify ? What does TIME=1440 mean ?
Write a jcl to execute a job by 7 a.m on Jan 20,1986 ?
We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?