List Save File (QSRLSAVF) API

  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The List Save File (QSRLSAVF) API lists the contents of a save file. The generated list replaces any data that already exists in the user space; it does not add the new list to an existing one. The generated list is not sorted.


Authorities and Locks

Save File Library Authority
*USE
Save File Authority
*USE
Save File Lock
*EXCLRD
User Space Authority
*CHANGE
User Space Library Authority
*EXECUTE
User Space Lock
*EXCLRD

Required Parameter Group

Qualified user space name
INPUT; CHAR(20)

The user space that is to receive the created list. The first 10 characters contain the user space name, and the second 10 characters contain the name of the library where the user space is located. You can use these special values for the library name:


Format name
INPUT; CHAR(8)

The content and format of the information returned for the save file. The possible format names are:

For more information, see the specified formats in the Format of the Generated List.

Qualified save file name
INPUT; CHAR(20)

The save file about which to list information, and the library in which the save file is located. The first 10 characters contain the save file name, and the second 10 characters contain the library name. You can use these special values for the library name:


Object name filter
INPUT; CHAR(10)

The name of the objects to search for. This name may be a simple name, a generic name, or the special value *ALL. If the name is not a valid name, an empty list will be returned. This field must be *ALL for the SAVF0100 format.

Object type filter
INPUT; CHAR(10)

The type of objects to search for. You may either enter a specific type or the special value *ALL. For a complete list of the available object types, see the Control language topic collection. This field must be *ALL for the SAVF0100 format, the SAVF0300 format, and the SAVF0400 format.

Continuation handle
INPUT; CHAR(36)

The handle used to continue from a previous call to this API that resulted in partially complete information. You can determine if a previous call resulted in partially complete information by checking the information status field in the generic user space header following the API call. For information about the generic header, see User spaces.

If the API is not attempting to continue from a previous call, this parameter must be set to blanks. Otherwise, a valid continuation value must be supplied. The value may be obtained from the continuation handle returned field in the header section. See Format of the Generated List for information about the header section.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Format of the Generated List

The save file list consists of:

For details about the user area and generic header, see User spaces. For details about the remaining items, see the following sections. For detailed descriptions of the fields in the list returned, see Field Descriptions.

When you retrieve list entry information from a user space, you must use the entry size returned in the generic header. The size of each entry may be padded at the end. If you do not use the entry size, the result may not be valid. For examples of how to process lists, see the DLTOLDSPLF example programs in Examples: APIs and exit programs.


Input Parameter Section



Header Section



SAVF0100 Format



SAVF0200 Format



SAVF0300 Format



SAVF0400 Format



Field Descriptions

Access paths. The number of logical file access paths that were saved for the library.

Auxiliary storage pool. The auxiliary storage pool (ASP) of the object when it was saved. For the SAVF0100 format, this is the ASP of the library. For the SAVF0200 format, this is the ASP of the object. The possible values are:

Auxiliary storage pool device name. The name of the independent auxiliary storage pool (ASP) device of the object when it was saved. For the SAVF0100 format, this is the ASP of the library. For the SAVF0200 format, this is the ASP of the object.

Creation date. The date the spooled file was created, in the format CYYMMDD:

Creation time. The time the spooled file was created, in the format HHMMSS:

Continuation handle returned. A continuation point for the API.

This value is set based on the contents of the information status variable in the generic header for the user space. The following situations can occur:

Continuation handle specified. The handle used to continue from a previous call to this API that resulted in partially complete information.

Data compressed. Whether the data was stored in compressed format. The possible values are:

Data saved. Whether the data for this object was saved with the object. The possible values are:

Document library object (DLO) name. The name of the document, folder, or mail object that was saved. If the object is a document or folder, the first 12 characters will contain the DLO name. If the object is a mail object, the full 20 characters will be used for the mail object name. If the save file does not contain DLO information, this field will be blank.

Extended object attribute. Extended information about the object type. If there is not an extended object attribute for the object, this field will be blank.

File name. The name of the file that was saved.

Folder. The name of the folder that was saved. The folder name is a fully qualified name. If the object is not a *FLR or *DOC object, this field will be blank. For *DOC and *FLR objects, this field will be set to the qualified name of the folder or to *NONE.

Format name. The format of the returned output.

Job name. The name of the job that owns the spooled file.

Job number. The number of the job that owns the spooled file.

Job system name. The name of the system where the job that owns the spooled file ran.

Library saved. The name of the library from which the objects are saved.

Members in library saved. The number of members saved for the library.

Member name. The name of the file member that is saved. The member names are not in sorted order.

Members saved. The number of members saved for the file.

Object name. The name of the object saved. If the object is a DLO object, this field will contain the system name of the object.

Object name filter specified. The name of the objects to search for. Only objects with names that match the filter are listed.

Object owner. The name of the object owner's user profile.

Objects saved. The number of objects that are saved for this library.

Object size. The size of the object in units of the size multiplier. The true object size is equal to or smaller than the object size multiplied by the object size multiplier.

Object size multiplier. The value to multiply the object size by to get the true size. The value is 1 if the object is smaller than or equal to 999 999 999 bytes, 1024 if it is larger than 999 999 999 but smaller than or equal to 4 294 967 295, and 4096 if larger than 4 294 967 295.

Object type. The type of object. For a list of object types, see the Control language topic collection.

Object type filter specified. The type of objects to search for. Only object types that match the filter are listed.

Output queue library. The name of the output queue library that contained the spooled file.

Output queue name. The name of the output queue that contained the spooled file.

Private authorities. Whether the save operation specified that private authorities should be saved with the objects. The possible values are:

Records. The number of records used to contain the saved information in the save file.

Release level. The earliest release level of the operating system on which the objects can be restored.

Reserved. An ignored field.

Save active. Whether objects in the library are allowed to be updated while they are being saved. The possible values are:

Save command. The save command that is used when the save operation is performed. The possible values are:

Save date and time. The time at which the objects were saved in system time-stamp format.

Save file library name specified. The name of the save file library as specified in the call to the API.

Save file library name used. The name of the save file library used to produce the listing.

Save file name specified. The name of the save file as specified in the call to the API.

Save file name used. The name of the save file used to produce the listing.

Spooled file name. The name of the spooled file.

Spooled file number. The number of the spooled file in the job that owns it.

Spooled files saved. The number of spooled files saved in the save file.

Synchronization ID. The name that was used to synchronize checkpoints for more than one save while active operation.

System serial number. The serial number of the system on which the save was performed. If the save media is from a System/38™, the system serial number will be blank.

Text description. The text description of the object. If the object is a DLO object, the following pertains:

User name. The name of the user who owns the spooled file.

User space library name specified. The name of the library containing the user space as specified in the call to the API.

User space library name used. The name of the library used to produce the listing.

User space name specified. The name of the user space as specified in the call to the API.

User space name used. The name of the user space used to produce the listing.


Error Messages



API introduced: V2R3

[ Back to top | Backup and Recovery APIs | APIs by category ]