Archiving
Data archiving is a technique for saving valuable disk space by selecting infrequently used objects, saving them to tape, save file, IBM i Internal Virtual tape (V5R4 and above), or optical (V6R1 and above) and then deleting them from disk. Archiving saves disk space on primary (fast, expensive) disk because it moves the object to secondary (slower, less expensive) storage. The BRMS-Advanced Functions Feature of 57xxBR1 is required to use archiving and dynamic retrieval
NOTES :
...
Commands that affect dynamic retrieval
Dynamic Retrieval Object Type | Operation or Command | Calls Dynamic Retrieval | Dynamic Retrieval Is Not Called |
Database | Any data base open operation | X | |
DSPOBJD | X | ||
OPNDBF | X | ||
OPNQRYF | X | ||
DSPPFM | X | ||
DSPFD and DSPFFD | X | ||
RTVMBRD | X | ||
CPYF | X | ||
SNDNETF | X | ||
CHGOBJ, CHGOBJOWN or CHGOBJA | X | ||
CHGPFM | X | ||
RNMOBJ and RNMM | X | ||
MOVOBJ | X | ||
CHKOBJ | X | ||
ADDPFM and RMVM | X | ||
CHGPF | X | X | |
DLTF | X | ||
RCLSTG | X | ||
DSPLOG | X | ||
CRTxxxPGM | X | X | |
Query/400 | X | ||
SQL | X | ||
DFU | X | ||
Options in PDM | X | X | |
Client Access file transfers | X | ||
Start or end journalling | X | ||
Journal changes | X | ||
Document Library Objects (DLO) | Viewing a DLO | X | |
Printing a DLO | X | ||
Copying a DLO | X | ||
Moving a DLO | X | ||
Changing details of a DLO | X | ||
Changing contents of a DLO | X | ||
Integrated file system or hierarchical file system (HFS) | X | ||
Security changes of a DLO | X | ||
Renaming a DLO | X | ||
Direct existence of a DLO (CHKDLO, DSPDLONAM, RTVDLONAM) | X | ||
Indirect existence of a DLO (Dir, WRKDOC, DSPFLR) | X | ||
Search of a DLO object | X | ||
Save of a DLO object | X | ||
Restore of a DLO object | X | ||
Reclaim of a DLO object | X | ||
Reorganize a DLO object | X | ||
Deletion of a DLO object | X | ||
Dump of a DLO object | X | ||
Stream Files | Checking out the object (CHKOBJ) | X | |
Accessing the data of the object (a open(), create), MOV, CPY, or CPYFRMSTMF, CPYTOSTMF) | X | ||
Adding a new name to the object (RNM, ADDLNK, link(), rename(), Qp0lRenameKeep(), Qp0lRemaneUnlink()) | X | ||
Indirect existence of a stream file (Stream file objects) | X |
NOTES :
- Document library objects (DLO) that have had storage freed and are accessed through integrated file system (IFS) directory '/QDLS' cannot be dynamically retrieved.
- Library objects that have had storage freed and are accessed through integrated file system (IFS) directory '/QSYS.LIB' or '/<IASP Name>/QSYS.LIB' cannot be dynamically retrieved.
- Dynamic retrieval is only supported for the following types of objects:
- Database files, including QHST files (member level)
- Source files (member level)
- Document library objects
- Stream files
- Dynamic retrieval is NOT supported for the following objects, even if they were saved by specifying STG(*FREE):
- Programs (*PGM)
- Service programs (*SRVPGM)
- Modules (*MODULE)
- SQL packages (*SQLPKG)
- Journal receivers (*JRNRCV)
- If an object has been saved with storage freed by any means other than BRMS, a BRMS inventory of the archived objects is not performed.
- Dynamic retrieval through BRMS is not be possible for objects that were not saved using BRMS. For example, objects can be archived by specifying *FREE for the Storage (STG) parameter on the OS/400 Save Object (SAVOBJ) command. In this case, the save media for the object cannot be located and restored by BRMS without manual intervention and an OS/400 message will be sent to the application to indicate the object could not be found.
- At 6.1 and above, archive lists do not support library omits when using generic libraries.
- Dynamic retrieval will no longer work if a library is moved into a different iASP after objects have been archived.
...