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

query regarding IMS screens


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cdhami

New User


Joined: 24 Jan 2006
Posts: 28

PostPosted: Mon Jan 25, 2010 1:35 pm
Reply with quote

Hi all,
I am using IMS screens in my workshop. The requirement is to capture the input location of cursor on the screen.

Pls help regarding this. We are using telon tool to generate screens, but could not find any field to find the cursor position on screen.

The same is available in CICS screens using EIB fields for EIBCPOSN.

Pls help with same in IMS screens.

Thanks in advance.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jan 25, 2010 1:57 pm
Reply with quote

look for example at
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dfsaptg4/2.4.1.2.1?ACTION=MATCHES&REQUEST=cursor+location&TYPE=FUZZY&SHELF=DFSSHCG3&DT=20071022094903&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT
Back to top
View user's profile Send private message
cdhami

New User


Joined: 24 Jan 2006
Posts: 28

PostPosted: Mon Jan 25, 2010 2:53 pm
Reply with quote

Hi Enrico,
I could find only limited information from the link provided.

"The format of the cursor information is two 2-byte binary numbers, the first containing the line number, the second containing the column number. "

however, where do i find this field, or where do i define it so that it automatically takes the location when screen is inputted.

Thanks for your advance help.

Thanks
cdhami
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jan 25, 2010 3:18 pm
Reply with quote

You get the info by coding a mfld statement with the appropriate IMS provided exit name/number
IIRC should be exit=(0,2)
publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims9.doc.cg/sme0.htm
Back to top
View user's profile Send private message
cdhami

New User


Joined: 24 Jan 2006
Posts: 28

PostPosted: Wed Jan 27, 2010 2:52 pm
Reply with quote

Hi Enrico,
Thanks for the help.
However, we are using TELON tool to generate IMS screens and i am not seeing any option to add mfld statements due to which the above solution is not working for me.

if you know, any other method, do let me know, or if i get the solution to my query, i will post it back here..

Thanks
Cdhami
Back to top
View user's profile Send private message
yeggi

New User


Joined: 29 May 2005
Posts: 4
Location: bangalore

PostPosted: Wed Feb 17, 2010 4:36 pm
Reply with quote

In MFS we use DPAGE keyword to position cursor in screen.
DPAGE CURSOR = (5,1) like this. Hope helps..
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Wed Feb 17, 2010 7:35 pm
Reply with quote

You can change the value of your modifiable fields by changing their attribute bytes. I've never worked with Telon - but if you have the option to position the cursor by modifying your attribute bytes - like positioning the cursor at the first field in error when returning an edited screen.
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
Search our Forums:

Back to Top