How can it be that message C1LB016C "member name contains invalid characters" arises only for some locations?
C1LB016C MEMBER NAME = member name CONTAINS INVALID CHARACTERS comes from Endevor/Lib (ELIB). This library structure is more restrictive than PDS regarding member names.
Member names in ELIB libraries can only contain uppercase letters (A-Z), digits (0-9), dollar sign (EBCDIC 0x5B), Numeral sign (0x7B) and 'at' sign (0x7C)
It may be misleading to get this message in the target stage of a MOVE action, but this may happen, for example, if
- The base library at the source stage is a PDS
- The base library at the target stage is an ELIB,
- The type definition sets that the base member name is not encrypted (so it matches the element name) and
- AND the element name contains lowercase characters