I have a question regarding member naming rules. This official manual says:
PDS member naming rules
* A member name cannot be longer than eight characters.
* The first member character must be either a letter or one of the following three special characters: #, @, $.
* The remaining seven characters can be letters, numbers, or one of the following special characters: #, @, or $.
* A PDS member name cannot contain a hyphen (-).
* A PDS member name cannot contain accented characters (à , é, è, and so on).
ISPF doesn't allow me to create a member with a name containing '-', '^', '&' or the like or rename a member to such name. BUT if I use some custom-written program that does not check the name, I can create such members without any problems, then list them with ISPF, view, edit etc. as if everything was OK.
The question is: can I assume that those "invalid" names will normally work and the naming rules are just recommendations, or should I try to avoid them and carefully validate every name in my programs to prevent them from being created?
Thanks.