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



Did missed most of the conversation but,

<quote>When an action on the screen occurs your program is going to do a read. You can only read one record format and I don't think there is any way

to know which record format to read.</quote>

1 ) With RTVCSRLOC you know on which record format the cursor was active.
2) You can read multiple record formats if you want to, at least all rcord formats with input fields on them.

And you can do:
WRTE FOOTER
EXFMT SFLCTL
READ FOOTER

So for the record, anyway.

Kind regards,
Carel Teijgeler

Op 21-9-2018 om 16:10 schreef dlclark@xxxxxxxxxxxxxxxx:
"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 09/20/2018 05:43:29
PM:
When an action on the screen occurs your program is going to do a read.

You can only read one record format and I don't think there is any way
to
know which record format to read.

It is not as difficult as it might seem. I don't use EXFMT for
the very reason that you have to know which format you want to read. I
use a WRITE of the subfile control record format as the last part of
building the screen, of course. From there I can do a READ of the display
file rather than reading a particular record format. This way the 5250
controller will return whichever record format is ready to be received and
the file feedback area will contain the name of the record format returned
in this manner. Another read will return any other record format that
*might* be read to be received -- but don't count on it. Rather, you can
use READC of a particular subfile to determine if that subfile has been
modified. That said, I admit that I've never used side-by-side subfiles
so I am not sure of the actual answer for the OP.


Sincerely,

Dave Clark


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.