Try re-sending your code so we can take a look.
Try re-sending your code so we can take a look.
I am trying reduce the number of records read in an RPGLE program by doing an OPNQRYF selecting the records I need. I also need to do commit processing. But it appears the two are mutually exclusive. I and do the opnqryf and process, but not with commit control. Does anyone have any insight as to how to fix this? The basic code is below.