Appendix B. Data Stream Information

General-use Programming Interface and Associated Guidance Information i contained in this appendix.

This appendix describes the Tag Logical Element (TLE) structured field 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) doc

AFP

Application

Programming

Interface

(AFP API) supports the

TLE

structured

and

can

be

used from

host COBOL

and PL/I applications to create ind

data

stream

(MO:DCA-P) documents. Document

Composition

Facility

(DCF),

with

APAR PN36437, can also be used to

insert

TLE

structured

fields

in an

document.

 

 

 

 

 

 

 

 

 

 

 

 

 

The format of the TLE structured

field

 

that

ACIF

supports

and

genera

follows:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Carriage

Control Character

(X

'5A

')

 

 

 

 

 

 

 

 

 

 

Specifies

the

carriage

control

character, which is required in t

 

the

input

record to

denote a

structured

field.

 

 

 

Structured Field Introducer (8 bytes)

Specifies the standard structured-field header containing the stru identifier and the length of the entire structured field, includi

Tag Identifier Triplet (4–254 bytes)

Specifies the application-defined identifier or attribute name ass tag value. An example is 'Customer Name'. This is a Fully Qualified

triplet'02(X') with a type value'0B ' (AttributeofX Name). For more

information, referMixedto Object Document Content Architecture. Reference

Tag Value Triplet (4–254 bytes)

Specifies the actual value of the index attribute. If the attr Name', the actual tag value might be 'Bob Smith'. This triplet conta

in byte 1, a type'36value' (Attributeof X Value) in byte 2, and 2 rese bytes '0000(X ').

The following is an example of a 39-byte TLE structured field containi values. For the purposes of illustration, each field within the struc on a separate X 'line' .denotes hexadecimal data," " deanotesd 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 pages. Consider a bank statement application. Each bank statement is a pages, and you may want to associate specific indexing information a statement level (for example, account number, date, customer name, and

Copyright IBM Corp. 1993, 1999

187

Page 207
Image 207
IBM S544-5285-01 manual Tag Logical Element, 187, Structured Field Introducer 8 bytes, Tag Identifier Triplet 4-254 bytes