Change Office Program (QOGCHGOE) API


  Required Parameter Group:


  Optional Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Change Office Program (QOGCHGOE) API allows you to set or change the document handling and document conversion exit programs. The default value for these exit programs is *IBM, which indicates that OfficeVision® processing should be used for the request or conversion.


Authorites and Locks

You must have security administrator (*SECADM) authority to call this program.


Required Parameter Group

Qualified document handling exit program
INPUT; CHAR(20)

The name of the program called when document editing and print requests are made. The first 10 characters contain the program name, and the second 10 characters contain the name of the library where the program is located.


Document handling program supports mail flag
INPUT; CHAR(1)

This flag indicates whether the document handling program supports mail requests (that is, MAILVIEW, MAILEDIT, EDIT using Revise a Copy, MAILFWD, MAILREPLY, PRINT and PRINTOPTS from the Work with Mail display). If an application does not plan to handle these functions, set the value to 0. Setting the value to 0 prevents the unnecessary overhead of filing the mail items and calling the document handling program. If the document handling program is *IBM, set the value to 1.


This indicates whether the program specified in the document handling exit program and library name parameter should be called for mail requests.

Qualified document conversion exit program
INPUT; CHAR(20)

The name of the program that is used to do document conversions when office services requires the document to be in a different data stream format. The first 10 characters contain the program name, and the second 10 characters contain the name of the library where the program is located.


Error code
I/O; CHAR(*)

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


Optional Parameter Group

Activate application enabler support
INPUT; CHAR(1)

If an application does not plan to handle these functions, set the value to 0. If the application requires application enabler support, set the value to 1. Any other value does not change the current activation of application enabler support.


Activate mail handling support
INPUT; CHAR(1)

If an application does not plan to handle these functions, set the value to 0. If the program requires mail handling support, set the value to 1. Any other value does not change the current activation of mail handling support.


Activate PCFILE identification processing support
INPUT; CHAR(1)

If an application does not plan to handle these functions, set the value to 0. If the program requires PCFILE identification processing support, (1) set the value to 1. Any other value does not change the current activation of PCFILE identification processing support.


Error Messages



API introduced: V2R2

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