AS/400

10 pts.
Tags:
SFLNXTCHG
Subfile
Subfile Next Changed
Hi, Whre we can use SFLNXTCHG?why we want to use this?

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:  

 
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

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