For your first EXECIO execution, try adding FINIS as an option as in:

 

'EXECIO 1 DISKR WORK FILE A (FINIS VAR WINT'

 

-----Original Message-----
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Howard Rifkind
Sent: March 5, 2009 16:46
To: IBMVM@LISTSERV.UARK.EDU
Subject: EXECIO PROBLEM

 

In an exec I'm running I issue the EXECIO command as shown below...in
exactly that format.

 

It works just fine and returns the information I'm looking for in the
work file.

 

It's before the following.

 

SELECT;                                                    
  When  task_to_do="BACKUP"   then call backup_mdisk_files;
  When  task_to_do="SDF"      then call backup_sdf_files;  
  When  task_to_do="OPERLOG"  then EXEC MAKLOG;            
  When  task_to_do="DAILYACT" then EXEC DSKACNT;           
  When  task_to_do="EREPRECS" then EXEC EREPX3;            
  When  task_to_do="PERFSVM"  then EXEC PERFSV;            

 

The last 'when' executes the PERFSV exec and in that exec I issue the
EXECIO command again as indicated below and get an RC(2).  The work file
never gets deleted anywhere between the two exec and is on the 'A' disk.

 

Any thought about why an error is coming up would be appreciated.

 

Thanks.

 

11 *-* 'EXECIO 1 DISKR WORK FILE A (VAR WINT'  
   >>>   "EXECIO 1 DISKR WORK FILE A (VAR WINT"
   +++ RC(2) +++                               
                                               
12 *-* PARSE VAR WINT TASK_TO_DO ADSTUFF .     
   >>>   "WINT"                                
   >>>   ""                                    
   >.>   ""                                    

 


_____________
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential
and may be privileged. It is intended for the addressee(s) only.
Access to this E-mail by anyone else is unauthorized.
If you are not an addressee, any disclosure or copying of the
contents of this E-mail or any action taken (or not taken) in
reliance on it is unauthorized and may be unlawful. If you are not an
addressee, please inform the sender immediately, then delete this
message and empty from your trash.

 



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