IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

cursor - how to test the position?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jctgf
Currently Banned

Active User


Joined: 04 Nov 2006
Posts: 109

PostPosted: Wed Dec 19, 2007 6:01 am
Reply with quote

hi,

how to know the position of the cursor when receiving a map?

thanks,
jc
Back to top
View user's profile Send private message
ahalyah

New User


Joined: 13 Dec 2007
Posts: 25
Location: india

PostPosted: Wed Dec 19, 2007 11:40 am
Reply with quote

Hi,
you can know the position of the cursor by EIBPOS(n).
I never tried it but heard that we can know the position by this.
Try it.
Back to top
View user's profile Send private message
star_dhruv2000

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Fri Jan 11, 2008 7:02 pm
Reply with quote

I think it EIBCPOSN
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Fri Jan 11, 2008 7:13 pm
Reply with quote

something like?

Code:
DIVIDE EIBCPOSN BY 80 GIVING W-ROW REMAINDER W-COLUMN
ADD 1                               TO W-ROW         
ADD 1                               TO W-COLUMN     
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jan 11, 2008 7:13 pm
Reply with quote

divide the eibcposn by 80 and save the remainder. the quotient is the line number and the remainder is the horizontal position within the line.
Back to top
View user's profile Send private message
star_dhruv2000

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Fri Jan 11, 2008 8:48 pm
Reply with quote

Good solution I must say .... 2014.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
No new posts Zunit Test case editor error Testing & Performance 4
No new posts Copying GDG version(all/few) from pro... CLIST & REXX 13
No new posts REXX Test under Mask??? CLIST & REXX 3
Search our Forums:

Back to Top