Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 to find the length of variable length copybook using fileaid ??

1 Answers   CSC,


WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.

1 Answers  


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

4 Answers   IBM,


How do you submit JCL via a Cobol program?

4 Answers   IBM,


What is the error code SOC01 indicate ?

5 Answers   Microsoft,






What is the significance of addrspc parameter in exec statement?

0 Answers  


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

0 Answers  


Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 DD1 DD DSN = &&TEMP STEP3 DD2 DD (i) DSN = TEMP (ii) DSN = *.TEMP (iii) DSN = *.STEP1.DD1 (iv) DSN = *.STEP1.DD1.ONE

8 Answers   IBM,


Explain about LMCLOSE´┐Żclose a data set

1 Answers  


How to submit a jcl from cics?

0 Answers  


how can u understand ps and pds from their names ?

1 Answers   TCS,


Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2

4 Answers   IBM,






Categories