Q: I have an RPG program that adds records to an output file, but after the program ends (with the LR indicator on), the records aren't in the file. Instead, they appear several minutes after the program ends. This is problematic because I need to access the records immediately after the program ends. Why is this happening, and what can I do to overcome this odd behavior? A: When an RPG program opens a file for sequential output, by default the system determines when records are ...

REGISTER NOW TO ACCESS THIS ARTICLE

All registered users get access to premium content on iPro Developer for free.

Already registered? here.