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)

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the jcl exec statement?

649


How to do automated restart when a job abend?

791


What does a disposition of (new,catlg,keep) for a dsn mean?

617


What is the purpose of the dd keylen parameter?

724


What are the rules employed while naming the steps in a job?

662






What are some jcl statements that are not allowed in procedures?

728


What is condition checking in jcl? Is this possible?

628


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

654


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

860


What is concatenating?

637


Is their any limit for data sets?

704


How jcl is used for testing batch programs?

721


which utility is used to sort a file in jcl?

750


What is the purpose of disp parameter?

645


What is the significance of addrspc parameter in the exec statement?

620