I once worked on a UV (SCO/Dell Poweredge) that was ported from a MCD that had a lot of IF E = 401, IF E = 201 etc. Come to think of it, every TCL statement generates an ERRMSG. They're just not all errors. "100 items selected" is stored in ERRMSG.
The ERRMSG dialect is evoked from the STOP databasic Statement. Does anyone know of any other way to evoke ERRMSG text. I've often wondered. thanks. ----- Original Message ----- From: "Glenn Herbert" <[EMAIL PROTECTED]> To: "U2 Users Discussion List" <[EMAIL PROTECTED]> Sent: Wednesday, February 04, 2004 9:17 AM Subject: RE: Memo: Re: [UD] Determining if list exists > At 06:34 PM 02/03/2004, you wrote: > >Goo'day, > > > >Are you sure the "IF E = 401" bit works in UV? > > This would not work within UV unless proc had been rewritten > (doubtful). The error handling within uv is different and this is one of > those areas affected by that difference. You can only test IF E or IF #E. > > > >AFAIK, in UV, E = 0 if there are no items SELECTed, at least in Pick > >flavo*u*r. > > Yep. > > > >The "401" bit is vanilla Pick, which I remember we had to change on > >conversion to UV back in 9.3???..... > > > >Dunno about UD, though > > > >At 10:06 04/02/04, you wrote: > > > >>In a proc you would have: > >>PQ > >>HSELECT SOMEFILE SAMPLE 3 > >>P > >>IF E = 401 G 99 > >>HLIST SOMEFILE > >>P > >>99 O No Items Selected > >> > >> > >> > >> > >> > >>__________________________________ > >>Do you Yahoo!? > >>Yahoo! SiteBuilder - Free web site building tool. Try it! > >>http://webhosting.yahoo.com/ps/sb/ > >>-- > >>u2-users mailing list > >>[EMAIL PROTECTED] > >>http://www.oliver.com/mailman/listinfo/u2-users > >> > >> > >> > >>-- > >>Incoming mail is certified Virus Free. > >>Checked by AVG Anti-Virus (http://www.grisoft.com). > >>Version: 7.0.211 / Virus Database: 261.8.1 - Release Date: 30/01/04 > > > >Regards, > > > >Bruce Nichol > >Talon Computer Services > >ALBURY NSW 2640 > >Australia > > > >Tel: +61 (0)411149636 > >Fax: +61 (0)260232119 > > > >If it ain't broke, fix it till it is! > > > >-- > >Outgoing mail is certified Virus Free. > >Checked by AVG Anti-Virus (http://www.grisoft.com). > >Version: 7.0.211 / Virus Database: 261.8.1 - Release Date: 30/01/04 > > > > > >-- > >u2-users mailing list > >[EMAIL PROTECTED] > >http://www.oliver.com/mailman/listinfo/u2-users > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users