This exit program passes control to the application enabler where alternate administration program will be called.

Operational Assistant

APIs

 

 

 

 

 

 

 

 

 

 

 

Most

functions

on

the

AS/400

Operational

Assistant menu

can be

accessed

ually

by

calling

APIs

found in

the

QSYS

library. The

Operational

Assista

allow

you

to

incorporate Operational

Assistant functions into

your

applic

menus.

 

 

 

 

 

 

 

 

 

 

 

For information about the Operational-Assistant backup APIs, see “Backup

Recovery

APIs”

on page 8-1.

 

 

 

 

 

 

You

can also tailor some of the Operational Assistant functions to you

using

Operational

Assistant

exit

programs.

 

 

 

Performance Collector APIs

The performance collector APIs allow applications to be developed that real-time performance monitoring capabilities. As with all APIs, this can without the overhead of databases or spooled files, and through a face. This is in contrast to the performance monitor, which collects information and retrieves its data much less frequently to database real-time, you have more control over collecting just the type of da ested in.

Print APIs

The print APIs consist of the following:

ŸPrint APIs

Ÿ Spooled file APIs

ŸExit programs

Print APIs

Print APIs can obtain information about or perform printing activities o system. Print APIs can:

ŸRetrieve output queue information such as status and number of en queue.

Ÿ

Retrieve

information about

specific

printer writers.

Ÿ

Transform

data streams from

one type

to another.

The following discussion pertains to specific print APIs.

The AFP to ASCII Transform (QWPZTAFP) API converts an Advanced Function Printing data stream (AFPDS) into an ASCII printer data stream. The ASCII data streams supported are the printer control language Hewlett Packa LaserJet**, Personal Printer Data Stream level 3 and 4 (IBM 4019, 4029 PostScript** data stream. The API can be useful to anyone who wants t documents to lower-cost ASCII printers.

The Host Print Transform (QWPZHPTR) API converts an AFP data stream or a SNA-character-string (SCS) data stream to an ASCII data stream. The Host Transform API can be used as an alternative to printer emulation in t situations to transform AFPDS and SCS data streams to ASCII data streams

Chapter 8. Use of OS/400 8APIs-17

Page 193
Image 193
IBM Version 4 manual Performance Collector APIs, Print APIs, Most Functions