Replying to my own message with the answer for the archives -- TOL(ENQF) was 
not supplied on the RESTORE and is needed in this case.

Thanks to all for your help.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Farley, Peter x23353
Sent: Monday, December 09, 2013 10:43 AM
To: [email protected]
Subject: Can ADRDSSU restore AIX and PATH for KSDS files?

A question for the ADRDSSU cognoscenti:

Can the AIX and PATH of a VSAM KSDS can be restored by ADRDSSU after being 
backed up like this:

DUMP OUTDD(DASDOUT)      -    
 DS (INCL(HLQ1.HLQ2.**)) -   
       COMPRESS -             
       OPT(3) -               
       SPHERE -               
       TOL(ENQF) -            
       WAIT(2,7)              

The AIX and PATH are originally defined and created by:

DEFINE AIX(NAME(HLQ1.HLQ2.DATAFILE.AIX) - 
      RELATE(HLQ1.HLQ2.DATAFILE) -        
      CYLINDERS (500 50) -                
      SHAREOPTIONS (2) -                  
      SPEED )-                            
     DATA(NAME(HLQ1.HLQ2.DATAFILE.AIX.D) -
      KEYS (4 52)) -                      
     INDEX(NAME(HLQ1.HLQ2.DATAFILE.AIX.I))
DEFINE PATH ( -                           
     NAME(HLQ1.HLQ2.DATAFILE.PATH) -      
     PATHENTRY(HLQ1.HLQ2.DATAFILE.AIX) -  
     UPDATE)                              
BLDINDEX IDS(HLQ1.HLQ2.DATAFILE)         -
     ODS(HLQ1.HLQ2.DATAFILE.AIX)          

We restore the base file with this command:

RESTORE DS(INCLUDE(HLQ1.HLQ2.DATAFILE)) -
INDD(DUMPIN) -                          
REPLACEUNCONDITIONAL -                  
SPHERE                                  

Should the SPHERE option on the RESTORE also restore the AIX and PATH or do 
they need their own RESTORE command(s)?  If so, what would the syntax of such a 
RESTORE command look like?

TIA for any info or RTFM or other assistance you can provide.

Peter

--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to