Description
|
This function allocates and concatenates the dataset name(s) listed to the DD name provided. If the 'ddname' DD is currently allocated, then datasets will be concatenated to the existing allocation. If the named dataset is already part of the DD name's concatenated list, no action will be taken. |
Syntax
|
EVORXALO('ddname','dsname'[,'dsname'...])
where:
ddname |
A 1-to-8-character symbolic DD name |
dsname |
A pre-existing and cataloged dataset name |
|
|
Return Value
|
A variable can be assigned to the command to hold one of these return texts:
OK
|
Allocations and/or concatenations were successful |
ERROR IN SPECIFYING FUNCTION
|
Incorrect parameter(s) specified |
ALLOCATE FAILED; RC - rc, REASON - reas
|
See the "DYNALLOC" entry in IBM z/OS MVS Programming: Authorized Assembler Services Guide for explanation of the return code and reason code |
|
|
|
CONCATENATE ERROR; RC - rc, REASON - reas
|
See the "DYNALLOC" entry in IBM z/OS MVS Programming: Authorized Assembler Services Guide for explanation of the return code and reason code |
DYNAMIC ALLOCATION INFORMATION PROBLEM WITH DDNAME
|
The ddname was freed prior to the addition of the dsname . Retry the allocation command. |
|
|
REXX Example
|
x = EVORXALO('MYLIB','TEST.JCL')
x = EVORXALO('DD1','TEST.LOADLIB1','TEST.LOADLIB2')
|