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 |
Can a job have only steplib and no joblib ?
When space is allocated for an output dataset, what units can be used?
what happens in execution stage in job processing?
wt will happen to the step of a job if u code COND=ONLY
i have 10 steps in jcl program but i have to exicute only 2,4,6,8th and 10th ?how it's possible?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
What are steplib and joblib? What for they are used?
What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?
When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).
A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?
There are two input sorting files and there is a need to create one sort out file which contains data of both input files. What is the sort card for this. Write a sample JCL for this using a control card?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?