When defining the numbers of TCBs that are allowed in a CICS® region, you need to consider the settings in UNIX System Services (USS) that control the number of processes that can run within a CICS region.
In USS, the MAXPROCUSER parameter specifies the maximum number of processes one USS UNIX user identifier (UID) can have concurrently active, regardless of how the processes were created. The value can be in the range 3 to 32767. The default is 25. The MAXPROCUSER parameter is specified in SYS1.PARMLIB member BPXPRMxx. The z/OS® MVS™ Initialization and Tuning Reference gives guidance on the setting of MAXPROCUSER.
MAXPROCUSER is independent of any particular userid. However, there is an equivalent RACF® setting to limit the number of processes by userid for a particular user. This is PROCUSERMAX. It sets the maximum number of processes per userid field of the RACF OMVS SEGMENT of a userid's profile.
The following TCBs all contribute towards the potential number of processes associated with a particular CICS region.
By adding the number of TCBs from the above list, it is possible to obtain the total number of processes that might be associated with a given CICS region. This total represents a possible upper limit for the region.
Where you have CICS systems that share the same userid, add the totals together to give the maximum number of processes associated with that userid. This is because MAXPROCUSER is the number of processes for a UID, not for each job.
When you have determined the total possible number of processes associated with each userid for your CICS regions, use the largest number and add an extra 10% to this figure when calculating the value of MAXPROCUSER.
If you have a particular userid with a high result for the total number of processes required, due to several CICS systems sharing the same userid, setting MAXPROCUSER to such a figure might not be appropriate. In this situation, use the PROCUSERMAX parameter on the OMVS segment of the RACF profile for the userid to set a suitably high value to accommodate the requirements of the userid.
The setting of the MAXPROCUSER and PROCUSERMAX parameters does not in itself consume extra resources. These are limiting values. CICS does not generate the open TCBs until they are needed, meaning that processes and system resources are not associated with TCBs until required. Note that TCBs specified in the SSLTCBS system initialization parameter are created at CICS system initialization.
The setting of the TCPIP system initialization parameter does not affect the use of open TCBs by the OTE. Also, if you specify TCPIP=NO and no OTE-managed services are used by CICS, then two of the MAXPROCUSER entries will be used in the initialization of the Sockets domain.
If you do not set a large enough value for MAXPROCUSER for the CICS environment, you might get a number of warning and error messages. These are described below: