Re: Regular expression to define valid MVS dataset

2006-02-26 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 02/24/2006 at 01:42 AM, Steve Flynn [EMAIL PROTECTED] said: As Gilmartin says, it's trivially easy to define the DSN naming conventions as an RE, Restricting the length to 44 is the hard part. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position;

Re: Regular expression to define valid MVS dataset

2006-02-26 Thread Steve Flynn
On 26/02/06, Shmuel Metz (Seymour J.) [EMAIL PROTECTED] wrote: In [EMAIL PROTECTED], on 02/24/2006 at 01:42 AM, Steve Flynn [EMAIL PROTECTED] said: As Gilmartin says, it's trivially easy to define the DSN naming conventions as an RE, Restricting the length to 44 is the hard part. I do

Regular expression to define valid MVS dataset

2006-02-23 Thread Steve Flynn
Listers, -- Steve Despair - It's always darkest just before it goes pitch black... -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search

Regular expression to define valid MVS dataset

2006-02-23 Thread Steve Flynn
I'll try again, without hitting SEND immediately! 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... -- Steve Despair - It's always darkest just before it goes pitch black

Re: Regular expression to define valid MVS dataset

2006-02-23 Thread Binyamin Dissen
On Thu, 23 Feb 2006 13:12:44 + Steve Flynn [EMAIL PROTECTED] 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

Re: Regular expression to define valid MVS dataset

2006-02-23 Thread David Cole
22920FAX: 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

Re: Regular expression to define valid MVS dataset

2006-02-23 Thread Steve Flynn
On 23/02/06, Binyamin Dissen [EMAIL PROTECTED] wrote: On Thu, 23 Feb 2006 13:12:44 + Steve Flynn [EMAIL PROTECTED] 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

Re: Regular expression to define valid MVS dataset

2006-02-23 Thread Steve Flynn
On 23/02/06, David Cole [EMAIL PROTECTED] wrote: In addition, a dash (aka hyphen, minus sign) can be used anywhere a digit can (i.e. 2nd through 8th character within any qualifier). Bugger. Forgot about that too! -- Steve Despair - It's always darkest just before it goes pitch black...

Re: Regular expression to define valid MVS dataset

2006-02-23 Thread Paul Gilmartin
In a recent note, Binyamin Dissen said: Date: Thu, 23 Feb 2006 15:56:49 +0200 Can this be described as an RE? Since the language is finite, it's trivially possible to describe it as an RE. A better question is whether it's practical. -- gil -- StorageTek INFORMATION made POWERFUL

Re: Regular expression to define valid MVS dataset

2006-02-23 Thread Rob Scott
Remember also that single level dataset names are possible (depending on settings in your RACF-U-like product) Rob Scott Rocket Software http://www.rs.com/portfolio/mxi/ -- For IBM-MAIN subscribe / signoff / archive access

Re: Regular expression to define valid MVS dataset

2006-02-23 Thread Paul Gilmartin
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

Re: Regular expression to define valid MVS dataset

2006-02-23 Thread Steve Flynn
On 23/02/06, Paul Gilmartin [EMAIL PROTECTED] wrote: In a recent note, Steve Flynn said: FOO = [EMAIL PROTECTED]@$]{1,8}?\. Are minuscule alphabetics allowed in data set names? They are in my specific case. And it depends on whether your site has disabled ICF catalog DSN validity

Re: Regular expression to define valid MVS dataset

2006-02-23 Thread Bill Godfrey
On Thu, 23 Feb 2006 14:30:10 +, Steve Flynn [EMAIL PROTECTED] wrote: Speaking as somene who is learning RegExp's as he goes along I think; FOO = [EMAIL PROTECTED]@$]{1,8}?\. At this point I think I've covered the first qualifier... An ungodly mess if I ever saw one. Hope slips from my

Re: Regular expression to define valid MVS dataset

2006-02-23 Thread Ted MacNEIL
FOO = [EMAIL PROTECTED]@$]{1,8}?\. Actually, the above is incorrect. A. Is a valid dataset name under the above RE. - -teD I’m an enthusiastic proselytiser of the universal panacea I believe in! -- For IBM-MAIN subscribe

Re: Regular expression to define valid MVS dataset

2006-02-23 Thread Steve Flynn
On 23/02/06, Ted MacNEIL [EMAIL PROTECTED] wrote: FOO = [EMAIL PROTECTED]@$]{1,8}?\. Actually, the above is incorrect. A. Is a valid dataset name under the above RE. It's completely incorrect. I have further refined it, but my latest effort is still not up to scratch. As Gilmartin says,