Get data from current screen and up to the last screen



IBM's Command List programming language & Restructured Extended Executor

Get data from current screen and up to the last screen

Postby arcnazareno » Fri Jul 22, 2016 1:14 pm

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
arcnazareno
 
Posts: 4
Joined: Wed Jul 20, 2016 2:11 pm
Has thanked: 1 time
Been thanked: 0 time

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

 

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

Postby Pedro » Fri Jul 22, 2016 8:05 pm

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.
Pedro Vera
User avatar
Pedro
 
Posts: 561
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 38 times

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

Postby NicC » Sat Jul 23, 2016 1:41 am

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?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2662
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 100 times

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

Postby Pedro » Mon Jul 25, 2016 9:17 pm

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.
Pedro Vera
User avatar
Pedro
 
Posts: 561
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 38 times

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

Postby arcnazareno » Tue Jul 26, 2016 9:16 am

Thanks Pedro for the suggestion. Will explore and use ISPDPTRC command.
arcnazareno
 
Posts: 4
Joined: Wed Jul 20, 2016 2:11 pm
Has thanked: 1 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post