TMF Application Programmer's Guide (G06.26+)
TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmer’s Guide—522419-005
5-45
ARFETCHFRAGMENT
before-image-buf output, optional
INT .EXT:ref:*
is a buffer in the application process in which the before-image of the updated data
record fragment is returned.
max-before-copy-len input, optional
INT:value
is the maximum number of bytes to copy into before-image. This must be
supplied if before-image-buf is supplied.
ARFETCHFRAGMENT will return an error for values of max-before-copy-len
less than 1.
actual-before-len output, optional
INT .EXT:ref
is the actual byte length of the before-image of the fragment.
after-image-buf output, optional
INT .EXT:ref:*
is a buffer in the application process in which the after-image of the updated data
record fragment is returned.
max-after-copy-len input, optional
INT:value
is the maximum number of bytes to copy into after-image. This must be
supplied if after-image-buf is supplied.
ARFETCHFRAGMENT will return an error for values of max-after-copy-len
less than 1.
actual-after-len output, optional
INT .EXT:ref
is the actual byte length of the after-image of the fragment.
Considerations
•
ARFETCHFRAGMENT may be called without supplying the before-image and
after-image buffers. This usage may be useful in determining an appropriate buffer
size to allocate for successive calls that have those buffers supplied.