In a recent note, Jim McAlpine said:
> Date: Fri, 26 Jan 2007 12:43:49 +0000
>
> We are now playing with calling Java from COBOL and need to concatenate some
> PATH definitions onto the SYSLIB definition. Is there a way to achieve
> this.
>
Yes. Abandon ALLOCATE and use BPXWDYN instead.
Use BPXWDYN( 'alloc {path|dsname}(...) ..' ) to allocate each
individual catenand.
Use the 'ddn(SYSLIB)' operand on the first catenand. Omit ddn
and use 'rtddn(varname)' to retrieve the generated ddname of
each subsequent catenand.
Use BPXWDYN( 'concat ddlist(list-of-catenand-ddnames' ) to
perform the final concatenation.
Linkname: Requesting dynamic concatenation
URL:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/BPXZB661/6.7
Title: z/OS V1R7.0 Using REXX and z/OS UNIX System Services
Document Number: SA22-7806-09
-- gil
--
StorageTek
INFORMATION made POWERFUL
----------------------------------------------------------------------
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