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

# PATHTRAN.PUB

PATHTRAN.PUB is a public program that handles writing records to the Payroll PATHx Transaction History file. This interface is called from routines that need to write new records to the PATHx file.

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

`0099 ENTER F0,OSSECH,OSSE$,TH0$,TH1$,TH2$,TH1[ALL],TH2,TH3$,TH4$,TH5$,TH6$,TH7$,TH3,TH8$,TH99$[ALL],TH99[ALL]`

Variable | Description
F0 | Channel PATHx file is open on
OSSECH | Channel OSSE file is open on
OSSE$ | String template for OSSE$
TH0$...TH99[ALL] | PATHxxx IOList variables (see the Payroll File Layouts)

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