And for a segment of code to do this:

 

say "===> Backup System Data Files" date() time()                        

"CP SPOOL CONSOLE TO *"                                                  

"WAKEUP +0 (IUCVMSG"                                                     

"CP SET CPCONIO IUCV"                                                    

"CP SPXTAPE DUMP 181 SDF ALL RUN MODE" tape_mode                         

do forever                                                               

   "WAKEUP (IUCVMSG QUIET"                                               

   if rc ¬= 5 then leave                                                 

   parse pull . . msg_text                                               

   msg_text = strip(msg_text)                                            

   say msg_text                                                          

   if subword(msg_text,1,4) = "SPXTAPE DUMP COMMAND COMPLETED" then leave

end                                                                      

"CP SET IMSG ON"                                                         

"WAKEUP RESET"                                                           

 

-----Original Message-----
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of Scott Rohling
Sent: January 22, 2009 14:00
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: SPXTAPE

 

From HELP SPXTAPE:

Response 3:                                                                   
                                                                              
When SPXTAPE DUMP, LOAD, or SCAN finishes processing, the following response  
is written in the command summary log and displayed on the screen.            
                                                                              
  SPXTAPE <DUMP> COMMAND <COMPLETED > ON VDEV <vdev       > (WITH ERRORS)     
          <LOAD>         <ENDED     >         <vdev1-vdev2>                   
          <SCAN>         <CANCELED  >                                         
                         <TERMINATED>                                         
                                                                              
  TIME STARTED:         hh:mm:ss                                              
  TIME ENDED:           hh:mm:ss                                              
                                                                              
  TAPE COUNT:                nnn                                              
  FILES PROCESSED:     n,nnn,nnn                                              
  SPOOL PAGES:        nn,nnn,nnn    

I assume you could SET CPCONIO IUCV   and use WAKEUP (IUCVMSG to wait for it.. 
(or PIPE STARMSG?)    

Scott                                      



On Thu, Jan 22, 2009 at 11:52 AM, Schuh, Richard <rsc...@visa.com> wrote:

Am I correct in thinking that SPXTAPE DUMP is asynchronous? If so, how can an 
end of dump be recognized by the disconnected user issuing the SPXTAPE?

Regards,
Richard Schuh 

 

 



The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material.  Any 
review retransmission dissemination or other use of or taking any action in 
reliance upon this information by persons or entities other than the intended 
recipient or delegate is strictly prohibited.  If you received this in error 
please contact the sender and delete the material from any computer.  The 
integrity and security of this message cannot be guaranteed on the Internet.  
The sender accepts no liability for the content of this e-mail or for the 
consequences of any actions taken on the basis of information provided.  The 
recipient should check this e-mail and any attachments for the presence of 
viruses.  The sender accepts no liability for any damage caused by any virus 
transmitted by this e-mail.  This disclaimer is property of the TTC and must 
not be altered or circumvented in any manner.

Reply via email to