For those LMS statements which permit a second member designation in addition to the multiple selection, the designation of the second member can be constructed from the designation of the multiple selection.
Such a construction specification is possible with the following LMS statements:
ADD-ELEMENT
COMPARE-ELEMENT
COPY-ELEMENT
EDIT-ELEMENT
EXTRACT-ELEMENT
MODIFY-ELEMENT
MODIFY-ELEMENT-ATTRIBUTES
PROVIDE-ELEMENT
RETURN-ELEMENT
The construction specification is restricted to the member designation, i.e. to member name, version and type. This corresponds in the statements to the ELEMENT, VERSION and TYPE operands in the data structure LIBRARY-ELEMENT. In each case here likenamed operands, which are identified by means of certain wildcard characters (see “Syntax for construction specification” below), are mapped onto one another:
Multiple selection:
ELEMENT =*LIBRARY-ELEMENT(ELEMENT=...(VERSION=..),TYPE=...)
Construction specification:
TO-ELEMENT =*LIBRARY-ELEMENT(ELEMENT=...(VERSION=..),TYPE=...)
The syntax is described in section "Syntax description"ff.
Notes
The EXCEPT-ELEMENT operand is ignored for construction specifications.
If you use a wildcard in the selection specification, you will need to enter at least one wildcard in the construction specification. Entering *ALL in the selection specification has the same effect as a single asterisk (*) and thus requires a wildcard in the construction specification.
*ALL cannot be entered in the construction specification (except in COMPARE-ELEMENT).
(Example: *ALL->
*B* is equivalent to *->
*B*)