Office-related APIs
The office-related APIs allow you to perform customized and additional
actions with office data.
The office APIs are:
- Add Department (QOKADDDP) allows you to add a department to the system distribution directory.
- Aid Spelling (QTWAIDSP) allows you to retrieve a list of correctly spelled words that are similar in spelling to the input word.
- Change Department (QOKCHGDP) allows you to change a department definition in the system distribution directory.
- Change Office Program (QOGCHGOE) allows you to set or change the document handling and document conversion exit programs.
- Check Spelling (QTWCHKSP) accepts a list of one or more words and returns the list with an indicator of whether each word is valid.
- Control Office Services (QOCCTLOF) makes requests of office services and indicates that several office tasks will be processed.
- Display Directory Panels (QOKDSPDP) allows you to use the Change Directory Information display interactively without using an administration interface.
- Display Directory X.400 Panels (QOKDSPX4) allows you to display directory X.400 O/R name panels and process functions interactively without going through the Work with Directory panel.
- Remove Department (QOKRMVDP) allows you to remove a department from the system distribution directory.
- Retrieve Office Programs (QOGRTVOE) allows you to retrieve program names and attributes for the current document handling and document conversion exit programs.
- Search System Directory (QOKSCHD) allows you to search the system distribution directory and receive results that match the input criteria.
- Send MIME Mail (QtmmSendMail) allows you to send e-mail from an iSeries program.
The office exit programs are:
- Directory Maintenance allows the administrator to define additional security or validation checking when directory data is added, changed, or deleted. There are two entry points. The verification entry is called before an addition, change, or deletion. The notification entry is called after the actions. The verification maintenance exit program is specified on the VRFPGM parameter of the Change System Directory Attribute (CHGSYSDIRA) command. The verification maintenance exit program can also be specified with the Work with Registration Information (WRKREGINF) command. The notification maintenance exit program is specified with the Work with Registration Information (WRKREGINF) command.
- Directory Search allows the administrator to define a customized search of directory data. The Directory Search program is specified on the SCHPGM parameter of the Change System Directory Attribute (CHGSYSDIRA) command.
- Directory Supplier allows the administrator to decide whether a change, add, or delete operation for directory entries, departments, and locations is to be shadowed to collector systems. The supplier program is specified on the SUPPGM parameter of the Change System Directory Attribute (CHGSYSDIRA) command.
- Document Conversion allows other document conversion programs to be called when a request is made for the OfficeVision program to process a document that is an unsupported type (for example, PCFILE).
- Document Handling allows other editors and applications to be called from the OfficeVision word processing and print functions.
- User Application Administration passes control to the application enabler where a registered alternate administration program will be called.