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

Figure 32.

Sample Output Record Exit DSECT

 

The

address of the control block containing the

following parameters i

the

output

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 contained in it.

RECORD@ (Bytes 9–12)

A pointer to the first byte of the output record. The record buffer (where KB equals 1024 bytes). 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 changebyte valuthe to 'X01'. Any value greater'01than' is Xinterpreted'00 ',asandX the 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

characte

signals when ACIF has finished

writing

the

output

file.

 

When EOF is signalled (EOF value = “Y”), the last

record

has alrea

presented

to

the output

exit.

The

pointer RECORD@

is

no

longer val

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

Page 147
Image 147
IBM S544-5285-01 manual RECORD@ Bytes, Sample Output Record Exit Dsect