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
 

 

query regarding IMS screens

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: query regarding IMS screens
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Mon Jan 25, 2010 1:57 pm    Post subject: Reply to: query regarding IMS screens
Reply with quote

look for example at
http://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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Mon Jan 25, 2010 3:18 pm    Post subject: Reply to: query regarding IMS screens
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)
http://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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Omegamon for DB2 query ashek15 DB2 0 Wed Feb 15, 2017 11:25 am
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts GETMAIN/FREEMAIN query Suja.Sai CICS 9 Tue Jan 31, 2017 12:01 pm


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