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?
what is use of disp parameter in dd statement?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
How can values be passed from the job stream to an executable program?
Is Default for MSGCLASS = (1,1) ?
When cursor is not closed what is the error?
How do you create a temporary dataset?
What is a MODEL Paramater in GDG ?
How much is memory space involved, when we code BLOCKSIZE,TRK & CYL ?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
In one of intervie, my interviwer asked, I have a file which contains 4 records I would like to split the 4 different outputs for each record how to do?
14 Answers Cap Gemini, Cognizant, JPMorgan Chase, TCS, Xansa,
what is the purpose of coding class parameter in job statement?