What are multiple symbolic parameters. Can we have multiple symbolic parameters in asingle JCL. If so kindly explain with an example

Questions by sdresh   answers by sdresh

Showing Answers 1 - 3 of 3 Answers

The symbolic parameters are used to override an EXEC or DD statements' keyword pameters value. We can use multiple symbolic parameters as we have many keyword parameters in both the statements. Normally when we call a procedure to be executed there we use this parameters. Its a logical name preceded with a '&' symbol.

Eg:
 
//MYPROC PROC  A=USER02, B= 3390
//STEP01 EXEC PGM=IEFBR14
//DD1 DD DSN=KISHORE.KUMAR.JCLS,DISP=(NEW,CATLG,DELETE)
//             VOL=SER=&A
//             UNIT=&B
//            PEND 
//.......................
//.......................
//.......................
//STEP05 EXEC PROC=MYPROC, A=USER04,B=3380

From the above example we understand that we override the existing value of A with a new value that is USER04 instead of USER02.

I hope this would be helpful.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions