On Fri, 9 May 2008 16:02:56 -0500, Ron MacRae <[EMAIL PROTECTED]> wrote:

>Ladies and gents,
>
>If I want to ALLOCATE an uncataloged dataset in a rexx exec I can issue -
>"alloc dataset('DSN1') file(MYDD) volume(VOL1) shr".
>
>How do I ALLOCATE multiple uncataloged datasets?
>"alloc dataset('DSN1' 'DSN2') file(MYDD) volume(VOL1 VOL2) shr"
>doesn't work.
>
>If I allocate either file individually I get the correct, uncataloged, files
>allocated.
>If I allocate both together I get the cataloged versions.
>
>What am I doing wrong?
>How do you allocate multiple uncataloged versions of datasets?
>

You can use BPXWDYN or one of the CONCAT commands floating around.

This has been discussed several times recently.  Search the archives.

Mark
--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group - ZFUS G-ITO
mailto:[EMAIL PROTECTED]
z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

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