can we maintain 2 generations with different Lengths in Same
GDG ?
Answer Posted / krishna
YES
by overideing the LENGTH PARAMETER of model dataset
SYNTAX:
//DD1 DD DSN=BASEG(+2),DISP=(NEW,CATLG,CATLG)
DCB=(MODELNAME, RECLNG="WHAT U WANT"
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
Is it possible to code instream data in a PROC?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
what is DD statement is used in JCL?
Explain the hierarchy levels in jcl?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
What are the rules employed while naming the steps in a job?
Explain about LMQUERY�give a dialog information about a data set
What is the significance of addrspc parameter in exec statement?
what is use of dcb parameter in dd statement?
Why include statement is used in a jcl?
Which dd parameters are required?
when can a job time-out occur? How to overcome that?