Page Groups

 

 

 

 

 

 

 

 

 

 

 

Page groups are architected groups of one

or

more

pages

to

which

so

meaning is assigned. Consider the

example of

the

bank

statement applicat

Each bank statement in the

print

file

comprises

one or

more

pages.

By

each statement in a logical manner, you can

assign

specific

indexing

or

information to each group (statement). You can then use

this

grouping t

actions such as archival,

retrieval,

viewing,

preprocessing, postprocessing

on. The grouping also represents a natural hierarchy. In the case of

application of AFP Workbench, you

can

locate

a group of pages and then

page within a group. If you again use the example of the bank stat

application, you can see how useful this can be. You can retrieve

f

(storage) system all of the bank statements

for a specific branch. Y

select a specific bank statement

(group-level) to

view

and

select a

ta

page (page-level).

 

 

 

 

 

 

 

 

 

 

 

Begin Document (BDT)

Structured

Field

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

When

ACIF

processes

an

 

AFP

data

stream

print

file,

it

checks

for

an

FQ

X'01' triplet in the BDT structured field. If the FQN triplet exists,

otherwise,

ACIF

creates

one using the

file name identified in the DDn

statement

 

forOUTPUTDD

 

.

ACIF uses

the

FQN

value

when

it creates an FQN ty

X'83' triplet on the Begin

Document

Index

(BDI)

structured

field

in

t

file

and

on the Begin Resource Group

(BRG) structured field in the

 

Although

the

input

file

 

may

contain

multiple

BDT

structured fields,

the

 

will

contain only one BDT structured field. (The same is true of End D

(EDT)

structured

fields.)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

In

the

case

of

line-mode

files,

ACIF

creates

the

BDT

structured

fiel

a null token name'FFFF(X')

and

creates

an

FQN '01type' tripletX

using the file

 

name

identified

in

the

DDname

statementOUTPUTDD

for.

 

 

 

 

 

 

 

 

 

ACIF

also

 

creates a Coded Graphic Character Set

Global'01'Identifier tri

using the

code

page

identifier

CPGIDspecifiedparameterin the. For

more

 

 

 

 

information

on

CPGIDthe

 

parameter,

see

page

92 .

 

 

 

 

 

 

 

 

ACIF

also

 

creates

two

additional

FQN

triplets

for

the 'resource0A')

name (t

and

the index object name'98 ')(type.Th seX two values are the same as those

contained

in

their

respective'01'

tritypletsX

on

the

 

BDI

and

BRG structured

fields.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Begin Named Group (BNG)

Structured

Field

 

 

 

 

 

 

 

 

 

 

 

When

ACIF processes an AFP data stream print

file

containing

page

 

groups

checks for an FQN type'01' tripletX on

each

BNG

structured

field. If

the

triplet exists, ACIF uses the value when it

creates'0D ' tripletan FQN ontypethe X

corresponding Index Element (IEL) structured

field in the index object

appends an 8-byte rolling

sequence

number

to

ensure

uniqueness

in

the na

no

FQN

triplet exists, ACIF creates one. Here

too,

ACIF

appends

a

rollin

EBCDIC

sequence

number to

ensure

uniquely

named

groups,

up

to

a

maximum

99

999

999 groups within a print file.

 

 

 

 

 

 

 

 

 

 

198 ACIF User’s Guide

Page 218
Image 218
IBM S544-5285-01 manual Groups, Begin Document BDT, Begin Named Group BNG, Edt