Non-Zero Return Codes
If ACIF receives a non-zero return code from any exit program, ACIF issues
message 0425-412 and terminates processing.
Attributes of the Input Print File
ACIF provides information about the attributes of the input print file in a data
structure available to ACIF’s user exits. Figure 18 shows the format of this data
structure.
typedef struct _PFATTR
/\ Print File Attributes
\/
{
char
cc[3];
/\ Carriage controls? - "YES" or "NO "
\/
char
cctype[1];
/\ Carriage control type - A(ANSI), M(Machine), Z(ASCII) \/
char
chars[2ð];
/\ CHARS values, including commas (eg. GT12,GT15)
\/
char
formdef[8]; /\ Form Definition (FORMDEF)
\/
char
pagedef[8]; /\ Page Definition (PAGEDEF)
\/
char
prmode[8];
/\ Processing mode
\/
char
trc[3];
/\ Table Reference Characters - "YES" or "NO "
\/
} PFATTR;
Figure 18. Sample Print File Attributes C Language Header
The address of the control block containing the following parameters is passed to
the user exits:
cc (Bytes 1–3)
The value of the cc parameter as specified on the acif command. ACIF uses
the default value if this parameter is not explicitly specified.
cctype (Byte 4)
The value of the cctype parameter as specified on the acif command. ACIF
uses the default value if this parameter is not explicitly specified.
chars (Bytes 5–24)
The value of the chars parameter as specified on the acif command, including
any commas that separate multiple font specifications. Because the chars
parameter has no default value, this field contains blanks if no values are
specified.
formdef (Bytes 25–32)
The value of the formdef parameter as specified on the acif command.
Because the formdef parameter, has no default value, this field contains
blanks if no value is specified.
pagedef (Bytes 33–40)
The value of the pagedef parameter as specified on the acif command.
Because the pagedef parameter has no default value, this field contains blanks
if no value is specified.
prmode (Bytes 41–48)
The value of the prmode parameter as specified on the acif command.
Because the prmode parameter has no default value, this field contains blanks
if no value is specified.
74
ACIF User’s Guide
Содержание 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...