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


Please Help Members By Posting Answers For Below Questions

What is one line to pass PARM from JCL to COBOL?

859


How to run cobol program using jcl?

655


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

1041


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?

1619


Is condition checking possible in jcl?

722






What is the function of dd disp parameter?

659


What is the purpose of the dd keylen parameter?

726


What is Cataloged Procedures?

715


A dd statement consists of 4 fields. Name them?

933


How can the disposition of sysout datasets be set for an entire jobstream?

844


How jcl is used for testing batch programs?

722


in ways data can be passed to a COBOL program from JCL?

669


Can an individual step be restricted from using all the jobs allowed cpu time?

1011


Name a few IBM utility programs, and explain its function.

4440


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

713