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 |
How can the submitting users racf authority be overridden in a job stream?
A dd statement consists of 4 fields. Name them?
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 ?
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?
I have three files for one step i need to override the third file how to do that in jcl?
How are datasets concatenated?
Explain in DD statement what is the use of DCB parameter?
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
which statement is used to end the in-stream procedure in a jcl?
how to identify a vasam dataset by seeing in 3.4(browse)
explain concatinating datasets?
how you will define a temporary dataset in jcl?