How to get cursor position from system in CICS environment ?
Answer Posted / amiya ranjan
You can get ur cursor position from EIBCPOSN.
give
COPY DFHAID in working storage.
from eibcposn you will get your cursor position.
suppose you have 80 columns in your screen and if your cursor is in 2nd row and 3rd column then your eibcposn is 80+3 =83
so by dividing it with 80 you will get 1 and adding 1 you will get your row number. Similarly you can get your column position by calculating with above formula given by Pof.
thanks.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is Cataloged Procedures?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
How do you submit a job for execution?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
Are there any set of rules for the names of the steps used in a job? What are they?
what is “Cond= even” and “Cond=only”?
Explain how can return codes be tested before execution of a job step?
what is SOC4 error?
Explain how can a stopped job be started again?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Explain how can a jobs execution priority be modified?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
List the different components of jcl statement?