;print the header
; Inputs:
; INLN = where to start printing the header array
; skips printing date & page# if you start at 2
; INHDR = header array
; INFLD = used in INHDR(4) - Field Number
; INFLDT = used in INHDR(4) - Field Name
; INFIL = used in INHDR(4) - File Number
; INFILT = used in INHDR(4) - File Name
; INPAGE = page number of last previous page
; Outputs:
; INPAGE = page number used on this page
INERS(J)
;check for error, and if in error, log it.
; Input:
; INN = error to check for
; Output:
; Integer: 1=error found, 0=no error found
; Purpose: check for specific errors. e.g. J=2:check that INFLD has
; a numeric value, J=4:see if IN7S is nil.
INSPRNT(INSENS,INALL)
;Print the data
INW(INTOP)
;Write the Data
; Inputs:
; INTOP = flag, 1 = check if new page needed
; INDATA = input print data
; Outputs:
; DUOUT = returns an exit request when user "^" out
; INDATA = reset to """ """