Probably true for the OS itself but CA-1, for example, has been known to
complain, properly in my opinion, about input datasets with DISP=NEW.

-----Original Message-----
From: Gilbert Saint-Flour [mailto:snip] 
Sent: Monday, January 08, 2007 12:45 PM
To: [email protected]
Subject: Re: IEBGENER and unlabled tape

On Monday 08 January 2007 14:40, Barry A Schwarz wrote:

> You have an implied DISP=(NEW,DELETE). IEBGENER may not like that for 
> SYSUT1 which is input.
> Add DISP=OLD to your JCL. 

If I'm not mistaken, you do NOT need to code DISP for a tape.  
What's important is the type of OPEN issued by the program.
If the program issues OPEN for INPUT, then a volser must be present on
the DD statement (or in the JFCB if OPEN TYPE=J).
If the program issues OPEN for OUTPUT, then a volser is not required -
if it's missing, a SCRTCH or PRIVAT volume will be requested in the
MOUNT message.

Additionally, if LABEL is NL, LTM or BLP, then DSN is NOT required, as
the system will provide a temporary data set name (a previous poster
incorrectly suggested that DSN had to be specified).

----------------------------------------------------------------------
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