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 SOC4 error?
What is multithreading in jcl?
Which dd parameters are required?
Differentiate between addressing mode and run mode.
Explain dfsort utility?
For what purpose steplib and joblib are used ?
In sms datasets, what is the function of the dd mgmtclas keyword?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
what is use of dcb parameter in dd statement?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
What is the function of a dd statement?
Define concatenating?
What are the rules employed while naming the steps in a job?
How to submit a jcl from cics?
what is “Cond= even” and “Cond=only”?