Title: Trapping output of VTAM Commands from a GCS Routine

  Probably the easy way to do this is to set up a secondary user in the VM directory entry for VM VMTAM. Example:

 

   CONSOLE 01F 3215 T SECUSER     (where SECUSER is VTAM secondary user)

 

   On SECUSER  write a simple REXX EXEC as follows:

   /* */

   SP CON CARLOS RDR                                    

  ‘VTAM D NET,MAJNODES’

   CLOSE CONS           

    SPOOL CONS START

Exit

 

     On the CARLOS Virt Mach In my profile I  would have:

 

       ‘WAKEUP (RDR ‘

 

From here on I guess you can take it.   (Now all you have to do receive the RDR file. There are several ways to do this.

Whatever is you preference I guess.

 

CLUE:

 

           ‘ Q RDR * ALL (FIFO’  /* This exce would get executed whenever a file is received on the carlos VIRT MACH */

 

           ‘RECEIVE’  FL NAME ORG   A1  ‘(REP’     /* if you wish to replace the FILE  */  

 

  

        

   

 


From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Stracka, James (GTI)
Sent: Wednesday, October 11, 2006 11:02 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Trapping output of VTAM Commands from a GCS Routine

 

I know that this can be done in a NETVIEW NCCFLST but I would like to do this as a VM/VTAM GCS routine.

Can EXECIO or PIPE, or some other function, be run in a GCS routine in VMVTAM to trap the output of a command such as:

        d route,destsub=02

Reply via email to