Retrieve Office Programs (QOGRTVOE) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Retrieve Office Programs (QOGRTVOE) API retrieves the programs that are used for office document requests and document conversion requests. The default value for the programs being retrieved is *IBM, which indicates that OfficeVision® processing should be used for the request or conversion.


Authorities and Locks

To use this program you need *SECADM authority.


Required Parameter Group

Receiver variable
OUTPUT; CHAR(*)

The variable to receive exit program information. This area must be large enough to accommodate the information specified.

Length of receiver variable
INPUT; BINARY(4)

The length of the receiver variable. The length must be at least 8 bytes. If the variable is not large enough to hold the requested information, the data is truncated.

Format name
INPUT; CHAR(8)

The format of the program to be retrieved. The valid format is OGOE0100 (see OGOE0100 Format).

Error code
I/O; CHAR(*)

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


OGOE0100 Format

The following list shows the format of the program to be retrieved. For detailed descriptions of the fields, see Field Descriptions.



Field Descriptions

Application enabler support active flag. An indication of whether the application enabler is active. The application enabler support is active if there is an application defined and the support has been made active.


Application enabler support activated flag. An indication of whether the application enabler has been activated with the QOGCHGOE API.


Application enabler support activating flag. An indication of whether the application enabler support can be activated. Application enabler support can become active if at least one application is defined and the support is made active with the QOGCHGOE API.


Bytes available. The total length of all data available.

Bytes returned. The length of the data actually returned.

Document conversion program library name. The name of the library containing the program to be called for document conversions. This field will be blanks if the document conversion exit program name is *IBM.

Document conversion program name. The name of the program to be called for document conversions if an IBM conversion does not exist. If the program is *IBM, the IBM-supplied conversion exit or registered conversions will be called.

Document handling program library name. The name of the library containing the program to be called for document requests. This field will be blanks if the document handling exit program name is *IBM.

Document handling program name. The name of the program to be called for document requests. If the program is *IBM, OfficeVision is called for the document requests.

Document handling program supports mail flag. An indication of whether the document handling program supports mail requests (that is, MAILVIEW, MAILFWD, MAILREPLY, PRINT and PRINTOPTS from the Work with Mail display). If *IBM i s specified as the document handling exit program, the value will be 1.


Mail handling support active flag. An indication of whether the Mail Handling support is active. Mail handling support is active if there is an application defined that handles mail, application enabler support has been activated, and mail support has been activated.


Mail handling support activated flag. An indication of whether the mail handling support could be activated. It is activated with the QOGCHGOE API.


Mail handling support activating flag. An indication of whether the mail handling support could be activated. Mail handling support is activated with the QOGCHGOE API.


PCFILE identification active flag. An indication of whether the PCFILE identification processing support is active. See Note (2). If PCFILE identification support has indicated that at least one type has been defined and PCFILE identification support is active, then the PCFILE identification processing is active.


PCFILE identification activated flag. An indication of whether the PCFILE identification processing support could be activated. PCFILE identification is activated with the Change Office Programs (QOGCHGOE) API.


PCFILE identification activating flag. An indication of whether the PCFILE identification processing could be activated. PCFILE identification support is activated with the QOGCHGOE API.



Error Messages



API introduced: V2R2

[ Back to top | Office APIs | APIs by category ]