SFLRCDNBR seems to control the positioning of the page within the subfile, not the cursor within the page.

Any more specific ideas Simon ?





message: 2
date: Mon, 29 Oct 2007 17:44:35 +1100
from: Simon Coulter <shc@xxxxxxxxxxxxxxxxx>
subject: Re: [COBOL400-L] Cursor position in subfile


On 29/10/2007, at 5:58 AM, Chris Chambers wrote:

Is there a way to position the cursor on the 1st record in a
subfile whern
scrolling forward.

Yes.


If I page forward the cursor is always positioned in the same input
row that
it was on the last screen - when hitting the end of the sub file
it's just
left hanging in space - even when I write/rewrite the 1st record
with a
DSPATR(PC). Any ideas ?

Investigate the SFLRCDNBR DDS keyword.

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------





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

--
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) digest list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.



End of COBOL400-L Digest, Vol 5, Issue 49
*****************************************




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