how to get text from mainframe screen and save it in variable?

Hi,

How we can get particular text from mainframe screen and store this text value in variables.
Please help me in this. Thanks.

Regards,
Megha Soni

Hi @meghasoni, you could use OCR to realize the need.

@ShawnLi Thanks for your reply.

But by using OCR, I am not able to get value from mainframe screen in a variable.
Please help me. Thanks in advance.

Regards,
Megha Soni

@meghasoni when using OCR, need to ensure that the correct value of ‘Anchor region’ and ‘Capture region’.
image

Here’s one example for OCR.
Main actions: Open the forum page -> Click ‘Accept all cookies’ -> OCR the title to the variable ‘str’

Result capture:
image

Reference file: OCR example.zip (21.5 KB)