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 |
How Can we see all generations of a GDG ?
Can we delete the data using IEFBR14 , IEBGENER??
Explain COND used in JCL?
what is d/f b/w sysout & sysprint
Is their any limit for data sets?
how do you access an uncataloged dataset in a jcl?
GDG Create syntax ?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?
What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
Can a PS file be read in reverse order?If so,how