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?
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.