× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello everyone

I have this question and I have been struggling with this most of the day.


Is there a way to Read IFS files containing variable record length
records?

The CPYFRMSTMF is not behaving well against a flat file that has a
variable length min (2000) and max (6736)
Using the CPYFRMSTMF interface and everyone of the EndOfLine formats has
not allowed me to map the file correctly

I have used a simple RPGLE program to read the IFS file, but the data
BUFFER length that I used to get to the data was 10,000
and I could not get a reliable control character for the break ( *CR, *LF,
*CRLF, *LFCR, *ALL ...)

It should not have to be hard at all. You get an IFS file with or without
variable length records and we should be able to map that to a flat
database file.
If the file does not exist, ... why not create it! ... (whishing for
much!)

Any recommendations?.

Regards


Jorge Moreno

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.