Position cursor when back to subfile

5 pts.
Tags:
AS/400 Subfiles
SFL subfile
SFLSIZ
Subfile Control
I have to position the cursor of a subfile in the same field where i am selected after back from some other screen validation. The subfile type is SFLSIZ>SFLPAG . Please help

Answer Wiki

Thanks. We'll let you know when a new response is added.

This is from the IBM DDS manual
<pre>
SFLRCDNBR (Subfile Record Number) keyword for display files
Use this field-level keyword on the subfile control record format to specify that the page of the subfile to be
displayed is the page containing the record whose relative record number is in this field. If you do not
specify this keyword, the OS/400 program displays the first page of the subfile by default.
The format of the keyword is:
SFLRCDNBR[([CURSOR] [*TOP])]</pre>

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • hunshabbir7
    As Charlie suggested. You have to keep track of RRN and after comming back from validation you set SFLRCDNBR to that RRN. SFL will be positioned to that particular page of subfile and record number.
    2,300 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following