360 pts.
 Position Cursor Issue in subfile
I have a subfile with 'Position to' option in control format. so to keep the cursor in subfile recod, i have used DSPATR(PC) for option field and Reverse Image as well. But indicators are different, when I am trying to show error, i m setting the both indicators (PC,RI since i have used different Indicators)... RI is working as expected but the Cursor is always postioing in the 1st of record of the page.. The type of subfile is SINGLE PAGE. Please help!

Software/Hardware used:
ASKED: July 23, 2010  2:25 PM
UPDATED: July 27, 2010  2:29 PM

Answer Wiki:
You can use SFLRCDNBR with *TOP option to bring your error record to TOP of page display. A REC# 4S 0H SFLRCDNBR(CURSOR *TOP)
Last Wiki Answer Submitted:  July 27, 2010  10:39 am  by  philpl1jb   44,220 pts.
All Answer Wiki Contributors:  philpl1jb   44,220 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Please show the DDS for the subfile and subfile control records.

The code might suggest questions that need to be asked or might indicate that CSRLOC() on the control format is a better choice or that SFLRCDNBR(CURSOR) should be used.

Tom

 108,360 pts.

 

What do you mean by ‘single page’?

 5,670 pts.