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



A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC&q..

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

A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC&q..

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

Post New Answer

More JCL Interview Questions

How can i execute 5th step without executing first 4 steps?

4 Answers  


what is use of disp parameter in dd statement?

0 Answers   IBM,


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

0 Answers  


How can values be passed from the job stream to an executable program?

0 Answers  


Is Default for MSGCLASS = (1,1) ?

2 Answers   IBM,






When cursor is not closed what is the error?

3 Answers   IBM,


How do you create a temporary dataset?

0 Answers  


What is a MODEL Paramater in GDG ?

2 Answers   Xansa,


How much is memory space involved, when we code BLOCKSIZE,TRK & CYL ?

1 Answers  


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

0 Answers  


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?

0 Answers   IBM,


Categories