ProcMan Objects
Here are functions for handling other than JCL Procman objects.
INSMANACT
Inserts a manual activity (i.e. a text displayed to Procman user). Optionally the activity name where the text is displayed can be specified.
Prototype
VOID INSMANACT (STR TEXT)
VOID INSMANACT (STR TEXT, STR ACT)
Returns
VOID
Parameters
TEXT
: A text of the manual activityACT
: The optional activity name
Inserts a manual activity (i.e. a text displayed to Procman user). Optionally the activity name where the text is displayed can be specified. Use this ver-sion if you want to insert more activities.
Prototype
VOID INSMANACT (LST TEXT)
VOID INSMANACT (LST TEXT, STR ACT)
Returns
VOID
Parameters
TEXT
: A list containing text of one or more activities. Each item in the list must be a string and contains just one activity.ACT
: The optional activity name
WRITEINDB
Writes a note in DD HOSXOUT (WTEMPS section)
Prototype
VOID WRITEINDB (STR KEY, STR SEPAR, STR TARGET,
STR MEM, STR LIB, STR DATA);
VOID WRITEINDB (STR KEY, STR SEPAR, STR TARGET,
STR MEM, STR LIB, LIST LSTDATA);
Returns
VOID
Parameters
KEY
: Data typeSEPAR
: Data separatorTARGET
: Target ProcMan activity (optionally with a system ID)MEM
: Member nameLIB
: Library nameDATA
: Data to be written – use this to insert a single lineLSTDATA
: List of lines to be written – use this if you want to insert multiple lines
The data created by this function become available in HOSXIN of the activity specified as 3rd parameter (TARGET). You can:
specify just an activity name, for example: JCL_NEW_APPROVE
or append also a system id to the activity name, for example: JCL_NEW_APPROVE.SYSH_ID1
When the system is present (it must be separated from the activity name with a dot) then the data will be available in HOSXIN of the selected activity only on the specified system. This allows you to specify different HOSXIN content for different target systems of the same activity.
Last updated