Retrieve File Override Information (QDMRTVFO) API


  Required Parameter Group:


  Default Public Authority: *EXCLUDE

  Threadsafe: Yes

The Retrieve File Override Information (QDMRTVFO) API returns the name of the file, library, member and final type of override that result from processing TOFILE or MBR overrides for the user specified file name. Overrides will be processed in the following sequence:


Authorities and Locks

None.


Required Parameter Group

Returned override information
OUTPUT; CHAR(*)

The structure in which to return information for file overrides processed. It can be smaller than the format requested as long as the next parameter, length of override information, specifies the length correctly. When this variable is smaller than the format, the API returns only the data the variable can hold.

Length of override information
INPUT; BINARY(4)

Variable that contains the length of the user provided output area. The minimum length is 8 bytes. If you specify a length that is longer than the returned override information, the results will be unpredictable.

Format name
INPUT; CHAR(8)

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


For more information, see OVRL0100 Format

File name
INPUT; CHAR(10)

The name of the file to return override information.

Error code
I/O; CHAR(*)

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


OVRL0100 Format



Field Descriptions

Bytes available. The number of bytes of data available to be returned. All available data is returned if enough space is provided.

Bytes returned. The number of bytes of data returned.

File name used. The file name that results from processing file overrides for the user provided file name. This field will be set to blanks in the following cases:

Final override type. This field will contain the final override type applied to the file.
This field will be set to the final type of override command specified as follows:


This field will be set to blanks in the following cases:

Library name used. The library name which results from processing file overrides for the user provided file name including the values *LIBL and *CURLIB.

This field will be set to blanks in the following cases:

This will be set to *LIBL if the file name is being overridden and library name is not.

Member name used. The member name which results from processing file overrides for the user provided file name including the values *FIRST, *LAST and *ALL. This field will be set to *FIRST when the final override type is Data Base and the member is not being overridden.

This field will be set to blanks in the following cases:


Error Messages



API introduced: V3R1

[ Back to top | Database and File APIs | APIs by category ]