Re: TSO ALLOC concat using VOLSER?



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 <mark.zelden@xxxxxxxxxxxx>
wrote:

On Wed, 27 Feb 2008 14:34:32 -0500, Martin, Mike <Mike.Martin@xxxxxxxxxx>
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:mark.zelden@xxxxxxxxxxxx
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 listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: TSO ALLOC concat using VOLSER?
    ... TSO ALLOCATE command that uses concatenated datasets, ... It's not possible with ALLOCATE by itself. ... one of the "CONCAT" commands floating around to concatenate them ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
    (bit.listserv.ibm-main)
  • Re: TSO ALLOC concat using VOLSER?
    ... the catalog. ... TSO ALLOC concat using VOLSER? ... I haven't tried this, but I believe that if you allocate the uncataloged dataset prior to allocating the concatenation, then it will be found. ...
    (bit.listserv.ibm-main)