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



Booth--

I don't think I read all of the posts on this thread, but I think someone mentioned the LF over the PF... but using substring definitions in the LF. That will let you divvy up the single field in the record into multiple fields.

I think the question you have (and I have right now) is if the substring lets you declare the field with type Packed.

If not-- you might be better off with a data structure in the program.

Sorry, but I don't have a manual handy to check the substring specs.

--Paul E Musselman
--PaulMmn@xxxxxxxxxxxxxxxxxxxx



At 5:43 PM -0600 12/24/08, Booth Martin wrote:
I follow all of that, Paul. The piece I am missing is that I want to
have a logical file, and use that logical as an externally defined file
in my RPG program. I am not wanting to sort on the 4-column, packed,
7/2 field, but I do want to get the right value for the field. How does
the RPG program know that the field is a packed numeric and not a 4-char
field? Where do I define that?

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.