We have an anti-fraud request from HMRC to supply the current screen size in pixels.
How do we do this?
Good morning, MBurPin
Try the following syntax:
ACCEPT TERMINAL-ABILITIES FROM TERMINAL-INFO
You will find the information you need in the fields USABLE-SCREEN-HEIGHT, USABLE-SCREEN-WIDTH, PHYSICAL-SCREEN-HEIGHT and PHYSICAL-SCREEN-WIDTH.
Find more information in the Documentation for the ACCEPT statement, Format 3, bullet-point 8:
Product Support Engineer, Senior