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 |
I have a job (4 steps) with time parameter coded in job & exec, say time=10 in job & time =3,2,2,4 in each steps. Will the job executes successfully?
HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?
which are the parameters mandatory in job card ?
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
There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
In how ways you can pass the data from Jcl to cobol ?
which utility is used a dummy utility?
How jcl is used for testing batch programs?
how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?
restart logic ?
How to get cursor position from system in CICS environment ?
I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)