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 are the ways of passing data to a cobol program from jcl?

1 Answers   IBM,


a input file contains 1000 records, how to move the first 500 record into one out put file and how to move to second 500 records to anothere output file

6 Answers   ITC Infotech,


I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.

2 Answers   Syntel,


I had 100 steps in jcl i want to execute first 10 steps only?

6 Answers   IBM,


What is the function of //cntl statement?

0 Answers  






How to execute 2nd and 4th steps among 5 steps in jcl proc?

0 Answers  


Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 Answers  


define cond parameter in jcl?

0 Answers   IBM,


describe the job statement, its meaning,syntax and significant keywords?

1 Answers  


When output dataset space is required, what quantity categories are used?

0 Answers  


How jcl is used for testing batch programs?

0 Answers  


The maximum number of in-stream procedure you can code in any JCL is ?

5 Answers  


Categories