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 |
What is RESTART? How is it invoked?
Hi Please try to be to-the-point. 1) How to INCLUDE a JCL segment in a JOB ? (A Small example) 2) What is SPOOL and what is SPOOL FULL ? and how to direct the output of a Jobstep to SPOOL ?
At what stage, operator can change the class and priority of a submitted job?
What are the jcl procedures?
What is COND=ONLY ?
what happens when time=0 is given in jcl code. what happens when blksize=0 is given in jcl code. what is symbolic and overriding parameters and a example program.
How do you submit a job for execution?
i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can u do this.
If we want to see the eliminated duplicate record thru SORT, how its output file will be managed
can we give instream data in procedure
I have a COBOL program that Accepts some input data. How do you code the JCL statement for this? ( How do you code instream data in a JCL? )
Differentiate between the joblib and the steplib statements?