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 does jcl act on code(if you take a cobol program)?
Explain the purpose of dd dummy statement?
A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?
Explain how can values be passed from the job stream to an executable program?
how to allocate a dynamic dataset in jcl ?
wht do u mean by internal reader in jcl ? wht is the use of internal reader ?
How can a job send a status message to a tso user at the completion of a job?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
What is JOBLIB ?
how do u send return code from cobol to jcl ?
what is fixed length and variable length and difference between them
Can we Execute a job without specifying Job Name in the Job Card?