MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cursor position on the screen

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
explorer
Beginner


Joined: 27 Jun 2006
Posts: 1
Topics: 1

PostPosted: Tue Jun 27, 2006 10:37 pm    Post subject: cursor position on the screen Reply with quote

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.
Back to top
View user's profile Send private message
enge
Beginner


Joined: 12 Oct 2004
Posts: 78
Topics: 39

PostPosted: Mon Oct 19, 2009 5:27 am    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group