how can we override data definitions in jcl.
can any one give detailed example
Answer Posted / 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 |
Post New Answer View All Answers
What parameter directs the output of the job log dataset?
what is use of disp parameter in dd statement?
Explain how can a stopped job be started again?
Name a few IBM utility programs, and explain its function.
What is jcl in mainframe?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Mention the types of job control statements?
How can a fb file convert to vb file using sort program?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
Where can program checkpoints be stored for use in a restart?
What is the difference between the positional and keyword parameters? Give examples.
what is “Cond= even” and “Cond=only”?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
How dummy is used in jcl?