In addition, a dash (aka hyphen, minus sign) can be used anywhere a digit can (i.e. 2nd through 8th character within any qualifier).

Dave Cole              REPLY TO: [EMAIL PROTECTED]
Cole Software          WEB PAGE: http://www.xdc.com
736 Fox Hollow Road    VOICE:    540-456-8536
Afton, VA 22920        FAX:      540-456-6658



At 2/23/2006 08:56 AM, BDissen wrote:
On Thu, 23 Feb 2006 13:12:44 SFlynn wrote:
I was after a regular expression to define a valid MVS dataset name. Does anyone have something to hand? I can't find anything in the archives...

Don't know RE's but.....

  - Maximum length 44

- Structure is FOO followed by ("." FOO) from zero to 21 times (21 times making up the 44 character length)

  - FOO is one to eight characters

  - First character is Alphabetic or #$@

  - Second to eighth is alphabetic [EMAIL PROTECTED] or numeric

  - Can this be described as an RE?

--
Binyamin Dissen <[EMAIL PROTECTED]> http://www.dissensoftware.com
Director, Dissen Software, Bar & Grill - Israel

----------------------------------------------------------------------
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

Reply via email to