In addition, InfoPrint Manager provides these input-record user-exits programs 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 provided in
/usr/lpp/psf/acif/apkexits.h
along with the build rules for the ACIF user-exits in
/usr/lpp/psf/acif/Makefile
For more information about compiling user-exit programs, see “Compiling and
installing the user-exit program” on page 59.
Input record exit
The line-data transform provides an exit that enables you to add, delete, or modify
records in the line-data input file. The program invoked at this exit is defined by
the value of the
inpexit
keyword of the
line2afp
command.
This exit is called after each record is read from the input file. The exit can request
that the record be discarded, processed, or processed with control returned to the
exit for the next input record. The largest record that InfoPrint Manager can
process is 32756 bytes. This exit is not called when the line-data transform is
processing resources from directories.
Figure 2 contains a sample C language header that describes the control block that
is passed to the exit program.
The address of the control block containing these parameters is passed to the input
record exit:
work (Bytes 1–4)
A pointer to a static, 16-byte memory block. The exit program can use this
/*********************************************************************/
/* INPEXIT STRUCTURE
*/
/*********************************************************************/
typedef struct _INPEXIT_PARMS /* Parameters for input record exit
*/
{
char
*work;
/* Address of 16-byte static work area */
PFATTR
*pfattr;
/* Address of print file attribute info*/
char
*record;
/* Address of the input record
*/
unsigned short in_CCSID;
/* input CCSID for translating
@06a*/
unsigned short out_CCSID;
/* output CCSID for translating
@06a*/
unsigned short recordln;
/* Length of the input record
*/
unsigned short reserved2;
/* Reserved for future use
*/
char
request;
/* Add, delete, or process the record
*/
char
eof;
/* EOF indicator
*/
} INPEXIT_PARMS;
Figure 2. Sample input record exit C language header
74
InfoPrint Manager for AIX: Procedures
Содержание InfoPrint Manager for AIX
Страница 1: ...InfoPrint Manager for AIX Procedures Version 4 Release 3 G550 1066 04 ...
Страница 2: ......
Страница 3: ...InfoPrint Manager for AIX Procedures Version 4 Release 3 G550 1066 04 ...
Страница 6: ...iv InfoPrint Manager for AIX Procedures ...
Страница 8: ...vi InfoPrint Manager for AIX Procedures ...
Страница 16: ...2 InfoPrint Manager for AIX Procedures ...
Страница 20: ...6 InfoPrint Manager for AIX Procedures ...
Страница 58: ...44 InfoPrint Manager for AIX Procedures ...
Страница 62: ...48 InfoPrint Manager for AIX Procedures ...
Страница 70: ...56 InfoPrint Manager for AIX Procedures ...
Страница 96: ...82 InfoPrint Manager for AIX Procedures ...
Страница 110: ...96 InfoPrint Manager for AIX Procedures ...
Страница 156: ...142 InfoPrint Manager for AIX Procedures ...
Страница 169: ...Part 2 Administrative procedures Customizing for special jobs Copyright InfoPrint Solutions Company 1998 2010 155 ...
Страница 170: ...156 InfoPrint Manager for AIX Procedures ...
Страница 234: ...220 InfoPrint Manager for AIX Procedures ...
Страница 236: ...222 InfoPrint Manager for AIX Procedures ...
Страница 256: ...242 InfoPrint Manager for AIX Procedures ...
Страница 326: ...312 InfoPrint Manager for AIX Procedures ...
Страница 330: ...316 InfoPrint Manager for AIX Procedures ...
Страница 331: ...Part 3 Operator and user procedures Copyright InfoPrint Solutions Company 1998 2010 317 ...
Страница 332: ...318 InfoPrint Manager for AIX Procedures ...
Страница 348: ...334 InfoPrint Manager for AIX Procedures ...
Страница 365: ...Part 4 Appendixes Copyright InfoPrint Solutions Company 1998 2010 351 ...
Страница 366: ...352 InfoPrint Manager for AIX Procedures ...
Страница 370: ...356 InfoPrint Manager for AIX Procedures ...
Страница 378: ...364 InfoPrint Manager for AIX Procedures ...
Страница 382: ...368 InfoPrint Manager for AIX Procedures ...
Страница 406: ...392 InfoPrint Manager for AIX Procedures ...
Страница 416: ...402 InfoPrint Manager for AIX Procedures ...
Страница 417: ......
Страница 418: ...Program Number 5648 F35 Printed in USA G550 1066 04 ...