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 are the 4 fields in dd statement?

728


What is job control language?

601


whats the diff bw the evaluate also and and?

1841


how can the same proc be re-used and called by many jobs?

895


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1973






What is the function of the dd dcb keyword?

810


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

800


What are steplib and joblib? What for they are used?

679


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

353


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1938


what are the various stages of job processing?

726


Define concatenating?

652


what is the use of IEBGENER utility?

648


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.

1722


What are the utility programs in jcl?

636