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 MAT TOTALS =
MAT DADVTOT =
MAT TOTALS =
---
u2-users mailing list
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 delay
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
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
-
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,
Variable DTOTAMT previously
undefined. Empty string used.
Was DTOTALS
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:
Check to see if there is a way to get to
TOTAMTTT+OFFSET=TOTAMTTT+OFFSET+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]
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,MAXADV)
DIM
-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,
Variable DTOTAMT previously
undefined. Empty
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,MAXADV)
DIM
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
12 matches
Mail list logo