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  


How we can code in a jcl to execute a job in a particular time and date without using any job shudular?. (Eg) i want to execute a particular job at 8 am on 01/01/2010.

2 Answers   Target,


If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job

4 Answers   UST,


What does a disposition of (MOD,DELETE,DELETE) mean ?

0 Answers  


How to execute only th 15th step of JCL consisting of 50 steps?

12 Answers   Bank Of America,


SORT card to eliminate duplicity.

1 Answers   Syntel,


There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?

2 Answers  


What parameters can be used to limit the number of records written to a sysout dataset?

0 Answers  


wht happens if cond=true ? pls give me with an example ?

2 Answers   Syntel,


How to fetch even records from one file to another file by using ICETOOL in JCL?

3 Answers  


How can a fb file convert to vb file using sort program?

0 Answers  


how to split a file

4 Answers   IBM,


Categories