what are the symbolic parameters? why do we use symbolic
parameters ?

Answers were Sorted based on User's Feedback



what are the symbolic parameters? why do we use symbolic parameters ?..

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

what are the symbolic parameters? why do we use symbolic parameters ?..

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

Post New Answer

More JCL Interview Questions

when GDG version number get changed ? bcz always Generations only increasing.

1 Answers   Cap Gemini,


How to execute step2,step1,step3 when step1,2&3 are in order

6 Answers   TCS,


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

8 Answers  


What are the parameter in the job card wihtout which job won't run........

10 Answers   IBM,


What are the parameter we cannot use in procedure?

0 Answers  






What dd statement is used to supply the name of a dataset?

0 Answers  


Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?

4 Answers   IBM,


why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two

1 Answers   IBM, Perot Systems,


Can a job have only steplib and no joblib ?

6 Answers  


What is the difference b/w the CLASS,TIME,PRTY in jcl job card.

4 Answers   Syntel,


how to run batch program without jcl?

3 Answers   HSBC, IBM,


how to run JCL thru COBOL.

1 Answers   Patni,


Categories