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
Summary of Contents for S544-5285-01
Page 1: ...IBM Print Services Facility IBM AFP Conversion and Indexing Facility User s Guide S544 5285 01...
Page 2: ......
Page 3: ...IBM Print Services Facility IBM AFP Conversion and Indexing Facility User s Guide S544 5285 01...
Page 10: ...viii ACIF User s Guide...
Page 22: ...2 ACIF User s Guide...
Page 40: ...20 ACIF User s Guide...
Page 41: ...Part 2 Using ACIF in the AIX Environment Copyright IBM Corp 1993 1999 21...
Page 42: ...22 ACIF User s Guide...
Page 72: ...52 ACIF User s Guide...
Page 96: ...76 ACIF User s Guide...
Page 99: ...Part 3 Using ACIF in the OS 390 MVS VM and VSE Environments Copyright IBM Corp 1993 1999 79...
Page 100: ...80 ACIF User s Guide...
Page 106: ...86 ACIF User s Guide...
Page 134: ...Figure 24 Example of a Customer s Phone Bill 114 ACIF User s Guide...
Page 142: ...122 ACIF User s Guide...
Page 196: ...176 ACIF User s Guide...
Page 197: ...Part 4 Appendixes Copyright IBM Corp 1993 1999 177...
Page 198: ...178 ACIF User s Guide...
Page 206: ...186 ACIF User s Guide...
Page 210: ...190 ACIF User s Guide...
Page 226: ...206 ACIF User s Guide...
Page 253: ......