i have cics+db2 program, i have to fetch first record while executing the program for the firs time. then fetch the second record while executing the program for the second time. these 5 record i want to fetch it all the N iteration of the program.
how can the pointer could passed internally for the iteration. Could anybody assist me in this regard