The CONCAT command either permanently or temporarily concatenates a list of ddnames to the first ddname specified. If you specify PERMANENT(YES), the concatenation is permanent and may not be deconcatenated. The default is NO.
This command has the following format:
ADDRESS OPSDYNAM "CONCAT keywords" [FILE|DDNAME(ddname1,ddname2,…ddname65)] [PERMANENT(YES|NO)] [DELAY] [CMDRESP(type)] [MSG(ON|OFF)]
(Optional) Defines a list of currently allocated ddnames that are to be concatenated to the first ddname. A maximum of 65 ddnames may be specified.
(Optional) Specifies whether the allocation will be deallocated to meet the control limit.
(Default) Specifies the allocation will not be deallocated by the system to stay in the control limit of the number of dynamically allocated data sets specified by the DYNAMNBR parameter on the JCL EXEC statement.
Specifies the system deallocates this data set when it is not in use to meet the control limit.
The following common keywords may be specified for the CONCAT command:
(Optional) You may specify the DELAY, CMDRESP, and MSG keywords described in Keywords Common to All ADDRESS OPSDYNAM Commands in this chapter.
Example: OPSDYNAM CONCAT
The following temporarily concatenates data sets to the ddname of an old rule:
/* Temporarily concatenate the data sets to the oldrule ddname */
"Concat DD(oldrule newrule)"
If rc > 0 Then Signal DYNERROR
Return rc
DYNERROR:
Say Sourceline(sigl-1)
Say "OPSDYNAM error RC="rc "Error code="opsercd,
"Info code="opsifcd
Do While Queued() > 0
Pull errsmg
Say errmsg
End
Return rc
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |