Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to view the output of the help command more freely?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
wangjiyi

New User


Joined: 14 Aug 2006
Posts: 12
Location: Shanghai, China

PostPosted: Mon Sep 25, 2006 7:15 am    Post subject: how to view the output of the help command more freely?
Reply with quote

when i use the help command such as 'help permit', the output of this command is red font, and any key I pressed will make the output paged.
When i want to see the previous output, i have to reenter the help command. Can you have some methods to print the output and save it. or any combined keys to brouse previous page?
Thank you.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Sep 25, 2006 10:57 am    Post subject:
Reply with quote

All help screens are actually a copy of the fine manuals. Just read the fine manual.

O.
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Mon Sep 25, 2006 9:48 pm    Post subject: Re: how to view the output of the help command more freely?
Reply with quote

Use TSO cammand "BACK"
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Mon Sep 25, 2006 11:16 pm    Post subject: Re: how to view the output of the help command more freely?
Reply with quote

Hi Wangjiyi,

This is a great solution for your problem. This is an OUTTRAP REXX program.

Place this REXX code in an authorized REXX library under the name "O":

Code:

***************************** Top of Data *************************
/* REXX -------------------------------------------------------*/ 
/* TRAP AND EDIT TSO COMMAND OUTPUT                            */ 
/* EDIT TSO --  RUN A TSO COMMAND AND PLACE THE TRAPPED        */ 
/*              OUTPUT IN ISPF-EDIT                            */ 
/*  PLACE A TSO COMMAND ON THE COMMAND LINE AND PRESS THE KEY  */ 
/*-------------------------------------------------------------*/ 
ARG TSOCMD                        /* PULL TSO COMMAND ISSUED   */ 
IF TSOCMD = '' THEN DO            /* CHECK IF NULL WAS ENTERED */ 
  SAY;SAY                         /* GIVE USER INFORMATION     */ 
  SAY 'SYNTAX =>   TSO O TSO-COMMAND '
  SAY;                       
  CALL GITOUT RC=99                                               
END                                                               
ADDRESS ISPEXEC "CONTROL ERRORS RETURN"     /* PREP FOR ERRORS */ 
ADDRESS TSO                                                       
DDNM = 'DD'||RANDOM(1,99999)          /* CHOOSE RANDOM DDNAME  */ 
STUFF = MSG(OFF)                     
"ALLOC FILE("||DDNM||") UNIT(SYSDA) NEW TRK SPACE(35 25) DELETE",       
" REUSE LRECL(140) RECFM(F B) BLKSIZE(8960)"                           
STUFF = MSG(ON)                       /* OK, SAY SOMETHING     */       
/*                                  */                                 
/* ISSUE TSO COMMND AND TRAP OUTPUT */                                 
/*                                  */                                 
STUFF=OUTTRAP(LINE.)                  /* SET THE TRAP          */       
TSOCMD                                /* PERFORM THE COMMAND   */       
STUFF=OUTTRAP('OFF')                  /* CLOSE TRAP            */       
/* WRITE TO TEMP FILE  */                                               
"EXECIO" LINE.0  "DISKW" DDNM "(STEM LINE. FINIS"    /* WRITE TO FILE */
ADDRESS ISPEXEC "LMINIT DATAID(TEMP) DDNAME("||DDNM||")"               
ADDRESS ISPEXEC "EDIT DATAID("||TEMP||")" /* NOW EDIT THE FILE   */     
ADDRESS ISPEXEC "LMFREE DATAID("||TEMP||")" /* LEAVE THE FILE    */     
STUFF = MSG(OFF)                                                       
"FREE FI("||DDNM||")"                     
ADDRESS                                                                 
GITOUT:                                                                 
EXIT         


When you issue your help command, enter as:
Code:

TSO O HELP PERMIT


Your output should be displayed in an ispf edit session.

The "O" command will work with any RACF command, any HELP command, or any TSO prefixed command where output is scrolled through by pressing the enter key:
Back to top
View user's profile Send private message
wangjiyi

New User


Joined: 14 Aug 2006
Posts: 12
Location: Shanghai, China

PostPosted: Tue Sep 26, 2006 6:18 am    Post subject: Re: how to view the output of the help command more freely?
Reply with quote

Oh, thank you very much.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts How to see VIEW definition from BMC c... rohanthengal DB2 1 Thu May 04, 2017 1:50 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us