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

how many types of sorts are there in jcl?

2 Answers   IBM,


what is the COND=EVEN ? Can anyone give me an example to explain the usage.

2 Answers  


What is STEPLIB, JOBLIB? What is it used for?

2 Answers  


What do you know about jcl?

0 Answers  


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

0 Answers  






define cond parameter in jcl?

0 Answers   IBM,


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.

5 Answers   Bank Of America,


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?

0 Answers   IBM,


how can u identify the db2 from jcl ?

2 Answers   TCS,


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

0 Answers  


delete rules in db2

1 Answers   Keane India Ltd,


Write a jcl to execute a job by 7 a.m on Jan 20,1986 ?

5 Answers   Maples, Patni, TCS,


Categories