Download User's Guide

Transcript
EXITPGMPRM - Exit Program Parameters
Parameter
EXITPGMPRM
Applies to
commands:
CVTSPLSTMF, CVTSPLCSV, CVTSPLHTML, CVTSPLPDF,
CVTSPLRTF, CVTSPLSAV, CVTSPLSPLF, CVTSPLTIFF,
CVTSPLTXT, CVTSPLXLS, SAVSPLF
Dependent on:
CVTSPLSTMF: PMTADLPARM(*YES) and not EXITPGM(*NO).
Others: Not EXITPGM(*NONE)
This parameter allows you to define whether CoolSpools should pass any userdefinable parameter strings to the exit program(s) defined on the EXITPGM
parameter, and, if so, on what basis.
Refer to the CoolSpools Programmer‟s Guide for further details of how to write and
call an exit program.
If EXITPGM(*VAR) is specified, no exit programs will be called but you can use the
EXITPGMPRM, EXITPGMPOS and/or EXITPGMKEY parameters for the purposes
of defining variables to be extracted from the spooled file and referred to through the
CoolSpools variable names <:EXITPGMPOSn:> (where n = 1-99) or
<:EXITPGMKEYn:> (where n = 1-99).
This parameter consists of two elements:
o Type of parameters
o CCSID of parameter data
Type of parameters
Options are:
*NONE
No text will be extracted from the report.
For an exit program with a Type 1 parameter list, the userdefinable parameter will consist of all blanks.
For an exit program with a Type 2 or Type 3 parameter list,
the user-definable parameter count will be zero and no userdefinable parameters will be passed.
*POS
You will use the EXITPGMPOS parameter to define one or
more areas of the page from which text will be extracted and
passed to the exit program(s) as user-definable parameters.
*KEY
You will use the EXITPGMKEY parameter to define one or
more areas of the page from which text will be extracted and
passed to the exit program(s) as user-definable parameters.
*POSKEY
You will use both the EXITPGMPOS and EXITPGMKEY
parameters to define one or more areas of the page from which
text will be extracted and passed to the exit program(s) as
user-definable parameters.
Page: 131