Methods for saving multiple documents
There are several different methods to save multiple documents.
- Save all of your documents by typing: SAVDLO DLO(*ALL) FLR(*ANY).
- Save all documents in a list of folders by typing: SAVDLO DLO(*ALL) FLR(folder). You can specify up to 300 generic or specific folder names on the Folder (FLR) parameter.
- You can run multiple SAVDLO commands concurrently for documents within a single ASP or in multiple ASPs. You can run one or more SAVDLO commands concurrently with one or more Restore Document Library Object (RSTDLO) commands that use the same ASP. Here is an example of running concurrent SAVDLO operations with generic values:
SAVDLO DLO(*ANY) DEV(first-device) FLR(A* B* C* ...L*) + SAVDLO DLO(*ANY) DEV(second-device) FLR(M* N* O* ...Z*)- Save all documents in an ASP by typing: SAVDLO DLO(*ALL) FLR(*ANY) ASP(n).
You may want to move the folders that contain user documents to user ASPs. You can save the DLOs in those ASPs regularly and not save the system ASP. This eliminates the extra time and media for saving the system folders for iSeries™ Access Family, which change infrequently.
When you save iSeries Access Family, also run the SAV command. The following shows all the parameters that are needed to save everything in the integrated file system which picks up iSeries Access Family.
SAV DEV('/QSYS.LIB/media-device-name.DEVD') + OBJ(('/*') + ('/QSYS.LIB' *OMIT) + ('/QDLS' *OMIT)) + UPDHST(*YES)- Save a list of documents, by user-defined name or by system object name.
- Save all documents that meet certain search values. The following table shows the parameters you can use if you specify DLO(*SEARCH).
Table 1. Parameters for DLO(*SEARCH) Parameter Definition FLR Folder SRCHTYPE *ALL, for all folders that meet the search criteria CHKFORMRK Marked for offline storage CHKEXP Document expiration date CRTDATE Creation date DOCCLS Document class OWNER Owner REFCHGDATE Document last changed date REFCHGTIME Document last changed time - Save all distribution objects (mail) by typing: SAVDLO DLO(*MAIL).
- Save all distribution objects, new folders, new documents, and changed documents by typing: SAVDLO DLO(*CHG). This is another method for reducing the effect of online information on the amount of time and media that it takes to save DLOs. Save document library objects (DLOs) provides more information about specifying DLO(*CHG).
You can use the OMITFLR parameter to exclude folders from the save operation. The OMITFLR parameter will allow up to 300 generic or specific folder names.
The OMITFLR parameter is useful if you want to omit folders that never change or only change infrequently. You can also use it to remove a group of folders from one save operation while you concurrently save that group to a different media device.
When you save DLOs from more than one ASP with the same operation, the system creates a separate file on the media for each ASP. When you restore DLOs from the media, specify the sequence numbers to restore the DLOs from more than one ASP.
Authority that is required for the SAVDLO command: The following parameter combinations for the SAVDLO command require either *ALLOBJ special authority, *SAVSYS special authority, or *ALL authority to the documents. You also need enrollment in the system directory:
- DLO(*ALL) FLR(*ANY)
- DLO(*CHG)
- DLO(*MAIL)
- DLO(*SEARCH) OWNER(*ALL)
- DLO(*SEARCH) OWNER(user-profile-name)
You can always save your own DLOs. You must have the authorities that are specified to specify another user profile for the owner parameter.
Parent topic:
Saving document library objects (DLOs)