Chapter 4. User Exits and Attributes of the Input Print File in
AIX
|
This chapter contains programming interface information.
A user exit is a point during ACIF processing that enables you to run a user-written
program and return control of processing to ACIF after your user-written program
ends. ACIF provides data at each exit that can serve as input to the user-written
program.
This section describes the following topics:
User programming exits
Non-zero return codes
Attributes of the input print file
User Programming Exits
ACIF provides several sample programming exits to assist you in customizing the
product. Use of the programming exits is optional. You specify the names of the
exit programs with the inpexit, indxexit, outexit, and resexit parameters. Each of
these parameters is described in Chapter 2, Using ACIF Parameters in AIX.
ACIF provides the following sample exits:
/usr/lpp/psf/acif/apkinp.c
Input record exit
/usr/lpp/psf/acif/apkind.c
Index record exit
/usr/lpp/psf/acif/apkout.c
Output record exit
/usr/lpp/psf/acif/apkres.c
Resource exit
In addition, ACIF provides the following user input record exits to translate input
data streams:
/usr/lpp/psf/acif/apka2e.c
Converts ASCII stream data to EBCDIC stream data.
/usr/lpp/psf/acif/asciinp.c
Converts unformatted ASCII data that contains carriage returns and form feeds
into a record format that contains an American National Standards Institute
(ANSI) carriage control character. This exit encodes the ANSI carriage control
character in byte 0 of every record.
/usr/lpp/psf/acif/asciinpe.c
Converts unformatted ASCII data into a record format as does asciinp.c, and
then converts the ASCII stream data to EBCDIC stream data.
The C language header file for all ACIF exit programs is also provided:
/usr/lpp/psf/acif/apkexits.h
along with the build rules for the ACIF user exits:
/usr/lpp/psf/acif/Makefile
Copyright IBM Corp. 1993, 1999
65
Содержание S544-5285-01
Страница 1: ...IBM Print Services Facility IBM AFP Conversion and Indexing Facility User s Guide S544 5285 01...
Страница 2: ......
Страница 3: ...IBM Print Services Facility IBM AFP Conversion and Indexing Facility User s Guide S544 5285 01...
Страница 10: ...viii ACIF User s Guide...
Страница 21: ...Part 1 Information Common to AIX OS 390 MVS VM and VSE Environments Copyright IBM Corp 1993 1999 1...
Страница 22: ...2 ACIF User s Guide...
Страница 40: ...20 ACIF User s Guide...
Страница 41: ...Part 2 Using ACIF in the AIX Environment Copyright IBM Corp 1993 1999 21...
Страница 42: ...22 ACIF User s Guide...
Страница 72: ...52 ACIF User s Guide...
Страница 96: ...76 ACIF User s Guide...
Страница 99: ...Part 3 Using ACIF in the OS 390 MVS VM and VSE Environments Copyright IBM Corp 1993 1999 79...
Страница 100: ...80 ACIF User s Guide...
Страница 106: ...86 ACIF User s Guide...
Страница 134: ...Figure 24 Example of a Customer s Phone Bill 114 ACIF User s Guide...
Страница 142: ...122 ACIF User s Guide...
Страница 196: ...176 ACIF User s Guide...
Страница 197: ...Part 4 Appendixes Copyright IBM Corp 1993 1999 177...
Страница 198: ...178 ACIF User s Guide...
Страница 206: ...186 ACIF User s Guide...
Страница 210: ...190 ACIF User s Guide...
Страница 226: ...206 ACIF User s Guide...
Страница 253: ......
Страница 255: ...Spine information IBM IBM Print Services Facility User s Guide AFP Conversion and Indexing Facility...