Re: How to read Flat files from 4gl
Posted in 1995
In article <3p8018$2sj@apollo.jcpenney.com>, jschumac@uns-dv1 (Joel Schumacher) writes:
> habibollah valanejad (vala@netcom.com) wrote:
> : billy.wheeler@digitec.co.za (Billy Wheeler) writes:
>
> : >-> I have a requirment to read the flat file from 4GL. Is there any way
> : >-> to do it.
>
> : >Well, if it's a delimited file, you can use the LOAD statement or you
> : > can RUN a dbload and then read it as a table.
>
> : >----
> : >Digitec Online - South Africa
> : >Telnet: bbs.digitec.co.za
>
> : Why dont you write a 'C' function and call it from your 4gl program ?
>
> : Habib
>
> You know, this seems to be one of the most common requests. I see it in
> FAQ's, I've heard of other companies writing their own C for this, and
> I've seen this in software packages selling this feature.
>
> This need seems almost universal. Isn't it time that Informix recognize
> this and provide it as part of the language so that it can be a standard
> as to how to read a flat-file?
>
YES YES YES! Also - it should be possible to specify a path to a flatfile
on a server, for eg from a windows pc specifying a path of
/servername//home/david/myflatfile
should read it from the server. Ditto for write etc.
----------------------------------------------------------------------
David Paulo, InForm Group Ltd.,PO Box 1444, Wellington, New Zealand.
Ph: +64 4 472 0996 Fax: +64 4 473 2407 Email: david@inform.co.nz
= What would you do if you knew that you could not fail =
----------------------------------------------------------------------