SNA NRJE User/Programmer Reference Manual (30292-90006)
220 AppendixA
Parsing Algoithms and User Exit Procedures
Banner Decode Exit Procedure Specification
Banner Decode Exit Procedure Specification
A description of the exit procedure to be used to parse host output
banner pages is given below.
NOTE
In NRJE/XL, the Banner Decode Exit Procedure is called the Writer
Decode Exit Procedure Specification.
Syntax
LA BA I I
Procedure NRJEBANNER(
UserWorkArea
,
DataLine
,
LineLength
,
Cctl
,
I BA I I
RecordType
,
Jobnum
,
Filenum
,
Action
)
NOTE
The procedure name is identified in the NMMGR Writer Data screen
for the applicable writer and need not necessarily be called
NRJEBANNER.
Parameters
UserWorkArea
A logical array for input/output (of 100 words).
UserWorkArea
can be used for global storage; its size
is from 0 through 99. This parameter is initialized to
zeros by NRJE, but it is not subsequently modified by
NRJE.
DataLine
An input byte array containing one logical record
from the data set. This array will be decompressed and
translated according to the configuration of the logical
writer receiving the data set. For logical printers, the
carriage control character is passed separately; it is not
prefixed to the data line.
LineLength
A positive input integer variable (passed by value)
indicating the number of bytes in
DataLine
. This does
not include the carriage control character for print data
sets, which is passed separately. A 0 indicates a blank
line, and a -1 indicates that the end of the data set has
been received.
Cctl
Input integer variable passed by value. This is the
carriage control character for print data sets; it is set to
zero for punch data sets.
RecordType
Input integer variable passed by value. This
parameter is set to zero if
DataLine
contains a line of