It's unclear to me why you want to use a GDG at all. Or why you bother deleting and recreating it.
Your step (3) could simply be writing into GDG.NAME(0) with IEBGENER using DISP=OLD and with SYSUT1 as DD DUMMY and you'd accomplish pretty much the same thing as a delete/allocate. But if you must use GDGs, then your step 3 could submit another job to do the allocation, or you could use a job scheduler to run the allocation in a separate job after the deletion finishes. -- Walt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html