On Thu, 24 Dec 2020 16:02:07 -0500, Steve Thompson wrote:

>So write a PROC that puts INPUT with SYSUT1 and OUTPUT with SYSUT2. 
> 
I could imagine that nowadays TRSMAIN is merely an ALIAS entry point that
branches to AMATERSE with an alternate DDNAME list.

>I even took this a step further and had OUTPUT get deleted first before 
>AMATERSE. 
>
As in DISP=(MOD,DELETE)?  That might be a disservice to a programmer
who pre-allocates the data set with special SPACE, UNIT, VOL, BLKSIZE, etc.

And to what benefit, anyway?

I like to do such as:
    //HANDLE  DISP=(MOD,CATLG),DSN=&DSN,UNIT=SYSALLDA,SPACE=(CYL,(10,100)
    //OUTFILE  DISP=OLD,DSN=*.HANDLE,VOL=REF=*.HANDLE
... to reuse an existing data set if one is catalogued.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to