Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Retain mouse cursor position on map

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 103
Location: India

PostPosted: Fri Mar 07, 2014 8:00 pm    Post subject: Retain mouse cursor position on map
Reply with quote

Hi,

I have a CICS map(say MAP1), and have many fields and a scrollable section in it as well.

I want to be able to retain the last cursor position on the map when the user is scrolling pages. Suppose the user keeps the cursor position on FIELDA, and scrolls up or down, then the cursor position must be maintained at FIELDA. Is there a way i can achieve this? Please let me know. Thank you.

I removed any code in the program where i was moving -1 to the length of a map field variable. But the cursor seems to be going to top left corner.

Here is my send map statement:
Code:

EXEC CICS SEND MAP('MAP1')   
               MAPSET ('MAP1')
               CURSOR           
               ERASE             
               FREEKB           
END-EXEC                         
Back to top
View user's profile Send private message

Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1806
Location: NY,USA

PostPosted: Fri Mar 07, 2014 9:48 pm    Post subject:
Reply with quote

Quote:
I removed any code in the program where i was moving -1 to the length of a map field variable


why?

Did you check below link?


http://publib.boulder.ibm.com/infocenter/txformp/v6r0m0/index.jsp?topic=%2Fcom.ibm.cics.te.doc%2Ferziai00105.htm
Back to top
View user's profile Send private message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 103
Location: India

PostPosted: Mon Mar 10, 2014 10:54 am    Post subject:
Reply with quote

Rohit Umarjikar wrote:
Quote:
I removed any code in the program where i was moving -1 to the length of a map field variable


why?

Did you check below link?


http://publib.boulder.ibm.com/infocenter/txformp/v6r0m0/index.jsp?topic=%2Fcom.ibm.cics.te.doc%2Ferziai00105.htm


Yes, i did go through it, since i dont want the cursor at any particular position and just retain the previous cursor position, i removed them.

I even tried removing 'CURSOR' entity from the SEND MAP command.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1806
Location: NY,USA

PostPosted: Tue Mar 11, 2014 3:19 am    Post subject:
Reply with quote

Quote:
Yes, i did go through it, since i dont want the cursor at any particular position and just retain the previous cursor position, i removed them.


and

Quote:
I want to be able to retain the last cursor position on the map when the user is scrolling pages. Suppose the user keeps the cursor position on FIELDA, and scrolls up or down, then the cursor position must be maintained at FIELDA. Is there a way i can achieve this? Please let me know. Thank you.


Aren't they disagree to each other? What is exactly you want to achieve here?
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 Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts How to insert a value on specific pos... Poha Eater DFSORT/ICETOOL 9 Sun Oct 01, 2017 3:04 am
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Getting -504 Cursor Name GTT-ARTS-CUR... Robin Sulsona DB2 2 Fri Mar 17, 2017 1:43 am
No new posts Release of Adabas Cursor mohitsethi All Other Mainframe Topics 1 Mon Feb 06, 2017 8:36 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us