Working with save files

You can use the CL commands that are listed here with save files.

Use the following API to work with save files:

The List Save File (QSRLSAVF) API returns the contents of the save file in a user space. The contents of the save file is returned at a user-selected level of library information, object information, member information, or spooled files. The QSRLSAVF API returns the same information that is shown on a DSPSAVF command. In addition, when you specify the SAVF0200 format, the system includes the following:

  • The serial number of the system on which the save operation was performed.
  • The ASP from which the object was saved.

The QSYSINC library provides structures for the QSRLSAVF API formats in C, COBOL, and RPG.