It appears to be allowed, but it gets "corrected" and the data set deleted. 
 

2 //GETNO   EXEC PGM=ISFAFD
3 //ISFOUT   DD  DISP=(NEW,CATLG),                         
  //    SPACE=(TRK,(2,1)),RECFM=FB,LRECL=133,UNIT=SYSDA    
4 //ISFIN    DD  *                                         

STMT NO. MESSAGE                                                           
3 IEF648I INVALID DISP FIELD- PASS SUBSTITUTED             


2 //GETNO   EXEC PGM=ISFAFD
3 //ISFOUT   DD  DISP=(NEW,CATLG),DSN=&&LIST,              
  //    SPACE=(TRK,(2,1)),RECFM=FB,LRECL=133,UNIT=SYSDA    
4 //ISFIN    DD  *                                         
                                                 
STMT NO. MESSAGE                                                           
3 IEF648I INVALID DISP FIELD- PASS SUBSTITUTED             

Even going to a non-SMS volume, PASS gets substituted. 

Greg Shirey
Ben E. Keith Company 



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Tom Marchant
Sent: Monday, March 25, 2013 3:36 PM
To: [email protected]
Subject: Re: Dataset DELETE question : IEBFR14 vs IDCAMS


>>Now, go whack the person that wrote the JCL that has the following 
>>similarly coded DD statement:
>>
>>//SYSUT3  DD  UNIT=3390,SPACE=(CYL,10),DISP=(NEW,CATLG)

Has this ever been allowed?  ISTR that only PASS or DELETE are valid for a data 
set with a temporary dsname.  

<SNIP> 

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

Reply via email to