how to see the latest generation in gdg?

Answer Posted / vssd

GDG(0) gives the latest generation.

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

1733


Explain the hierarchy levels in jcl?

1120


Explain dd statement in jcl?

644


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

1486


how JCL works?

797






What is the function of the dd dcb keyword?

828


Is automatic restart possible in jcl? If yes, how?

658


when does a dataset go uncataloged?

839


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

1933


What are the difference between jcl and jes?

1050


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1753


Is it possible to left uncode disp? If yes, how?

708


List in order the hierarchical levels of jcl?

670


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

804


How to submit jcl through a cobol program?

679