I have a CICS online program coded in COBOL which basically reads data from a DB2 table using a CURSOR and each record fetched is written to a TSQ until no more records are found. Subsequently the TSQ is read and each record is moved to the MAP and the MAP is SEND using CICS SEND MAP.
The MAP has some headear fields like date time userid function name etc which is filled each time before the SEND MAP. It also has a footer area which has an error message line, a commad line and a field to enter CURSOR value.
The detail portion of the MAP has 15 lines with just 3 alphanumeric fields, a field for selection, and 2 fields which dispalys values read from the TSQ.
The Map displays data with the 15 records initially. A subsequent PF8 also shows the next 15 records. But a subsequent PF7 (for scrollup) or a PF8 (for scroll down) results in X PROG753 error.
What could be the causes for this error??? Can anyone help.
What I have ensured so far is
1) data does not contain junk values.
2) Used the SSRANGE compiler option so that boundary conditions are ensured when processing the map detail area (an ARRAY of 15)
3) MAP itself is initialised with LOW-VALUES.