I tested this solution and passed it to other programmers.

I changed it as follows:
OUTDSN,'UMSDEV.QA04.CPRSFULL.OUT'                          
* SET OUTPARMS TO THE UNIT, SPACE AND DISP PARAMETERS YOU  
* WANT FOR EACH OUTPUT DATA SET.                           
OUTPARM1,'UNIT=3390,VOL=SER=DBS504,DISP=(NEW,CATLG,DELETE)'
OUTPARM2,'AVGREC=U,SPACE=(111,(100000))'                   

The space allows each of us to make minimal changes - just the record
size.   The OUTDSN allows the output to be cataloged (Frank had &&OUT
here, which was fine for testing).

And I also added an IEFBR14 to the envelope JCL with a slew of IEFBR14
deletes:
//SPLITFL    DD DSN=UMSDEV.QA04.CPRSFULL.OUT001, 
//             DISP=(MOD,DELETE),SPACE=(TRK,0)   
//SPLITFL    DD DSN=UMSDEV.QA04.CPRSFULL.OUT002, 
//             DISP=(MOD,DELETE),SPACE=(TRK,0)   
...

I thought about including this in the created JCL - but I don't want
to delete the exact number being recreated - it would be confusing to
have an older OUT015 after a new OUT014 file.   So let's delete every
version.  

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to