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
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
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
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
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
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
&
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
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
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
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:
.
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,
>
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
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
13 matches
Mail list logo