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 |
How can i execute 5th step without executing first 4 steps?
How we can code in a jcl to execute a job in a particular time and date without using any job shudular?. (Eg) i want to execute a particular job at 8 am on 01/01/2010.
If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job
What does a disposition of (MOD,DELETE,DELETE) mean ?
How to execute only th 15th step of JCL consisting of 50 steps?
SORT card to eliminate duplicity.
There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?
What parameters can be used to limit the number of records written to a sysout dataset?
wht happens if cond=true ? pls give me with an example ?
How to fetch even records from one file to another file by using ICETOOL in JCL?
How can a fb file convert to vb file using sort program?
how to split a file