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



Yes, I have the rrn properly defined in the program. 


Marvin


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Lim Hock-Chai
Sent: Tuesday, August 09, 2005 11:34 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: Subfile Record positioning

is rrn field in the display file F spec, keyword SFILE(format :rrn)? 

If so, somewhere in your code you must have done a readc, which will
change the rrn to change.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Marvin Radding
Sent: Tuesday, August 09, 2005 1:28 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Subfile Record positioning


I have another clue.

If I enter a space in a field for the record that the cursor is on, then
the subfile is positioned at the proper record.  If I just press enter
or press an Fkey, then it go to record 1.  And no, the only Fkey set to
CA is F03, all other are CF.

Marvin



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Lim Hock-Chai
Sent: Tuesday, August 09, 2005 11:24 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: Subfile Record positioning

if your program is not updating the field, it should stay as 1.  Am I
missing something?

-----Original Message-----
From: rpg400-l-bounces+lim.hock-chai=usamobility.com@xxxxxxxxxxxx
[mailto:rpg400-l-bounces+lim.hock-chai=usamobility.com@xxxxxxxxxxxx]On
Behalf Of Marvin Radding
Sent: Tuesday, August 09, 2005 12:38 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Subfile Record positioning


1. before any other action is taken it is 1.

2. after paging through the unfolded screen to record 5, pressing the
F10 key, the rrn is still 1

3. before the redisplay, it is still 1

Marvin


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Tuesday, August 09, 2005 10:29 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: Subfile Record positioning


> A            RRN            4S 0H      SFLRCDNBR(CURSOR *TOP)

And what is the value of the above RRN field at the time that exfmt the 
SFLCTL record?

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.