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
 
To find cursor postion dynamically in cics screen

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Joe Antony

New User


Joined: 02 Apr 2012
Posts: 1
Location: india

PostPosted: Mon Apr 02, 2012 9:14 pm    Post subject: To find cursor postion dynamically in cics screen
Reply with quote

Hi,

I have cics screen which has data ,i need to exactly locate where the cursor is dynamaicaly n perform function accordingly.. my cics screen would look lik this. the below data has three rows ,now basically what i have to find is in which row (cursor may b in any field in that row) the cursor is i.e row 1 or row 2 or row 3?

CNO Sno TYPE


123456 3732 E
2345678 373202 E
2356841 373 E









[/list][/code]
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Mon Apr 02, 2012 9:17 pm    Post subject:
Reply with quote

one of the eib fields contains the cursor position.

why don't you 'dynamically' go thru the application programmers guide and
discover the dynamics involved with this field.
Back to top
View user's profile Send private message
Peter cobolskolan

Active User


Joined: 06 Feb 2012
Posts: 104
Location: Sweden

PostPosted: Mon Apr 02, 2012 9:55 pm    Post subject: Reply to: To find cursor postion dynamically in cics screen
Reply with quote

I assume you are, or intend to be, a real programmer. A real programmer reads the manual(s), tries and get experience.
The answer to the question is part of basic understanding of CICS BMS, and I think your question comes from one of those "interview questions" that pop up now and then. If you try to get an answer to your question via this forum, just to have answers to interview questions, and thus simulate your experience, you are on the wrong road!
If this is a real case, you should have lots of programs in your organization containing the logic that would give you the answer:
- EIBCPOSN contains the absolute cursor position value.
- The F suffix of a field contains DFHBMCUR or DFHBMEC if the cursor is positioned in the field.
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 ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

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