List Registered File Systems (QHFLSTFS) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The List Registered File Systems (QHFLSTFS) API returns information similar to the Display Hierarchical File Systems (DSPHFS) command. The QHFLSTFS API retrieves a list of all file systems that are currently registered and thus available for use through the HFS APIs. The list gives the name, version level, and text description for each file system.


Authorities and Locks

None.


Required Parameter Group

Qualified user space name
INPUT; CHAR(20)

The name of the *USRSPC object that is to receive the generated list. The first 10 characters give the user space name, and the second 10 characters give the name of the library in which the user space resides. You can use these special values for the library name:


Format name
INPUT; CHAR(8)

The format of the information returned. You must use this format name:


Error code
I/O; CHAR(*)

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


HFSL0100 Format

The HFSL0100 file system list consists of:

The user area and generic header are described in the User spaces. When you retrieve list entry information from a user space and you want to increase pointer values or add to variables used in the QUSRTVUS API, you must use the entry size returned in the generic header. The entries can be padded at the end.

The input parameter and list data sections are specific to the HFSL0100 format. They are described below. For a detailed description of each item, see Field Descriptions.


Input Parameter Section



List Data Section



Field Descriptions

File system name. The name of the file system when it was registered.

Format name. The format of the returned output.

Text description. The description of the file system specified at registration time.

User space library name. The name of the library containing the user space.

User space name. The name of the user space that receives the list.

Version. The version the file system supports. This is in the form VxRxMx, where x represents the version, release, and modification levels, respectively.


Error Messages



API introduced: V2R1

[ Back to top | Hierarchical File System APIs | APIs by category ]