what are the symbolic parameters? why do we use symbolic
parameters ?
Answers were Sorted based on User's Feedback
Answer / fayazsha.,
//MYJOB JOB(P,U202,SH1),'FRANK SMITH',CLASS=A
//STEP1 EXEC PGM=PROGRAM1,SYSTEM=PROD,DEPT=INV,TYPE=DATA
//FILEIN DD DSNAME=&SYSTEM..&DEPT..&TYPE,DISP=SHR
//FILEOUT DD DSNAME=&SYSTEM..&DEPT..DATA,DISP=
(NEW,CATLG,DELETE),
// AVGREC=U,SPACE=(80,(100,20),RLSE),
// DCB=(LRECL=80,RECFM=FB)
A.Referring to the above coding, what is the effective
dataset name for the data definition FILEOUT?
PROD.INV.DATA
Here we are referring the symbolic variable with single &
Ampersand.
Is This Answer Correct ? | 51 Yes | 6 No |
Answer / abha
Example: If symbolic parameter is defined as CLASS=H
and later on in JCL we use SYSOUT=&&CLASS
At runtime SYSOUT=&&CLASS will be relaced by SYSOUT=H.
Hence here we have used CLASS as a symbolic paramter and
its usage is to increase maintainability because if later
we need to change the class it can be changed just at one
place instead of changing it at all the palces of it's
usage.
Is This Answer Correct ? | 38 Yes | 16 No |
how many types of sorts are there in jcl?
what is the COND=EVEN ? Can anyone give me an example to explain the usage.
What is STEPLIB, JOBLIB? What is it used for?
What do you know about jcl?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
define cond parameter in jcl?
I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
how can u identify the db2 from jcl ?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
delete rules in db2
Write a jcl to execute a job by 7 a.m on Jan 20,1986 ?