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 |
when GDG version number get changed ? bcz always Generations only increasing.
How to execute step2,step1,step3 when step1,2&3 are in order
I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter
What are the parameter in the job card wihtout which job won't run........
What are the parameter we cannot use in procedure?
What dd statement is used to supply the name of a dataset?
Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
Can a job have only steplib and no joblib ?
What is the difference b/w the CLASS,TIME,PRTY in jcl job card.
how to run batch program without jcl?
how to run JCL thru COBOL.