I'm not clear on what you are doing here.  Are you saying this is somehow a 
replacement for this?

//REUSE   EXEC PGM=IEFBR14
//MYFILE  DD DSN=MY.FILE,SPACE=(0,0),DISP=(MOD,DELETE)
//MYPGM   EXEC PGM=MYPGM
//MYFILE  DD DSN=MY.FILE,SPACE=(CYL,(100,10),RLSE),DISP=(NEW,CATLG)

How would this look using your method?

Thanks,
Frank




>________________________________
> From: Paul Gilmartin <[email protected]>
>To: [email protected] 
>Sent: Friday, February 24, 2012 12:24 AM
>Subject: Re: Thought: new DISP "status" function
> 
>On Thu, 23 Feb 2012 13:44:18 -0800, Frank Swarbrick wrote:
>
>>I'd much prefer the latter, but of course have no idea how much work it would 
>>be.
>>
>>What is your 'driver' for wanting this feature?  Mine is to eliminate the 
>>requirement of the separate IEFBR14 to do a MOD,DELETE prior to doing a NEW.  
>>Honestly have a hard time understanding how MVS has gone this long with that 
>>kludgey (IMHO) behavior, but...
>>
>You don't need a separate IEFBR14 nor the overhead of DELETE and
>re-create.  On occasion, I've done:
>
>        ...
>    //REUSE    DD  DISP=(MOD,CATLG),UNIT=SYSALLDA,SPACE=...,...
>    //SYSUT2   DD  DISP=OLD,DSN=*.REUSE,VOL=REF=*.REUSE
>        ...
>
>-- gil
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [email protected] with the message: INFO IBM-MAIN
>
>
>

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

Reply via email to