Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to know the resolution of in any mainframe session?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2182
Location: Silicon Valley

PostPosted: Wed Jun 18, 2008 9:20 pm    Post subject: Reply to: How to know the resolution of in any mainframe ses
Reply with quote

Quote:
but the problem is still there.

The problem is in your understanding.

This example:
Code:
/* rexx */               
Address ISPEXEC           
"VGET (ZSCREENW,ZSCREEND)"
Say    ZSCREENW ZSCREEND

is a rexx implementation, but the key point is that ISPF provides variables to determine the screen size. You can use VGET from compiled languages to.

ps. I realize the task is not to determine screen size, but how to save job output.
Back to top
View user's profile Send private message

stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Wed Jun 18, 2008 9:24 pm    Post subject: Reply to: How to know the resolution of in any mainframe ses
Reply with quote

But he is writing this in VB, not REXX, so he can only use the scripting language of his emulator. He would have to run this REXX on the mainframe somehow then capture the output.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19254
Location: Inside the Matrix

PostPosted: Wed Jun 18, 2008 11:17 pm    Post subject:
Reply with quote

Hello,

Quote:
He would have to run this REXX on the mainframe somehow then capture the output.
Yes, and i believe this is the new direction being investigated.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2182
Location: Silicon Valley

PostPosted: Thu Jun 19, 2008 12:41 am    Post subject: Reply to: How to know the resolution of in any mainframe ses
Reply with quote

Sorry, I did not read all of the posts. </blush>

But I do not think you need to know the current size of the screen to determine how many jobs there are. The last part of the panel title has the number of jobs in the list.
Code:
   Display  Filter  View  Print  Options  Help                                 
 -------------------------------------------------------------------------------
 SDSF HELD OUTPUT DISPLAY ALL CLASSES LINES  100,879    LINE 1-11 (15)         
 COMMAND INPUT ===>                                            SCROLL ===> CSR 
 NP   JOBNAME  JOBID     CRDATE    C FORM FCB  DEST      RMT NODE   TOT-REC O-GR

In this example, there are 15 jobs.

Your emulator macro should be able to get a screen capture and examine the results.

---or--
If you still want to pursue your current design, just scroll by a fixed amount rather than the variable amount. That is, scroll by 10 instead of by page.
Back to top
View user's profile Send private message
Kumar Ashok

New User


Joined: 20 Jan 2007
Posts: 29
Location: KOLKATA

PostPosted: Thu Jun 19, 2008 8:52 am    Post subject:
Reply with quote

@Pedro - Its true that if we scroll by certain amount the there will be no need of knowing the screen size. But there are two limitations

1) My emulator doesn't provide the information in the way you shown rather its something like..

-------------------------------------------------------- IOF Job List Menu ---------------------------------------( 61 )-----------
COMMAND ===> SCROLL ===> CURSOR
----------------------------------------------------------- Output Jobs -----------------------------------------------------------
-------JOBNAME--JOBID---ACT-STAT-OWNER----DEST/DEVICE-------RECS-HELD-DAY--TIME-PAGES-HELD-ALLOC---RLSE CLASS-SECLABEL-------------


so there is no information on the jobs.

2) I am a mainframe guy with very limited knowledge of scripting language and to learn a complete language in limited time that too for a small tool is overkill I guess.

Yes I was able to capture the info running REXX EXEC so I will ne using that info for my further improvement in this tool

Thanks again thanks for your help


Regards,
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Mainframe ASSEMBLER LEARNING MANUAL w... upendrasri PL/I & Assembler 2 Tue May 05, 2020 11:42 am
No new posts Typing the CENT sign ยข on mainframe,... Rod Hittle All Other Mainframe Topics 2 Wed Apr 15, 2020 7:06 pm
No new posts Trigger mainframe job , when file pla... Nandhinee All Other Mainframe Topics 2 Thu Apr 09, 2020 10:30 pm
No new posts Need help on DB2 load in Mainframe subratarec DB2 5 Tue Mar 24, 2020 2:08 am
No new posts Mainframe Storage HSM upendrasri IBM Tools 5 Thu Feb 20, 2020 5:51 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us