Define a CICS business transaction services process.
DEFINE PROCESS >>-DEFINE--PROCESS(data-value)--PROCESSTYPE(data-value)---------> >--TRANSID(data-value)--+---------------------+-----------------> '-PROGRAM(data-value)-' >--+--------------------+--+---------+------------------------->< '-USERID(data-value)-' '-NOCHECK-'
Conditions: INVREQ, IOERR, NOTAUTH, PROCESSERR, TRANSIDERR
The name of the program used in the execution of the new process is taken either from the PROGRAM option, or, if PROGRAM is not specified, from the transaction definition pointed to by the TRANSID option.
The transaction attributes specified on the TRANSID and USERID options take effect when the process is activated by a RUN command, but not if it is activated by a LINK command—see RUN.
BTS does not commit the addition of the process until the requesting transaction has taken a successful syncpoint.
Note that the process name must be unique in the repository—see the PROCESS and PROCESSTYPE options—and that BTS does not commit the addition of the process until the requesting transaction has taken a successful syncpoint.
You can use this option to improve BTS performance by removing the write to the repository and its associated logging. However, if you do so be aware that the error of specifying a non-unique process name no longer causes a PROCESSERR condition to be returned on the DEFINE PROCESS command. The error may not be discovered until much later—when syncpoint occurs—making it much harder to debug.
The acceptable characters are A-Z a-z 0-9 $ @ # / % & ? ! : | " = ¬ , ; < > . - and _. Leading and embedded blank characters are also permitted.
If the name is specified as a literal string that is less than 36 characters long, it is padded with trailing blanks up to 36 characters. If the name is specified as a variable whose value is less than 36 characters long, no padding occurs.
Each process-type maps to a VSAM data set (the repository), on which information about processes of the named type is stored. That is, information about the state of a process (and of its constituent activities) is stored on the repository associated with the process-type to which it belongs. Records for multiple process-types can be stored on the same repository data set.
You can categorize your processes by assigning them to different process-types.
The transaction must be defined in the CICS® region in which the DEFINE PROCESS command is executed.
The value of this field is known as the defined userid.
If you omit USERID, the defined userid defaults to the userid under which the transaction that issues the DEFINE command is running—we can call this the command userid.
If USERID is specified, CICS performs (at define time) a surrogate security check to verify that the command userid is authorized to use the defined userid. Thus, if you specify USERID, you must authorize the command userid as a surrogate user of the defined userid.