T.R | Title | User | Personal Name | Date | Lines |
---|
576.1 | Have you looked at the space for focstack/focsort? | MR4DEC::LCIONI | | Tue Feb 01 1994 13:45 | 9 |
|
How's your space for focsort and focstack in your area doing?
Are they fairly large so that you run out of space?
How are your account quotas for working set and enqueue ???
Just some things to try to look at.
Lisa Irish
|
576.2 | Let's see the code | RDGE44::ALEUC9 | ungry of 'orsham | Wed Feb 02 1994 03:17 | 9 |
| Hi Jane, howya doin'
(Standard IB Hotline response coming...)
Can you post the .fex & relavant .mas files ?
I'm on 844 3378 (Leatherhead) if you want to chat about it.
Paul K
|
576.3 | check the IF statement | SOLVIT::SMOLINSKI_J | | Wed Feb 02 1994 08:22 | 7 |
| I've had similar problems when I've had a very long IF statement. Try
cutting it down and see if it works. There have been times when I've
had to be very creative with IF statements.
I've never had a problem with the size of temp files.
Judi
|
576.4 | Alternative | PEKING::MCSHANEG | Deceptively Co-operative | Wed Feb 02 1994 18:56 | 23 |
| or...
Place the elements from the IF statement in a text file and FILEDEF
the text file, then reference the FILEDEF'd name in the FEX....saves on
an awful lot of OR's...
Gary.
$ CREATE LOOKUP.TXT
567894321
123456789
987654321
.
.
.
^Z
FILEDEF LOOKUP DISK LOOKUP.TXT
TABLE FILE blah
PRINT blah
IF DEC_NO EQ (LOOKUP)
END
|
576.5 | | RDGE44::ALEUC9 | ungry of 'orsham | Thu Feb 03 1994 02:28 | 24 |
| To add to Gary's suggestion...
1) I think the look-up file has to be sorted.
2) Certain characters cause Focus problems (I've recently found
that a "/" within the search string causes this method to fail)
3) If the list of values is higher than a certain byte limit (3200 comes
to mind, but that may be a limit from earlier versions), the method
will fail. To get round this use the following variation (assuming the
file LOOKUP has been created, sorted and FILEDEF'd as per -.1
DEFINE FILE X
Y/I1 = DECODE FIELDNAME(LOOKUP ELSE 1);
END
TABLE FILE X
....
IF Y EQ 0
...
(This construction generates a Y value of 0 if there's a hit on LOOKUP)
Hope that helps
Paul K
|