explorer Beginner
Joined: 27 Jun 2006 Posts: 1 Topics: 1
|
Posted: Tue Jun 27, 2006 10:37 pm Post subject: cursor position on the screen |
|
|
Hi,
Does any one know the answer to this problem?
User presses enter after placing the cursor on screen(MFS) at certian position say at line 24 and column 24.
Is it possible to remember this (24,24) position and use it in the program to process something else?
Any help greatly apreciated.
Thanks. |
|
enge Beginner
Joined: 12 Oct 2004 Posts: 78 Topics: 39
|
Posted: Mon Oct 19, 2009 5:27 am Post subject: |
|
|
are you still alive?
did you discover something?
all i know is the relation between MFS declarations and cbltdli. i mean
CALL 'CBLTDLI' USING ZCMD-GU ZPCB-IO ZMAPMSG
give us the string ZMAPMSG which could contain cursor coordinates....(like pf key).
for example if MFS :
Code: |
MAP001 FMT
DEV TYPE=(3270,2),FEAT=IGNORE,DSCA=X'00C0',SYSMSG=XMSG001, *
PFK=(PF,'1','2','3','4','5','6','7','8','9','A','B','C',*
'1','2','3','4','5','6','7','8','9','A','B','C')
DIV TYPE=INOUT
DPAGE CURSOR=((20,25)),FILL=NONE
|
pf key is at position 13:
Code: |
03 ZMAPMSG.
05 FILLER PIC X(12).
05 ZMAPMSG-O-CPFK-O PIC X(01).
|
|
|