Appendix B. Data Stream Information
General-use Programming Interface and Associated Guidance Information is
contained in this appendix.
This appendix describes the Tag Logical Element (TLE) structured field and the
formats of the resource data sets.
Tag Logical Element (TLE) Structured Field
TLE structured fields are allowed only in AFP data stream (MO:DCA-P) documents.
AFP Application Programming Interface (AFP API) supports the TLE structured field
and can be used from host COBOL and PL/I applications to create indexed AFP
data stream (MO:DCA-P) documents. Document Composition Facility (DCF), with
APAR PN36437, can also be used to insert TLE structured fields in an output
document.
The format of the TLE structured field that ACIF supports and generates is as
follows:
Carriage Control Character (X
'
5A
'
)
Specifies the carriage control character, which is required in the first position of
the input record to denote a structured field.
Structured Field Introducer (8 bytes)
Specifies the standard structured-field header containing the structured field
identifier and the length of the entire structured field, including all of the data.
Tag Identifier Triplet (4–254 bytes)
Specifies the application-defined identifier or attribute name associated with the
tag value. An example is 'Customer Name'. This is a Fully Qualified Name
triplet (X
'
02
'
) with a type value of X
'
0B
'
(Attribute Name). For more
information, refer to
Mixed Object Document Content Architecture Reference.
Tag Value Triplet (4–254 bytes)
Specifies the actual value of the index attribute. If the attribute is 'Customer
Name', the actual tag value might be 'Bob Smith'. This triplet contains a length
in byte 1, a type value of X
'
36
'
(Attribute Value) in byte 2, and 2 reserved
bytes (X
'
0000
'
).
The following is an example of a 39-byte TLE structured field containing two index
values. For the purposes of illustration, each field within the structured field is listed
on a separate line. X
' '
denotes hexadecimal data, and
" "
denotes EBCDIC or
character data.
X'5Aðð26D3Að9ððððððð'
X'11ð2ðBðð'
"Customer Name"
X'ðD36ðððð'
"Bob Smith"
TLE structured fields can be associated with a group of pages or with individual
pages. Consider a bank statement application. Each bank statement is a group of
pages, and you may want to associate specific indexing information at the
statement level (for example, account number, date, customer name, and so on).
Copyright IBM Corp. 1993, 1999
187
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: ......