×
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.
Jerry Adams wrote:
...
What I would like to do is use the EXTIND(*INUx) keyword to condition
the two files; one as IPE the other as ISE. The CL that drives this
would set the appropriate switch. What I am not sure about is
whether or not this is permissible; can't recall ever doing this in
even RPG II, and the manual didn't answer the question. I can simply
make the changes and see what happens, but I thought if anyone knew
that this won't fly it was save me some time.
...
Jerry, that should work to use EXTIND on both files. What question were
you looking for an answer to? Are you wondering about the different
record length for the primary and secondary files, or are you wondering
about using EXTIND on the primary file?
There aren't any rules about the record length of the primary and
secondary files having to be the same. Even if you use matching
records, it's only the field lengths that matter.
And I don't think there are any rules on what type of file you can use
EXTIND with.
(Just as an aside, I find the whole EXTIND thing a bit creepy. I would
hate to maintain a program that used EXTIND.)
As an Amazon Associate we earn from qualifying purchases.
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.