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

Answer Posted / bobie kamahuha bobzy

Do the following;

//p gxxxxxx
gxxxxxx
gxxxxxx
gxxxxxx
gxxxxxx
gxxxxxx
// gxxxxxx



Make sure the *//* are properly arrigned

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the statement which can be used to send data to another mvs jes3 node?

597


How can an in-stream dataset be terminated?

844


Explain in DD statement what is the use of DCB parameter?

652


How to do automated restart when a job abend?

787


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

726






What are the difference between jcl and jes?

1048


What is the purpose of disp parameter?

635


When space is allocated for an output dataset, what units can be used?

740


Is there any command to check wether the ps file is in sorted order?

2426


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7076


How jcl work to handle various input output file operations?

656


what is the resolution for sb37 error

7696


Which statement is used to identify the private libraries in job?

674


How to execute 2nd and 4th steps among 5 steps in jcl proc?

747


What is jcl in mainframe, and how many types of jcl statements are there for a job?

628