AS/400 SFLNXTCHG

15 pts.
Tags:
RPG
SFLNXTCHG
Subfile
Subfile Next Changed
Hey this is venkatesh.Please can any body tell me what is SFLNXTCHG?where we use this keyword?what perpuse we use this?Can you tell me in real time senario with example? And in 7 specification(RPG/400)what is the mandatory specification using programs?
ASKED: September 22, 2008  6:20 AM
UPDATED: September 22, 2008  1:43 PM

Answer Wiki

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

Subfile records contain a “change” flag which is turned on when the user makes a change
The READC operation reads “changed” records
If the SFLNXTCHG indicator is turned on and the subfile record is written or updated the change flag will be forced on so in the subsequent processing the READC will get that record.

One use for this is so that the records can be edited for errors and if no errors are found then they can be processed. As the readc loop edits for errors it updates each subfile record with the SFLNXTCHG indicator on and that allow the update loop to use the READC to get the records again.

Discuss This Question: 2  Replies

 
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
  • BrentSheets
    Please don't use your username as the tag. Tags are keywords to describe your question. I added some tags for you on this question - but going forward, please use tags properly. Repeat offenders may be banned from the site for one month at our discretion.
    6,875 pointsBadges:
    report
  • Thara
    [...] –> Philpl1jb [...]
    0 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