RE: [U2] getting undefined errors when varible look defined (UV/unix)

2004-12-21 Thread George Gallen
I will test this once I can get a chance. My main concern was that the MATing would delay the job, but if it eliminates all the undefined...which no one see's since it's a phantom process and the &PH& file gets cleared daily. Possibly all the writing of the "undefined..." to the &PH& also would del

RE: [U2] getting undefined errors when varible look defined (UV/unix)

2004-12-21 Thread George Gallen
2004 6:29 PM >To: [EMAIL PROTECTED] >Subject: RE: [U2] getting undefined errors when varible look defined >(UV/unix) > > >Hi George > >The dimensioned array probably has unassigned values in it. > >You can do a MAT statement to assign values to an array >Ie M

Re: [U2] getting undefined errors when varible look defined (UV/unix)

2004-12-20 Thread Louis Windsor
Everybody answered about clearing arrays etc but no-one (that I can see) said what the $Rnnn variable is. : > : > What is $R196? : > It is a temporary variable that the compiler uses for intermediate results. e.g. EX=123+234+345 The compiler breaks this down to:- add 123 and 234 into variable

Re: [U2] getting undefined errors when varible look defined (UV/unix)

2004-12-20 Thread Louis Windsor
Everybody answered about clearing arrays etc but no-one (that I can see) said what the $Rnnn variable is. : > : > What is $R196? : > It is a temporary variable that the compiler uses for intermediate results. e.g. EX=123+234+345 The compiler breaks this down to:- add 123 and 234 into variable

RE: [U2] getting undefined errors when varible look defined (UV/unix)

2004-12-20 Thread Tom Dodds
To: [EMAIL PROTECTED] Subject: RE: [U2] getting undefined errors when varible look defined (UV/unix) DTOTALS is a two dimensional array, which has been dimensioned, however, not all the slots have been filled. DIM TOTALS(MAXNOIR,MAXADV) DIM ADVTOT(MAXNOIR,MAXADV) DIM PRJTOT(MAXNOIR,MAXA

RE: RE: [U2] getting undefined errors when varible look defined ( UV/unix)

2004-12-20 Thread Kevin King
mic arrays, and not integer numbers. George >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Lee Bacall >Sent: Monday, December 20, 2004 5:40 PM >To: [EMAIL PROTECTED] >Subject: Re: [U2] getting undefined errors when varible look defined &

RE: [U2] getting undefined errors when varible look defined (UV/unix)

2004-12-20 Thread Alfke, Colin
Right, and the easiest way is to do a MAT DTOTALS = "" after the DIM statement. At least in UniData, hopefully in UV as well. hth Colin Alfke Calgary >-Original Message- >From: George Gallen > >DTOTALS is a two dimensional array, which has been dimensioned, > however, not all the sl

Unclassified RE: [U2] getting undefined errors when varible look defined (UV/unix)

2004-12-20 Thread HENDERSON MIKE, MR
004 12:15 To: [EMAIL PROTECTED] Subject: RE: [U2] getting undefined errors when varible look defined (UV/unix) DTOTALS is a two dimensional array, which has been dimensioned, however, not all the slots have been filled. DIM TOTALS(MAXNOIR,MAXADV) DIM ADVTOT(MAXNOIR,MAXADV) DIM PRJTOT(MA

RE: [U2] getting undefined errors when varible look defined (UV/unix)

2004-12-20 Thread Kathleené M Bodine
Check to see if there is a way to get to TOTAMT=TOTAMT+IVAL But by pass TOTAMT="" Unless we can see the full section of code that deal with it can not specify what is the cause but what causing the error. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [U2] getting undefined errors when varible look defined (UV/unix)

2004-12-20 Thread David Jordan
Hi George The dimensioned array probably has unassigned values in it. You can do a MAT statement to assign values to an array Ie MAT TOTALS = "" MAT DADVTOT = "" MAT TOTALS = "" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen Sent:

RE: [U2] getting undefined errors when varible look defined (UV/unix)

2004-12-20 Thread George Gallen
. George >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Lee Bacall >Sent: Monday, December 20, 2004 5:40 PM >To: [EMAIL PROTECTED] >Subject: Re: [U2] getting undefined errors when varible look defined >(UV/unix) > > >George, >

RE: [U2] getting undefined errors when varible look defined (UV/unix)

2004-12-20 Thread Kevin King
Are you MAT clearing your totals before filling them? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen Sent: Monday, December 20, 2004 3:20 PM To: Ardent List Subject: [U2] getting undefined errors when varible look defined (UV/unix) Here is

Re: [U2] getting undefined errors when varible look defined (UV/unix)

2004-12-20 Thread Lee Bacall
George, Variable "DTOTAMT" previously > undefined. Empty string used. Was DTOTALS assigned? Was DADVTOT assigned? If not, you are possibly attempting to assign one variable to another that has not yet been assigned. Here's a viable solution... IF NOT(ASSIGNED(DTOTALS)) THEN DTOTALS = 0 IF NOT(AS