Mainframe automation issue- Get cursor position

Hi All,

I am doing automation of mainframe application, in which i want current cursor position but didint found any activity to achieve same.
Please help me to get current position of cursor when using terminal session.

Thanks & Regards,

May I ask why you want the cursor position in the mainframe? It seems like when automating in the mainframe, you would not need to know this information ever.

To answer your question, I am not sure this is possible. There should be a coordinate on your terminal window, so if you can find a way to extract this info, then you would have the position.

1 Like

Looking for the same soltuion.
There is a specific error, that can refer to many fields in the terminal, but there is no informaition about it in the error message. The only things we have that the cursor jumps to the problematic field. I want to validate at what field we are to know how to move further.

Also unfortunately the terminal shows the cursor position (i was thinking about the same soltuion), but only OCR works to extract it in my case, which has questionable reliability.