Focal Point
[CLOSED] How to Read from .TXT file

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7477097276

September 23, 2014, 07:58 PM
Leo Sanchez
[CLOSED] How to Read from .TXT file
I have a .txt file that has data such as this:
'ZZ986'
'Z02-666-123'
'W61-666-55-5'
'T12-666-44-2'
'779003'
'779004'
'399077'
'899077'
'BPC68987'
'X900237-50'

And i do a file def as such:
APP FI MY_PRODS DISK /myrpt/data/myproducst.txt

How, can I read from this file?

This message has been edited. Last edited by: <Kathryn Henning>,


Developer Studio 7.6.11
Reporting Server = Unix 7.6.8
Client = Unix
September 23, 2014, 11:28 PM
FOCdeveloper
You need to create a simple one col MFD in order for it to read
Here this can help

http://forums.informationbuild...1057331/m/9757074026


Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 )
SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2
WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
September 24, 2014, 09:03 AM
Alex
Something like this should do the trick for you. You can make the filed size whatever you want.

FILE=MAS80,SUFFIX=FIX,$
SEGNAME=UNO,$
FIELD=DUMMY,,A80,A80,$



WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF