If certain members are to be selected in the LMSCONV statements for processing, this can be done in two ways:
through the use of “wildcard” specifications in the ELEMENT, VERSION and TYPE operands.
The “wildcard” syntax is described in the “Commands” manual [1 (Related publications)].
It is also possible to use the keyword *ALL for an individual asterisk (*) in the operands ELEMENT, VERSION and TYPE.
Negative selection, i.e. exclusion of members, can also be effected through the use of the minus sign.
through the qualification of attributes, e.g. date and time.
Examples of selectors
Selectors
ELEMENT=AB/C*
All members whose names begin with AB, have any character in the 3rd, and a C in the 4th position are selected. The contents as of the 5th position are freely selectable.
ELEMENT=<:999>(VERSION=B*)
All members having a name length of up to 3 characters and with a B in the first position of the version are selected.
ELEMENT=*(VERSION=*), CREATION-DATE=*INTERVAL(FROM=2016-01-01)
All members entered since 1.1.2016 are selected.
ELEMENT=AB*(VERSION=*HIGHEST-EXISTING)
The highest version of all members whose name begins with AB is selected each time.
Selectors with limiting values
ELEMENT=A*(VERSION=*HIGHEST-EXISTING),USER-DATE=*INTERVAL(TO=2016-12-31)
All members of the highest version whose names begin with A and which have a date earlier than 1.1.2017 are selected.
ELEMENT=AB<:9>(V=107)
All members whose names begin with AB, are up to 3 characters long and have the version 107 are selected.
Multiple selection with members for exclusion
ELEMENT=-ABC
All members except member ABC are selected.
TYPE=-S
All members whose names begin with A and whose versions do not begin with B are selected.