I am reading dynamically from a flat file which has LRECL of 134, when I am using -READ FIL1 &PREV1 &PREV2 &PREV3 then to continue to read in the same order I need the continuation charactor which I am really not aware of.
Please advice.
ThanksThis message has been edited. Last edited by: Kerry,
FOCUS 7.6.11 Windows, Excel, LOTUS, ALPHA
October 12, 2011, 09:09 AM
Ian Dalton
Try ...
-READ FIL1 &PREV.Axx. &PREV2.Ayy., - ,&PREV3.Azz.
Should do the trick.
_______________________ *** WebFOCUS 8.1.05M ***
October 12, 2011, 05:00 PM
Waz
You could also -READ the entire line, then split it with SUBSTR or EDIT.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
October 14, 2011, 04:37 AM
Ian Dalton
Forgot to say that the end comma on line one and the start comma on line two (after the - ) are important.
_______________________ *** WebFOCUS 8.1.05M ***
October 18, 2011, 09:41 AM
arsagg
quote:
Ian Dalton
Hi All,
Outstanding Ian! it worked.
Waz, I haven't tried as you have said, however I will certainly follow what you have said.