- 2

lines

down

from

the

indexing

anchor

record,

50 columns

across,

 

 

30 bytes

in

length

 

 

 

 

 

 

Ÿ

index5='Date Due',field5

 

 

 

 

 

 

 

'Date Due'

is

the 5th

index attribute

 

 

 

 

field5

maps

to field5the

index

value,

which is:

 

 

 

 

- 4

lines

down

from

the

indexing

anchor

record,

60 columns

across,

 

 

12 bytes

in

length

 

 

 

 

 

The

result

of using

these

indexing parameters

is that

the first page

the ACIF output file will contain indexing tags for each of the five

attributes. Using Workbench Viewer, customer service representatives c

single customer bill in the ACIF document using any combination of the in

attributes.

 

 

 

 

 

 

 

 

 

 

Specifying ACIF Processing

 

Parameters

for

EBCDIC

Input

Data

 

 

 

 

 

 

 

 

 

You

 

can

 

process

the

ACIF

parameters

that are needed to produce the

bill

for

 

this

example application by using one of the following methods:

Ÿ

Create

and

specify

a

 

parameter

file

 

 

 

 

 

 

 

 

Ÿ

Enter

theacif

command, parameters, and values on

the

command

line

or

in

 

shell

script

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

This

section describes

the creation

of

a

parameter

file

that

can

be

ACIF

parameters when

the

input file

is

in

EBCDIC.

 

 

 

 

 

 

For

 

the

 

sake

of

this

example,

assume that

the

data

was

generated

on

is

 

accessed

via NFS. The disk where

the

input

data

resides is

mounte

which

retains

the data as EBCDIC. The

input data

is

in

variable length

format

on

the

S/370 host,fileformatso a parameter, specifyingfileformat=record,

 

 

is

 

required.

(See the

descripfileformation

ofparameter,the

on page

33.)

 

 

Using a Parameter

File

with

EBCDIC

Input

Data

 

 

 

 

 

 

 

 

A

parameter

file

created

for

use with

EBCDIC

input

data

is

shown

in

page 59.

To

use a parameter file, you specify the parameteracif

file

nam

command

parmdd

parameter. For example, to use a parameter file named

PARMFILE,

specify:

 

 

 

 

 

 

 

 

 

 

 

parmdd=PARMFILE

 

 

 

 

 

 

 

 

 

 

 

Note:

Literal

values usedfieldin , indexthe

andtrigger

parameters

must

be

 

 

 

 

expressed

in hexadecimal strings when the input

data

is

anything

 

 

ASCII.

In

Figure 13, because the input data is EBCDIC,

hexadeci

 

 

strings

are

entered

which

represent

the

literal

values.

For examp

 

 

which

is the 2nd

index attribute,

for

the 2nd data

field,

is

follows:

index2=X'D5819485',field2

58 ACIF User’s Guide

Page 78
Image 78
IBM S544-5285-01 manual Input Data, Parameters, Specifying Acif Processing, Andtrigger