Page 1 of 1

Get data from current screen and up to the last screen

PostPosted: Fri Jul 22, 2016 1:14 pm
by arcnazareno
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

Re: Get data from current screen and up to the last screen

PostPosted: Fri Jul 22, 2016 8:05 pm
by Pedro
ZSCREEN* to identify the next screen and capture that data as well.


It is not clear what you mean. You are the developer. You get to decide what panel is displayed next. You do not need to 'capture' it.

Re: Get data from current screen and up to the last screen

PostPosted: Sat Jul 23, 2016 1:41 am
by NicC
to get the other data to the next screen up to the last screen

This is gibberish! Please explain what you mean.

Have you referred to the first places that you should look - the manuals. In particular the dialogue developers manual and the ISPF Edit and Macro manual?

Re: Get data from current screen and up to the last screen

PostPosted: Mon Jul 25, 2016 9:17 pm
by Pedro
1. You can use the ISPDPTRC command to start a trace.
2. navigate your various panels
3. issue ISPDPTRC command again to view the trace results. Among other stuff, the trace will have screen images of all the screens.

Re: Get data from current screen and up to the last screen

PostPosted: Tue Jul 26, 2016 9:16 am
by arcnazareno
Thanks Pedro for the suggestion. Will explore and use ISPDPTRC command.