The Input Exit is provided to allow additional processing
of the report input before the report is stored. This exit can only
be used when the INDEXSTYLE is not set to AFP and when the ANYEXIT
is not specified.
The exit processes two files. The report input file,
called OBJINPT in the sample exit, and an error message file, called
INPSTATS.
The sample exit routine performs the following: open
the input file, read the input file, build the page buffer, perform
report unique processing, and return control to the report capture
program. All processing is controlled by the MAINLINE section of the
exit. Changes related to file control processing may be required.
Important: Care should be taken when changing the routines that
build the page buffer. Do not alter the size of the INPUT-DATALINE.
The
sample code found in paragraph REPORT-UNIQUE-LOGIC is an example of
the kind of processing that can be performed in an input exit.
Important: The REPORT-UNIQUE-LOGIC routine must be customized
or removed for the exit to function properly with your report input.
The
exit is called dynamically during the report capture process. The
report capture routine calls the exit when the indexing parameters
specify an input exit name in the INPEXIT parameter.
The report administrator provides a program name for this parameter.
There
are no restrictions as to the type of processing that can be performed
in an input exit with the exception that the exit must pass the standard
parameter list back to the report capture program. Values must be
supplied for all parameters.
Beginning with
Content Manager OnDemand for z/OS®, Version 8.4 or later,
a line print file can have a fixed record length greater than 512
or a variable record length. To support this capability, a new parameter
format is provided. The old parameter format is still supported for
backwards compatibility. The parameter format that is used when an
input exit is called is determined as follows:
Table 1. How Content Manager OnDemand determines
whether to use the old parameter format or the new parameter format
InputRecord Format |
InputRecord Length |
INPEXITNEW parameter value |
z/OS
or
AIX |
Parameter format used |
Variable |
all |
Ignored |
both |
New |
Fixed |
512 or less |
N or not specified |
z/OS
|
Old |
Fixed |
512 or less |
Ignored |
AIX |
New |
Fixed |
More than 512 |
Y |
both |
New |
Fixed |
More than 512 |
Ignored |
both |
New |