I didn't test the 401 on UV but it was a very popular item on MCD's back in
the day and i've got some UD that were clearly converted from MCD (Results)
and they work there. So, i may hae jumped the gun trying to remember which
is which. Also, maybe the flavor matters.

I do recall an ex client with UV having a lot of E tests but i don't have
any of it available at this time. Perhaps this indicates a need to be
platform specific or to retire the concept as it's scattered.

I just checked the ERRMSG file on a nearby D3 system and item 0 is for
automatic testing. Perhaps the implementation moved some ERRMSG items
around. 201 should be Filename? and 203 should be Itemname? 335 was the
initial logon message.

thanks.

----- Original Message -----
From: "Bruce Nichol" <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Thursday, February 05, 2004 12:12 AM
Subject: Re: Memo: Re: [UD] Determining if list exists


> Goo'day,
>
> 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

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to