Chapter 3. Example

of

an

ACIF

Application

in

AIX

 

 

 

 

 

 

 

The

line-data

application

used

 

as

the

example

in this

section

is

sho

on

page 54.

The application generates telephone bills. The objective

billing application output available on customer service representatives’

workstations.

Then,

when

a

customer

calls

with

a billing inquiry, the r

can

view the bill

in

the

same

format

as

the

customer’s

printed copy

To

do

this,

you

must

convert

the

output

from

your application

into

a

format

that

can be

used

with

the Viewer application

of

AFP

Workbenc

Viewer). You also must index the file to facilitate searching the Viewer. To ensure that all resources used in the bills are availabl

workstation,

you must use the resource retrieval function of ACIF.

Your

tasks

include:

 

 

 

 

1. Examining

the input file to

determine how to

tag it

for viewing

2. Specifying ACIF

parameters

for indexing and

resource

retrieval for

or

EBCDIC

input

data

 

 

 

3. Identifying the locations of the resources used when the bills

4. Determining the form definition and page definition used to print

5. Running the ACIF job

6. Concatenating the index object file, the resource file, and the

7. Making

the

document

file available

to

a

workstation running Microsoft

for

viewing

with

Workbench

Viewer

 

 

 

Note:

This

example

 

is

hypothetical;

an notinputactuallyfile isprovided. The

 

example

is

intended

only to help you understand how ACIF may

 

used

for

an

actual

application,

and

to assist you when you

 

your

own

application.

For

practical

use, you must provide you

 

input

file, and specify paths, directories, and so forth, a

 

your

particular

installation

and

application.

The following topics are covered in this section:

Ÿ

An example of an input file

 

 

Ÿ

Specifying ACIF processing parameters for ASCII input data

Ÿ

Specifying ACIF processing parameters for EBCDIC input data

Ÿ

Identifying the locations of the specified resources

Ÿ

Determining

 

the

 

form

definition and

page definition

resources need

 

and

print

the

ACIF

job

 

 

 

Ÿ

How

to run

the

ACIF

job

 

 

Ÿ

The output files created by running the ACIF job

 

Ÿ

Concatenating

the

output

files

 

 

Ÿ

Accessing

the

document

file from a

workstation for

viewing

Copyright IBM Corp. 1993, 1999

53

Page 73
Image 73
IBM S544-5285-01 manual Aix