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 |
How to find the length of variable length copybook using fileaid ??
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.
Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?
How do you submit JCL via a Cobol program?
What is the error code SOC01 indicate ?
What is the significance of addrspc parameter in exec statement?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
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
Explain about LMCLOSE�close a data set
How to submit a jcl from cics?
how can u understand ps and pds from their names ?
Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2