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

# INSERROL.PUB

INSERROL.PUB is a public program that rolls the serial numbers in the xxLSxxx file for line inserts.

`0100 ENTER FILE[ALL],APP$,BATCH$,TRAN$,LINE$,ROL_LOC[ALL],CHANNEL`

Variable | Description
FILE[ALL] | Standard file array used for the data file channel number
APP$ | Application ID
BATCH$ | Batch ID of the transaction (FILL(6) for AP and PO)
TRAN$ | Transaction ID
LINE$ | Line number to insert
ROL_LOC[ALL] | GENLINE LOC[] array
CHANNEL | FILE[] array index for the xxLSxxx file

Exit Points | Explanation
EXIT | INSERROL.PUB does not return an error.