Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to get cursor position from system in CICS environment ?

Answers were Sorted based on User's Feedback



How to get cursor position from system in CICS environment ?..

Answer / arun singh

There are three approches to cursor positioning.
1)static positioning.
by placing "IC" in the attrib parameter of DFHMDF for a
particuler field.
EX. DFHMDF POS=(3,16)
ATTRIB=(UNPROT,FSET,IC)
LENGTH=8
2)Dynamic symbolic positioning.
by using the symbolic name of the field
MOVE -1 TO THE LENGTH FIELD.
3)USING THE CURSOR IN THE SEND MAP.
EX. EXEC CICS SEND
MAP('............')
MAPSET('.........')
CURSOR(100)
END-EXEC.
the cursor will be placed at the position 100 of the
terminal relative to zero.......

Is This Answer Correct ?    23 Yes 7 No

How to get cursor position from system in CICS environment ?..

Answer / pof

EIBCPOSN ( from EIBBLK) gives a number
int(EIBCPOSN /80) + 1 gives line #
1 + EIBCPOSN - 80 *(int(EIBCPOSN /80)) gives column #

Is This Answer Correct ?    18 Yes 3 No

How to get cursor position from system in CICS environment ?..

Answer / 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

How to get cursor position from system in CICS environment ?..

Answer / venkat

to get the cursor pos of cics environment by the concept
of 'eibcposn'.by copy this dfhbmsca we can achive this.

Is This Answer Correct ?    8 Yes 2 No

How to get cursor position from system in CICS environment ?..

Answer / guest

Get it from EIBCURPOS !

Is This Answer Correct ?    12 Yes 7 No

How to get cursor position from system in CICS environment ?..

Answer / ajeet singh

eibcposn

Is This Answer Correct ?    5 Yes 1 No

How to get cursor position from system in CICS environment ?..

Answer / harsha

1 Divide EIBCPOSN by 80.
2 Save the Quotient. Add 1 to it to get the ROW.
3 Remainder will be your column number.

Is This Answer Correct ?    6 Yes 2 No

How to get cursor position from system in CICS environment ?..

Answer / jerinjose

EXEC CICS SEND CONTROL CURSOR(23)
END-EXEC

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More JCL Interview Questions

Does jcl support automatic restart?

0 Answers  


How to check empty file in jcl?

4 Answers   Infosys,


How to print the Output to SPOOL using MSGCLASS and SYSOUT ?

4 Answers   IBM,


What is primary allocation for a dataset?

4 Answers  


how to purge 50 initiators continuously?? console commands??

4 Answers   IBM, ups,


How much space OS allocates when you create a PS or PDS?

4 Answers  


can we modify the code in copy book? if it possible how to submit ofter the modification.

3 Answers   IBM, L&T,


can we give instream data in procedure

6 Answers   EDS,


is step name is compulsory in jcl ?

2 Answers  


What is the significance of addrspc parameter in exec statement?

0 Answers  


can we maintain 2 generations with different Lengths in Same GDG ?

3 Answers   RBS,


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

0 Answers   IBM,


Categories