The BPXWDYN function, available in REXX, allows you to concatenate a list of
ddnames.
e.g.
call bpxwdyn "concat ddlist(somedd,dd1,dd2) msg(2)"
would concat dd1 and dd2 to somedd.
Bill
On Wed, 27 Feb 2008 14:28:24 -0600, Mark Zelden <[EMAIL PROTECTED]>
wrote:
>On Wed, 27 Feb 2008 14:34:32 -0500, Martin, Mike <[EMAIL PROTECTED]>
wrote:
>
>>All,
>>
>>
>>
>>(For "allocating" existing datasets) Can someone give an example of a
>>TSO ALLOCATE command that uses concatenated datasets, where one of the
>>datasets is NOT cataloged? Is it possible?
>>
>
>It's not possible with ALLOCATE by itself. But you can ALLOCATE an
>uncataloged data set by itself to a separate DDNAME and then use
>one of the "CONCAT" commands floating around to concatenate them
>together (see http://www.cbttape.org).
>
>Example:
>
>ALLOC FI(NOTCAT) DA('dsn.not.catalog') +
> SHR REUSE UNIT(SYSALLDA) VOL(vvvvvv)
>ALLOC FI(MYDD) DA('cat.dsn.#1' +
> 'cat.dsn.#2' +
> 'cat.dsn.#3') SHR REUSE
>CONCAT (MYDD,NOTCAT)
>OPENFILE MYDD INPUT
>...
>
>
>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