When we write to GSAM file is it directly written and changes committed. I have a execution where checkpoint is issued after writing 5 records into GSAM. Now the jobs abended after writting 8th record. In the output GSAM I can see all the 8 records. I was hoping to see only 5 there.
Well, IMS does not reserve Enqueue/Dequeue space for a read only program, or a program that only updates a GSAM database, so the only reason for checkpointing is for restartability. So in this case you will not be able to keep the track for the records at the time of ABEND.