Can we DELETE all the Generations of a GDG at once, WITHOUT
deleting the GDG itself ?

Answer Posted / sam

I am facing problems while deleting all GDG versions except
base using IEFBR14. My job fails when I try to execute
IEFBR14 with my GDG base having no versions, causing
problems in my job flow.

I want to delete all gdg versions if they exist otherwsie
my job should execute fine.

Can anyone suggest solution for this?

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a fb file convert to vb file using sort program?

807


Is condition checking possible in jcl?

722


Explain how can a stopped job be started again?

640


What is the function of //jcllib statement?

813


what is the use of IEBGENER utility?

662






How can return codes be tested before execution of a job step?

929


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.

1738


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

623


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

1487


What do you understand by jcl?

632


Explain the function of //jcllib statement?

708


Define concatenating?

669


Mention the types of job control statements?

690


Can we call instream to catalog and catalog to instream?

685


How would you understand error(execution phase)?

635