Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

cursor - how to test the position?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: cursor - how to test the position?
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    Post subject:
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    Post subject: Reply to: cursor - how to test the position?
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Updating Cursor row withour using FOR... chandan.inst DB2 15 Tue Nov 08, 2016 11:17 am
No new posts COOLGEN - TSO TEST FACILITY indianrajput CA Products 4 Wed Nov 02, 2016 9:28 pm
This topic is locked: you cannot edit posts or make replies. How to supply called sub-program from... dchristensen JCL & VSAM 25 Wed Sep 14, 2016 11:36 pm
No new posts Variable for cursor names ravikumar15 DB2 5 Sun Jul 17, 2016 7:08 am
No new posts DB2 Stored Procedure - Dynamic SQL - ... GuyC DB2 2 Wed Feb 17, 2016 5:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us