IBM Support

System Objects Restored without Reloading the Entire Operating System

Troubleshooting


Problem

This document provides information about restoring objects from a SAVSYS or a PID using RSTOBJ.

Resolving The Problem

RSTOBJ from SAVSYS is allowed beginning with the Language objects tape files. All the objects in the SAVSYS tape files Q5722SS1vrmM.0001 through Q5722SS1vrmM.0016 cannot be restored with RSTOBJ. You must save them with SAVOBJ to be able to restore them with RSTOBJ.

The following object types can be restored using the RSTOBJ command and specifying the correct label:

*CMD (no longer possible starting from R610)
*DTAARA
*DTAQ
*FILE
*FILE (device file)
*GSS
*IGCDCT
*IGCSRT
*IGCTBL
*JOBD
*JOBQ
*JOBSCD
*JRN
*JRNRCV
*MENU
*MGTCOL
*MSGF
*MSGQ
*OUTQ
*PNLGRP
*PRDDFN
*PRDLOD
*SBSD
*SCHIDX
*SQLPKG
*SVRSTG
*USRIDX
*USRQ
*USRSPC

The tape file from the sequence numbers 26 through 34 for R510 and above allow the RSTOBJ.
The sequence numbers 25 through 33 apply to R430, R440, and R450.

The tape file labels for R530 are:

seq 26 = Q5722SS1530nn0001
seq 27 = Q5722SS1530nn0002
seq 28 = Q5722SS1530nn0003
seq 29 = Q5722SS1530nn0004
seq 30 = Q5722SS1530nn0005
seq 31 = Q5722SS1530nn0006
seq 32 = Q5722SS1530nn0007
seq 33 = Q5722SS1530nn0090
seq 34 = Q5722SS1530M.0090

where nn is the language identifier; for English 2924, change the nn to 24.

For other release file label should be changed as Q57xxSS1vvvnn0001
- nn is the language identifier; for English 2924, change the nn to 24;
- xx and vvv are the release identifier; for V7R2M0, change to 70 and 720

For optical media, it is optical files:

/Q5722SS1/Q530lvnn/Q00/Q01
/Q5722SS1/Q530lvnn/Q00/Q02
/Q5722SS1/Q530lvnn/Q00/Q03
/Q5722SS1/Q530lvnn/Q00/Q04
/Q5722SS1/Q530lvnn/Q00/Q05
/Q5722SS1/Q530lvnn/Q00/Q06
/Q5722SS1/Q530lvnn/Q00/Q07
/Q5722SS1/Q530lvnn/Q00/Q90
/Q5722SS1/Q530lvM_/Q00/Q90
v7r4 tape file labels for language 2924
                                              File
 Data File Label                 Sequence   
 Q5770SS1740M.0016  0000000026
 Q5770SS1740240001  0000000027
 Q5770SS1740240002  0000000028
 Q5770SS1740240003  0000000029
 Q5770SS1740240004  0000000030
 Q5770SS1740240005  0000000031
 Q5770SS1740240006  0000000032
 Q5770SS1740240007  0000000033
 Q5770SS1740240090  0000000034


where lv is the level (which is usually 00) and nn is the language identifier (for English, change nn to 24).

Starting from R610, not all of the above objects type can be restored; for example, it is no longer possible to restore *CMD.
It is possible to restore the only object present into directory /Q5761SS1/Q61000nn (where nn is the language identifier; for English 2924, change the nn to 24.) All objects contained into directory /Q5761SS1/Q61000M_/Q00 cannot be restored.

To find the proper sequence number to use with the RSTOBJ, you must do a DSPTAP DATA(*SAVRST) OUTPUT(*PRINT). This creates a spooled file called QPSRODSP. You must scan this file for the object that you want restored, and look backwards from that point in the file to find the label name that the object was stored under. The following is an example of a partial listing of a QPSRODSP file. If you want to restore job description QTOVMAN, search for that object and go to the label information immediately preceding that entry.

5722SS1 V5R1M0  010525                  Saved Object Information - Tape    
04/08/02  9:05:23      
 Library  . . . . . . :   QSYS                 Release level  . . . :   V5R1M0
 ASP  . . . . . . . . :   1                    File sequence  . . . :   31
 Volume ID. . . . . . :   IBMIRD               Data compressed. . . :   No  
 Expiration date  . . :   *PERM                Data compacted . . . :   Yes
 Save command . . . . :   SAVSYS               Objects saved  . . . :   554
 Save active  . . . . :   *NO                  Access paths . . . . :   0
 File label ID  . . . :   Q5722SS1510240006
 Save format  . . . . :   Serial
 Save date/time . . . :   04/20/01   19:01:06
Object        Type       Attribute   Owner    Size (K)  Data   Member      Member      Member      Member  
 QTOKMAN      *JOBD                  QSYS     4         Yes        
 QTOQJOBDR    *JOBD                  QSYS     4         Yes                          
 QTOROUTED    *JOBD                  QSYS     4         Yes        
 QTOTNTP      *JOBD                  QSYS     4         Yes        
 QTOVMAN      *JOBD                  QSYS     4         Yes
 QXDAJOBD     *JOBD                  QSYS     4         Yes

In this example, the label parameter on the RSTOBJ command is Q5722SS1510240006, so the restore command will be:

RSTOBJ OBJ(QTOVMAN) SAVLIB(QSYS) DEV(TAP15) OBJTYPE(*JOBD) VOL(VOL1234) SEQNBR(31) + LABEL(Q5722SS1510240006)

The remainder of the objects are in the QSYS tape file and cannot be processed by the RSTOBJ command.

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000C4BAAU","label":"IBM i"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]

Historical Number

5141004

Document Information

Modified date:
18 February 2025

UID

nas8N1013214