Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref

Author Message
swapnajit

New User

Joined: 18 Apr 2007
Posts: 2
Location: mysore

 Posted: Thu Apr 19, 2007 2:52 pm    Post subject: how come i can determine the cursor position on the screen my requirement is like that ...i have to determine in which field the sursor is positioned on the map and based on that i have to perform different validation...so haw come i can determine the cursor position on the screen

Vinit Bhushan

New User

Joined: 17 Apr 2007
Posts: 4
Location: Gurgaon

 Posted: Thu Apr 19, 2007 2:56 pm    Post subject: I don't think this is possible. Anyways Let's wait for another reply.
mkk157

Active User

Joined: 17 May 2006
Posts: 310

 Posted: Thu Apr 19, 2007 2:58 pm    Post subject: I think u r talking about the MAPS.. please post urs in the relevant forum. So that u can get replies fastly. Can u please explain clearly, Where did u get this problem. Anyway, Can I know, What u r going to do depends on the cursor position on the screen.
kak1981

New User

Joined: 19 Apr 2007
Posts: 6
Location: delhi

 Posted: Thu Apr 19, 2007 2:59 pm    Post subject: by pressing the CTRL+home
udaybarath

New User

Joined: 10 May 2005
Posts: 7

 Posted: Tue Apr 24, 2007 9:28 am    Post subject: You can find the cursor postition using the EIB field EIBCPOSN I t will give the cursor position in relative number
kanak

Moderator

Joined: 12 Mar 2005
Posts: 252
Location: India

 Posted: Thu Apr 26, 2007 2:30 pm    Post subject: udaybarath has answered you..at the same time you need to recalculate the (X,Y) position by following method: Say EIBCPOSN gives you value as 82, so to get the (X,Y) position, check you r screen size...say it's 21*71 screen..so for EIBCPOSN = 82 is: to get the Y position ( If EIBCPOSN > 71 (max Y value)) then: 82-71 = 9, so (X,Y) = (2,9)..i.e. second line 9th column...X=2 as we have subtracted 71 in that once... If i am sounding confusing..do let me know..
 All times are GMT + 6 Hours
 Page 1 of 1

Search our Forum:

 Topic Author Forum Replies Posted Similar Topics How to change the logon screen info o... sakthikumarT TSO/ISPF 4 Fri Dec 29, 2017 6:44 pm -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm How to insert a value on specific pos... Poha Eater DFSORT/ICETOOL 9 Sun Oct 01, 2017 3:04 am

 © 2003-2017 IBM MAINFRAME Software Support Division
 Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us