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 modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?
what is the difference between JES3 and JES2?
My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)
11 Answers HCL, IBM, L&T, TCS,
what are the statements that are not valid to be included in an include statement?
i have step1,step2,step3 from where can i start coding cond parameter ?
What is RESTART? How is it invoked?
What parameters can be used to limit the number of records written to a sysout dataset?
how to identify a vasam dataset by seeing in 3.4(browse)
A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?
Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?
How to find the number of duplicates in a file using Sort?
hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.