You are here: Development Standards > Routines > Application-SpecificRoutines > PAHVTRAN.PUB

# PAHVTRAN.PUB

PAHVTRAN.PUB is a public program that handles writing records to the Payroll PAHVx Leave History file. This interface is called from routines that need to write new records to the PAHVx file.

GENSEQ.PUB is called to determine the next available sequence number for the Leave History file, which is then used to write the new record to PAHVx.

`0099 ENTER F0,OSSECH,OSSE$,HV0$,HV1$,HV2$,HV3$,HV4$,HV0[ALL],HV99$[ALL],HV99[ALL]`

Variable | Description
F0 | Channel PAHVx file is open on
OSSECH | Channel OSSE file is open on
OSSE$ | String template for OSSE$
HV0$...HV99[ALL] | PAHVxxx IOList variables (see the Payroll File Layouts)

Exit Points | Explanation
EXIT | PAHVTRAN.PUB normally exits with no error.
EXIT ERR | An error is returned when an error occurs.