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

What does the keyword DCB mean and what are some of the keywords associated with it?

3 Answers   ITC Infotech,


What is a GDG? How is it referenced? How is it defined? What is a MODELDSCB?

3 Answers  


How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?

0 Answers   UHG,


SORT card to eliminate duplicity.

1 Answers   Syntel,


hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.

3 Answers  






i want to store 20 digits . how will u do it in cobol ?

0 Answers  


What you mean by skeleton JCl?

2 Answers  


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

0 Answers  


what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file

3 Answers   Virtusa,


I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.

3 Answers   Wipro,


what operation is performed by job statement?

0 Answers   IBM,


When we give TYPERUN = SCAN , what are the syntax errors we get?

5 Answers   Kanbay,


Categories