How to delete generations of gdg without deleting gdg base?
Answer Posted / naresh
using IEFBR14 you can delete all gdg versions without
deleting GDG Base
see below details
//STEP2 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=A
//GDGDEL DD DSN=NBKRELQ.GDG.BASE,DISP=
(SHR,DELETE,DELETE),
// SPACE=(TRK,0)
with same utility you can delete a specifi GDG version aslo
just you need to change DSN name and DISP to DISP=
(MOD,DELETE,DELETE)
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
List the different components of jcl statement?
How can the attributes of one sms dataset be copied to another dataset?
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
What is the purpose of disp parameter?
List in order the hierarchical levels of jcl?
Is automatic restart possible in jcl?
What are the difference between jcl and jes?
How can a stopped job be started again?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
How is the record format of an output dataset specified?
when does a dataset go uncataloged?
What are s0c1, s0c4, s0c5, s0c7 and socb?
What do you understand by the terms: joblib and steplib?
i want to store 20 digits . how will u do it in cobol ?
What is catelog procedure and how many catelog procedure to use in one job?