Q

Backing up spool files on the iSeries using BRMS

I am trying to back up spool files on our iSeries using BRMS and I'm having no success. What would the correct steps be for me to get back on the right track? For example, commands, setup of control groups, etc.
I use BRMS to backup Spool files all the time. Here is and example:

1. Define a SPL list:

From the main BRMS menu select - 3 Archive - 1 Archive planning - 3 Work with archive lists
Create a list like this (Note: I'm excluding job logs and *OUTQ in library Kenneth and saving everything else)

 
Use . . . . . . . . . :  *ARC                                                
List name . . . . . . :  SPOOL                                               
Text  . . . . . . . . :  Spool File Archive                                  
                                                                             
                                                                        *INC/
  Seq Library    Outq       File       Job        User       User data  *EXC 
   10 QUSRSYS    QEZJOBLOG  *ALL       *ALL       *ALL       *ALL       *EXC 
   20 QUSRSYS    KENNETH    *ALL       *ALL       *ALL       *ALL       *EXC 
   30 *ALL       *ALL       *ALL       *ALL       *ALL       *ALL       *INC
 

2. Hit enter to save the list and they use F12 to back out to the Archive Planning menu.

3. Take option 2 Work with archive control groups and create a group like this:

 
                  Display Archive Control Group Entries
                                                       
Group . . . . . . . . . . : SPOOLBU                    
Default activity  . . . . : *ARCPCY                    
Text  . . . . . . . . . . : Archive Spool Files        
                                                       
                             Weekly                    
        Archive       List   Activity                  
Seq     Items         Type   SMTWTFS                   
  10    SPOOL         *SPL   *DFTACT                   
 

With these attributes:

 
                   Change Archive Control Group Attributes              
                                                                        
Group  . . . . . . . . . . . . . . . . : SPOOLBU                        
                                                                        
Type information, press Enter.                                          
                                                                        
Media policy . . . . . . . . . . . . . . SPOOLBU     Name, F4 for list  
Archive devices  . . . . . . . . . . . . *NONE       Name, F4 for list  
                                                                        
                                                                        
                                                                        
Parallel device resources:                                              
  Minimum resources  . . . . . . . . . . *NONE       1-32, *NONE, *AVAIL
  Maximum resources  . . . . . . . . . .             1-32, *AVAIL, *MIN
Include:                                                                    
  ASP low storage threshold  . . . . . . *ARCPCY     *ASP, 0-99%, *ARCPCY   
  Date type for archival . . . . . . . . *ARCPCY     *BOTH, *CHANGE, *USE...
    Inactivity limit . . . . . . . . . . 31          0-9999 days, *ARCPCY   
  Object size greater than . . . . . . . *ARCPCY     0-999999 MB, *ARCPCY   
  Objects able to be freed . . . . . . . *ARCPCY     *YES, *NO, *ARCPCY     
    Retain object description  . . . . . *ARCPCY     *YES, *NO, *ARCPCY     
  Objects not able to be freed . . . . . *ARCPCY     *YES, *NO, *ARCPCY     
  Days used (per month) less than. . . . *ARCPCY     0-31, *ARCPCY          
Default weekly activity  . . . . . . . . *ARCPCY     SMTWTFS(*), *ARCPCY       
Sign off interactive users . . . . . . . *ARCPCY     *YES, *NO, *ARCPCY        
Sign off limit . . . . . . . . . . . . . *ARCPCY     0-999 minutes, *ARCPCY    
Save access paths  . . . . . . . . . . . *ARCPCY     *YES, *NO, *ARCPCY        
Save contents of save files  . . . . . . *ARCPCY     *YES, *NO, *ARCPCY        
Data compression . . . . . . . . . . . . *ARCPCY     *DEV, *YES, *NO, *ARCPCY  
Data compaction  . . . . . . . . . . . . *ARCPCY     *DEV, *NO, *ARCPCY        
Target release . . . . . . . . . . . . . *ARCPCY     *CURRENT, *PRV, *ARCPCY   
Clear  . . . . . . . . . . . . . . . . . *ARCPCY     *NONE, *ALL, *AFTER       
Append to media  . . . . . . . . . . . . *ARCPCY     *YES, *NO, *ARCPCY        
End of tape option . . . . . . . . . . . *ARCPCY     *UNLOAD, *REWIND, *LEAVE  
Use optimum block size . . . . . . . . . *ARCPCY     *ARCPCY, *DEV, *YES, *NO  
Text . . . . . . . . . . . . . . . . . . Archive Spool Files                   
IPL after archive  . . . . . . . . . . . *ARCPCY     *YES, *NO, *ARCPCY      
   How to end  . . . . . . . . . . . . . *ARCPCY     *CNTRLD, *IMMED, *ARCPCY
   Delay time, if *CNTRLD  . . . . . . . *ARCPCY     Seconds, *NOLIMIT       
   Restart after power down  . . . . . . *ARCPCY     *YES, *NO, *ARCPCY      
   IPL source  . . . . . . . . . . . . . *ARCPCY     *PANEL, A, B, *ARCPCY   
Retrieved object retention . . . . . . . *ARCPCY     0-9999, *NOMAX, *ARCPCY
 

As you can see, most of the values in the control group refer to the *ARCPCY. Either fill in the values you want of update the *ARCPCY....

My policy is defined like this:

 
                       Change Archive Policy                        S17 

Type choices, press Enter.

                                                                      
Media policy . . . . . . . . . . . . . . ARCHIVAL    Name, F4 for list  
Archive devices  . . . . . . . . . . . . *SYSPCY     Name, F4 for list  
 

Include:

                                                             
  ASP storage threshold  . . . . . . . . 0           *ASP, 0-99 %       
  Date type for archival . . . . . . . . *BOTH       *BOTH, *CHANGE, *US
    Inactivity limit . . . . . . . . . .  365        0-9999 days        
  Object size greater than . . . . . . . 0           0-999999 MB        
  Objects able to be freed . . . . . . . *YES        *YES, *NO          
    Retain object description  . . . . . *YES        *YES, *NO          
  Objects not able to be freed . . . . . *YES        *YES, *NO          
  Days used (per month) less than. . . . 0           0-31               
Default weekly activity  . . . . . . . . *******     SMTWTFS(*)             
Sign off interactive users . . . . . . . *SYSPCY     *YES, *NO, *SYSPCY     
Sign off limit . . . . . . . . . . . . . *SYSPCY     0-999 minutes, *SYSPCY 
Save access paths  . . . . . . . . . . . *YES        *YES, *NO              
Save contents of save files  . . . . . . *YES        *YES, *NO              
Data compression . . . . . . . . . . . . *DEV        *DEV, *YES, *NO        
Data compaction  . . . . . . . . . . . . *DEV        *DEV, *NO              
Target release . . . . . . . . . . . . . *CURRENT    *CURRENT, *PRV         
Clear  . . . . . . . . . . . . . . . . . *NONE       *NONE, *ALL, *AFTER    
Append to media  . . . . . . . . . . . . *NO         *YES, *NO              
End of tape option . . . . . . . . . . . *UNLOAD     *UNLOAD, *REWIND, *LEAV
Use optimum block size . . . . . . . . . *DEV        *DEV, *YES, *NO        
IPL after archive  . . . . . . . . . . . *SYSPCY     *YES, *NO, *SYSPCY      
 How to end  . . . . . . . . . . . . . . *SYSPCY     *CNTRLD, *IMMED, *SYSPCY
 Delay time, if *CNTRLD  . . . . . . . . *SYSPCY     Seconds, *NOLIMIT       
 Restart after power down  . . . . . . . *SYSPCY     *YES, *NO, *SYSPCY      
 IPL source  . . . . . . . . . . . . . . *SYSPCY     *PANEL, A, B, *SYSPCY   
Retrieved object retention . . . . . . . *NOMAX      0-9999, *NOMAX          
 

Then run the archive control group you just created and you will be backing up spool files!

In this example, the spool files will be saved in a *SAVF. You can also back them up to a tape.

This was first published in February 2005

Dig deeper on Data backup, storage and retrieval on iSeries

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchEnterpriseLinux

SearchDataCenter

Close