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 |
Max generations in GDG??
how to split a file
Can a PROC CALL another PROC ? (in both Instream and Cataloged cases) ?
Can we give two user name in NOTIFY parameter in JOBCARD
What do you understand by the term notcat 2 – gs?
Can we change a FB file to VB file in JCL? Please help
What is the format of comment statement?
//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?
What is job control language?
How different is the JCL executing a COBOL program? 1) if the program is using VB file as input. 2) if the program is using FB file as input.
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
What is QSAM error usually when it is occurs?