Hi,
I found this existing discussion in mainframe forum and tried to enhance to get the other data to the next screen up to the last screen but not able to do so. I tried to search in the internet and other discussion but not able to find if there is an existing syntax ZSCREEN* to identify the next screen and capture that data as well.
Using Macro, I'm able to identify the first/last range, LINE and LINENUM but can only use in View/Edit mode. Is there a zscreen* syntax that can identify the next screen which will work in all screen mode?
/* REXX */
ADDRESS ISPEXEC
'VGET (ZSCREENI ZSCREENW ZSCREEND)'
SW = ZSCREENW
SD = ZSCREEND
SL = SD * SW
DO I = 1 TO SL
SAY SUBSTR(ZSCREENI,I,SW)
I = I+79
END