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

“Attrib

Print

File”

on

page 74

for more

information

on the

format of

this

and

the

information contained in

it.

 

 

 

record (Bytes 9–12)

A pointer to the first byte of the output record. The record (where KB equals 1024 bytes) buffer. The buffer resides in st ACIF, but the exit program is allowed to modify the output recor

recordln (Bytes 13–14)

Specifies the length, in bytes, of the output record. If the modified, this parameter must also be updated to reflect the a record.

request (Byte 15)

Specifies how the record is to be processed by ACIF. On entry program, this parameter'00 '.is WhenX the exit program returns control to ACIF, this parameter must have the'00 ' valueor'01X',X where:

X '00 '

Specifies

that

the

record

be

processed

by ACIF.

X '01'

Specifies

that

the

record

be

ignored by

ACIF.

A value of'00 'X on entry to the exit program specifies that the r processed. If you want to ignore the record,request bytechangevaluetheto X'01'. Any value greater'01than' is Xinterpreted'00 ';astheX exit processes the record.

Note: Only one record can reside in the buffer at any time.

eof (Byte

16)

 

 

 

 

 

An End-Of-File eof( ) indicator. This indicator is a 1-byte

character

signals

when

ACIF

has finished writing the output

file.

 

When eof is signaledeof value=‘Y’),( the last record has already been

presented to the output

exit.recordThe ispoinoterlonger

valid.

Records

may

not

be

inserted eof whenis

signaled. The following

are the only vali

values

for

this

parameter:

 

 

Y Specifies that the last record has been written.

NSpecifies that the last record has not been written.

This end-of-file flag, used as a last-call indicator, allows the ex return to ACIF. The exit program cannot change this parameter.

Chapter 4. User Exits and Attributes of the 71Input Print File

Page 91
Image 91
IBM S544-5285-01 manual Inserted eof whenis