On Fri, 11 Jan 2013 15:22:27 -0600, Paul Gilmartin <[email protected]> wrote:

>On Fri, 11 Jan 2013 15:03:51 -0600, Mark Zelden <[email protected]> wrote:
>
>>Well, I do see a typo in the DDname, which is one of the things I mentioned
>>in my last reply:
>>
>>> "EXECIO * DISKW DLBUT1 (OPEN)"
>>> "ALLOC DSNAME('"||dsname||"') DDNAME(BLDUT1) OLD "
>>
>I like to use, when convenient:
>
>    signal on novalue
>    call BPXWDYN( 'alloc rtddn(MYDD) ...' )
>    'EXECIO 1 DISKR' MYDD '(...'
>
>which makes such errors glaringly obvious.  It also avoids the need
>for random DD names which I've seen in some of your macros.  Let
>SVC 99 do the dirty work instead.
>

I'm not in love with BPXWDYN as much as you - only because I haven't
used it that much, but I'll keep that in mind if / when I have to make
any major updates.    All the random DD code predates BPXWDYN
and of course what works in one of my execs is easily cut/pasted
into another one.  :-)

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS       
mailto:[email protected]                                        
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html 
Systems Programming expert at http://expertanswercenter.techtarget.com/

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

Reply via email to