Well................................ I don't know......keep reading....
At 11:05 04/02/04, you wrote:
The E=401 is a test to see if a process generated an ERRMSG record, item-id of 401. The ERRMSG file had its own syntax of displaying the messages with the parameters, but i'm sure it's a long lost art. Sort of like RUNOFF and BATCH. GFE (Gone ForEver).
Look at this:
>CT MD U2.TEST
U2.TEST 0001 PQ 0002 HSELECT MD WITH F1 "RUBBISH" 0003 STON 0004 P 0005 IF E = 401 GO 10 0006 IF E = 0 GO 20 0007 HLIST MD F1 0008 P 0009 G 99 0010 10 C 0011 O 401 HIT! 0012 G99 0013 20 C 0014 O 0 HIT! 0015 99 C 0016 X >U2.TEST
0 record(s) selected to SELECT list #0. 0 HIT! >
As I said earlier (below), we had to replace all of *our* PROCS with "IF E = 401...."s with "IF E = 0 ...." to get them to work.
The same applies (here) with a BASIC program that : 0011 SENTENCE = \SELECT MD WITH F! "RUBBISH"\ 0012 EXECUTE SENTENCE CAPTURING JUNK RETURNING ERR
In this case ERR = 0 if there's no items, not 401 under vanilla (R83, AP) Pick
Unless...... Is there a UV Option (besides "Pick Flavo*u*r) that gives back a "401"??
----- Original Message ----- From: "Bruce Nichol" <[EMAIL PROTECTED]> To: "U2 Users Discussion List" <[EMAIL PROTECTED]> Sent: Tuesday, February 03, 2004 6:34 PM Subject: RE: Memo: Re: [UD] Determining if list exists
> Goo'day, > > Are you sure the "IF E = 401" bit works in UV? > > AFAIK, in UV, E = 0 if there are no items SELECTed, at least in Pick flavo*u*r. > > 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
-- Incoming mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.211 / Virus Database: 261.8.2 - Release Date: 03/02/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.2 - Release Date: 03/02/04
-- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users