how can we override data definitions in jcl.
can any one give detailed example
Answers were Sorted based on User's Feedback
Answer / meenu
CODE:STEPNAME.DDNAME DD PARAMETERS;
in place of parameters we can write the parameters which we want to override
Is This Answer Correct ? | 13 Yes | 0 No |
Answer / suputhru
meenu u r corrrrect.
STEPNAME.DDNAME DD PARAMETERS;
in place of parameters we can write the parameters which we want to override
//PROC1 PROC
//STEP1…..
//DD1 DD DSN=FILE1,DISP=SHR
…
…
//
Now we can override dd parameter disp=shr to DISP=OLD.
//JOB1 JOB..
//PROCLIB…
//STEP001 EXEC PROC1
//STEP1.DD1 DD DSN=FILE1,DISP=OLD.
SYMBOLIC parameters: used to orverride parameters on the DD statement.
They can be used in cataloged and instream procs.
//ddname DD ¶meter
Values assigned at proc and exec statements.
//JOB1 JOB..
//PROC1 PROC DISPO=NEW ----here dd parameter value assigned at proc.
//STEP1 EXEC PROC1
//DD1 DD DSN=FILE1,DISP=&DISPO ------it means DISP=NEW.
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / sj@iy
Adding to that..
Parameters can be overridden on the EXEC statement in
addition to the DD statement.
Sample for overriding REGION parameter of STEP10 in PROC
//STEP10 EXEC PGM=Program1, REGION=56K
//*Overriding the REGION parameter for STEP10
//SAMPPROC EXEC PROC=PROC1, REGION.STEP10=72K
Is This Answer Correct ? | 1 Yes | 3 No |
What are three parameters you can specify on Job statement as well as on exec stmt ?
What all are the changes to be made in JCL so as to do testing?
How many instream we can write in single jcl?
if time parameter is not coded on the job card and job step then what is the default time assigned to the entire job and for each step in the job by the systyem ?
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.
when we use sysprint and sysout statements
What is the difference between run mode and addressing mode?
The maximum number of in-stream procedure you can code in any JCL is ?
What are the jcl procedures?
what is the use of temporary files?
How many positional parameters are there in job statement?
Describe the JOB statement, its meaning, syntax and significant keywords?