How to pass the parameter in parm using linkage section ? (syntax)?



How to pass the parameter in parm using linkage section ? (syntax)?..

Answer / Amit Pant

In JCL, parameters can be passed using the LINKAGE SECTION with a suitable PARAMETER clause. The syntax for passing a parameter using linkage section is as follows:

//STEPLIB(libname) libref(mylib)
//PARM(parameter1=value1, parameter2=value2)

where 'libname' is the name of the library containing the JCL steps, 'libref' is the library reference, and 'parameter' is the name of the parameter with its corresponding value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

How can the submitting users racf authority be overridden in a job stream?

1 Answers  


A dd statement consists of 4 fields. Name them?

1 Answers  


Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?

1 Answers   IBM,


If the proc stepname is excluded while overriding the COND, TIME, REGION and PARM parameters while calling the proc, will the override only apply to the first step in the proc or all the steps for all the above parameters?

2 Answers  


I have three files for one step i need to override the third file how to do that in jcl?

1 Answers   UST,


How are datasets concatenated?

3 Answers   CitiGroup,


Explain in DD statement what is the use of DCB parameter?

1 Answers  


Current version of GDG is ID.GDG.FILE.G0001V00. JCL has procedure with 2 steps like below,  What will be the output file name in each step ?  PROC starts      Step 1 has ID.GDG.FILE(+1)      Step2 has  ID.GDG.FILE(+4) PEND Similarly, JCL has 2 steps in 2 separate procedure. What will be the output file names here ?  PROC starts      Step 1 has ID.GDG.FILE(+1) PEND PROC1 starts      Step2 has  ID.GDG.FILE(+4) PEND

2 Answers   FIS,


which statement is used to end the in-stream procedure in a jcl?

1 Answers   IBM,


how to identify a vasam dataset by seeing in 3.4(browse)

5 Answers   Cap Gemini,


explain concatinating datasets?

1 Answers  


how you will define a temporary dataset in jcl?

1 Answers   IBM,


Categories