In a recent note, Steve Flynn said: > > FOO = "[EMAIL PROTECTED]@$]{1,8}?\." > Are minuscule alphabetics allowed in data set names?
And it depends on whether your site has disabled ICF catalog DSN validity checking, discussed here recently. And it depends on what language or interface to the OS you're using. Some languages impose restrictions beyond those imposed by the OS, particularly if DSN validity checking is disabled. And even in a single language, it may depend on context. JCL, for example, permits the '-' in a "DSN=" context, but not in a "DCB=" reference, IIRC. <ADVOCACY> These inconsistencies are the basis for an argument that DSN syntax checking should be performed only by the supervisor itself, not by the various interface layers. </ADVOCACY> What's your objective. It might be easier if you can use a difference of regular expressions in a boolean expression, e.g. /[EMAIL PROTECTED]/ ~ S && /.{45}/ !~ S && /[EMAIL PROTECTED]/ !~ S && /[EMAIL PROTECTED]/ !~ S && /[EMAIL PROTECTED]/ !~ S ... (untested) -- gil -- StorageTek INFORMATION made POWERFUL ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html