I have 5 generations in my GDG. How do I code in the JCL to
consider all the 5 versions of the GDG ?
Answer Posted / kabi
infile dd dsn=gdg base name,DISP=SHR----------Specify only
the GDG base name without any versionwe, have to mentioned
gdgbase then using SHR option.
Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
What is one line to pass PARM from JCL to COBOL?
How to run cobol program using jcl?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Is condition checking possible in jcl?
What is the function of dd disp parameter?
What is the purpose of the dd keylen parameter?
What is Cataloged Procedures?
A dd statement consists of 4 fields. Name them?
How can the disposition of sysout datasets be set for an entire jobstream?
How jcl is used for testing batch programs?
in ways data can be passed to a COBOL program from JCL?
Can an individual step be restricted from using all the jobs allowed cpu time?
Name a few IBM utility programs, and explain its function.
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?