You can save multiple documents in several ways:
SAVDLO DLO(*ANY) DEV(first-device) FLR(A* B* C* ...L*) + SAVDLO DLO(*ANY) DEV(second-device) FLR(M* N* O* ...Z*)
SAV DEV('/QSYS.LIB/media-device-name.DEVD') + OBJ(('/*') + ('/QSYS.LIB' *OMIT) + ('/QDLS' *OMIT)) + UPDHST(*YES)
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 |
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 server creates a separate file on the media for each ASP. When you restore DLOs from the media, you must 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: