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

COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT 0 and if we dont give COND, will step2 be executed ?

4 Answers   IBM,


What are the basic JCL Statements for a Job?

1 Answers  


Explain dfsort utility?

0 Answers  


Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?

7 Answers   IBM,


a job have 5 steps and it will executes a proc which have 5steps in it. now i have to execute step3 only when step2 of proc executes successfully

3 Answers  






can i sort packed decimal if i can tell the syntax

1 Answers   Barclays,


we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?

1 Answers   Fidelity,


Is condition checking possible in jcl?

0 Answers  


if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 error.

4 Answers   IBM,


A dd statement consists of 4 fields. Name them?

0 Answers  


hi iam learning mainframes,can anybody tell me how to check JCL errors.(after submiting the JCL we have check in spool or is there any other method)

8 Answers  


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)

2 Answers  


Categories