× 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.



Justin,

I'm not sure what you mean by "splitting them up." A MFLF (multi-format LF) is a single object that defines the layout of each record type (or format), based on a select value in that record. As before, with the single file, the key structure is generally the same for each format, although technically is doesn't have to be. Also, if a key value doesn't apply to a particular format you can specify *OMIT.

-mark

On 6/14/2018 1:09 PM, Justin Taylor wrote:
For example, I have a PF where column 80 is a letter indicating the layout to use for that row. There's something like 15 different letters. Are you saying, create a LF splitting them up just to put them back together for the reads?



-----Original Message-----
From: mlazarus [mailto:mlazarus@xxxxxxxxxxxx]
Sent: Wednesday, June 13, 2018 6:20 PM
To: RPG programming on the IBM i (AS/400 and iSeries)<rpg400-l@xxxxxxxxxxxx>
Subject: Re: Read w/o Record ID

Justin.

You can create a multi-format LF over the S/36 flat file. Then you could use the INFDS to identify which format got read.

-mark

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.