10 pts.
 rtncsrloc in RPGLE
i am not able to use rtncsrloc keyword. should i define it in f spec or d spec and how we have to give the 3 argumnts to it... could you just give 1 example explaining all the steps.

Software/Hardware used:
as400 rpgle
ASKED: January 30, 2010  7:54 AM
UPDATED: February 1, 2010  2:06 PM

Answer Wiki:
Define this in each of your display record before any fields A RTNCSRLOC(&CSRRCD &CSRFLD) A RTNCSRLOC(*MOUSE &ROW &COL) A CSRRCD 10A H A CSRFLD 10A H A ROW 3S 0H A COL 3S 0H When control returns from the display file, your program will have these four fields of data the Display File Record name, Field Name, and the row and column on the screen that your cursor was pointing at. Another display file command can get the subfile record # and other commands can put your cursor on a spot on the screen, a field on the screen or on a specific subfile record. Phil
Last Wiki Answer Submitted:  January 30, 2010  11:12 am  by  philpl1jb   44,190 pts.
All Answer Wiki Contributors:  philpl1jb   44,190 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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