DSIR REFORMAT REPORTS

TITLEVALUE
NAMEDSIR REFORMAT REPORTS
DESCRIPTIONThis RPC will take a given report array and resize the length to fit into
a smaller print area. It takes into account header and footer lines and
resizes the main body of the report. It may return more pages than the
input array. Example: Report A is 60 lines with 3 lines of header and 2
lines of footer. Report A has 50 lines of body. Report A needs to print
on a preprinted form that only allows for 40 lines of text. Calling the
RPC will return an 80 line array that will have lines 1 through 3 being
header, lines 4 through 38 being text and lines 39 and 40 being footer.
Lines 41 through 43 will be copies of lines 1 through 3, lines 44 through
78 will be the remaining text with blank lines to fill to line 78 and
lines 79 and 80 will be copies of lines 39 and 40. If there are blank
lines that can be removed from the bottom of the body to fit onto one
page they will be removed so that the report will fit.
TAGFRMTRPT
ROUTINEDSIROIR
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERNEW REPORT LENGTH
DESCRIPTIONThis is the number of lines to format the old report into.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH9

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERHEADER COUNT
DESCRIPTIONThis is the number of line at the top of the report that are considered
to be headers. The RPC will always take the first x number of lines as
header, this parameter is that x.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH9

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERFOOTER COUNT
DESCRIPTIONThis parameter tells the RPC how many lines are footer text.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH9

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETEROLD LINE COUNT
DESCRIPTIONThis parameter is needed for the RPC to know many lines per page are in
the incoming report.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH9

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERINCOMING (OLD) REPORT
DESCRIPTIONThis is the array of the old report to be reformatted.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONThis RPC returns an array comprised of entries in the incoming array,
with blank lines removed or text lines moved to fit into the print length
defined in parameter 1.
AVAILABILITYSUBSCRIPTION
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED