Note:

 

Only

one

record

can

reside

in

the buffer

at

any

 

time.

EOF (Byte

22)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Specifies an end-of-file (EOF) indicator. This

indicator is

a

1-byt

code

that

specifies

whether an

EOF

condition has

been

encountered

EOF

is

 

signalled

(EOF

value

=

“Y”),

the

last

record

has

already b

to

the

input

exit, and

the

input

file

has

been

closed.

The

poin

no longer valid. Records cannot be inserted

when

EOF

is

signalled.

following

are

the only valid

values

for

this

parameter:

 

 

 

Y

 

Specifies

that

EOF

has

been

encountered

 

 

 

 

 

NSpecifies that EOF has not been encountered

This end-of-file indicator allows the exit program to perform some processing at the end of the print file. The exit program cannot parameter.

Index Record Exit

ACIF provides an exit that

allows

you

to

modify

or

ignore

the recor

writes

into

the

index

object

file.

The

program

invoked

at

this

exit

ACIF

INDXEXIT

 

 

parameter.

 

 

 

 

 

 

 

 

 

 

 

 

 

This

exit

receives

 

control before a record (structured field)

is

 

object

file.

The

exit

program can request that

the

record

be

igno

The

largest

record

 

that can be processed is 32 752

bytes

 

(this

do

record

descriptor

word).

 

 

 

 

 

 

 

 

 

 

 

 

Figure 31

contains

a

sample

DSECT

that

describes

the

control

block

that

to

the

exit

program.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PARMLIST

DSECT

 

 

Parameters for the output record exit

 

 

 

 

 

 

 

WORK@

DS

 

A

 

 

Address of 16-byte static work area

 

 

 

 

 

 

 

PFATTR@

DS

 

A

 

 

Address of print-file-attribute information

 

 

 

 

 

 

RECORD@

DS

 

A

 

 

Address of the record to be written

 

 

 

 

 

 

 

RECORDLN

DS

 

H

 

 

Length of the output record

 

 

 

 

 

 

 

 

REQUEST

DS

 

X

 

 

Delete or process the record

 

 

 

 

 

 

 

 

EOF

 

DS

 

C

 

 

Last call indicator to ACIF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure

31.

 

Sample Index Record Exit DSECT

 

 

 

 

 

 

 

 

 

 

The

address

of

the

control

block

containing the

following

parameters

i

the

index

 

record

exit

in

a standard parameter

list

pointed

to

by

WORK@

(Bytes

1–4)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A pointer to a static, 16-byte memory block. The exit program can

parameter to save information across calls

(for

example, pointers t

areas). The 16-byte work area is

aligned on a full word boundary

initialized

to binary

zeros prior

to the

first call. The user-wri

must provide

the code

required to

manage

this

work area.

PFATTR@ (Bytes 5–8)

A pointer to the print-file-attribute data structure. See “Attribut Print File” on page 130 for more information on the format of this and the information it contains.

Chapter 9. User Exits and Attributes of the Input Print File in 125OS/390, MVS, VM,

Page 145
Image 145
IBM S544-5285-01 manual Eof, Sample Index Record Exit Dsect