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

Retain mouse cursor position on map


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Fri Mar 07, 2014 8:00 pm
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

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Fri Mar 07, 2014 9:48 pm
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?


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: 107
Location: India

PostPosted: Mon Mar 10, 2014 10:54 am
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?


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

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Tue Mar 11, 2014 3:19 am
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 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 compare two file to find position/dat... SYNCSORT 2
No new posts Group selective VB records - Trailer ... DFSORT/ICETOOL 16
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
Search our Forums:

Back to Top