Few records were not fetched from a Physical file in SQPRPGLE program which makes use of cursor (Declare, Open, fetch and close) to fetch records. Records which gets skipped were actually locked by some other batch process/programs to update them. (at that time)
When I checked the joblog, it doesn't even have an entry for missing records or it doesn't even say that record is locked or not. It simply skips the record and doesn't capture it.
How do I make sure that records are not missed out? (I have tried compilation parameters as *CHG or *NONE), also changed cursor with 'For Read Only' and it didn't help.
Can someone help me to overcome this issue?
When I checked the joblog, it doesn't even have an entry for missing records or it doesn't even say that record is locked or not. It simply skips the record and doesn't capture it.
How do I make sure that records are not missed out? (I have tried compilation parameters as *CHG or *NONE), also changed cursor with 'For Read Only' and it didn't help.
Can someone help me to overcome this issue?
Comment