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



IN YOUR DDS FILE

A R XXX000102 SFLCTL(XXX000101) <-- CONTROL FORMAT

A RRN_LIN 4S 0H <--MAKE THIS HIDDEN FIELD

---------------------------------------------------------------------------

IN YOUR RPG PROGRAM


DCL-F XXX0001DF WORKSTN INFDS(INFDS)


DCL-DS INFDS ;
RECRD BINDEC(4) POS(378); // DETERMINES WHERE CURSOR IS
END-DS;

------------------------------------------------------------------------------------
* DISPLAY SUBFILE
WRITE XXX000103 ; //BOTTOM FORMAT
EXFMT XXX000102 ; //CONTROL FORMAT

RRN_LIN = RECRD ; // WHAT LINE IS THE CURSOR ON


.... Whatever fields you have on the RRN_LIN in your dds, is what is captured for the field.

WALA!



From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of rpg400-l-request@xxxxxxxxxxxxxxxxxx
Sent: Thursday, October 29, 2020 12:00 PM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: RPG400-L Digest, Vol 19, Issue 688

[This message is from an external sender]
Send RPG400-L mailing list submissions to
rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>



The information transmitted is intended only for the person or entity to which it is addressed and may contain proprietary, business-confidential and/or privileged material. If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

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.