For those LMSCONV statements which permit a second member designation in addition to the selector, the designation of the second member can be constructed from the designation of the selector.
The constructor 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 like-named operands, which are identified by means of certain wildcard characters, are mapped onto one another.
The constructor syntax is described in the “SDF Dialog Interface” manual [20 (Related publications)].
Examples of constructors
The examples below illustrate how LMSCONV forms member names. The member type S is preset using the MODIFY-DEFAULTS statement. The individual examples are mutually independent, i.e. the result of one example is not used in another.
The following members are defined:
TYP NAME VER (VAR#) DATE NAME VER (VAR#) DATE (S) ABC 001 (0001) <date> ABCD 001 (0001) <date> (S) ABCDE 001 (0001) <date> X.1 001 (0001) <date>
Statement | Effect |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
At least one placeholder of the source member must be present in the constructor specification.
Several different input names may be mapped to the same output name. Depending on what has been set for the WRITE-MODE processing operand, the various data may be overwritten. Example: /A/ -> BA/. Both members XA1 and XA2 are mapped to BAX.
*ALL in the selector specification can be referenced with a * in the constructor specification just like the single asterisk (*) in the selector specification. *ALL in the constructor specification is not possible. Example: *ALL -> *B* means the same as * -> *B*