MXSTPROC—Maximum stored procs


Use the Modify Maximum Stored Procs panel or the MXSTPROC command to specify the maximum number of stored procedure instances that can be in use by a single thread.

Modify Maximum Stored Procs panel

DDTJ DHB4 Modify Maximum Stored Procs
Command ===> _________________________________________________________________

  Command: CURRENT
Description . . . . . . . . : MAXIMUM STORED PROCS

Type the new maximum stored procs value you wish to change to. Then press Enter.

Maximum Stored Procs Parameter
Maximum Stored Procedures. . 0 (0-99999 or delta)

Command syntax and parameters

image2018-12-24_11-53-9.png

Value

Description

DB2ssid

Db2 subsystem ID or the name of the Db2 data sharing group to which the command applies.

opertuneID

OPERTUNE system profile name (if OPERTUNE is running as a started task) or the batch job name (if OPERTUNE is running as a batch job).

value

Maximum number of stored procedure instances that can be open at a given Db2 site per thread. If an application attempts to open a cursor once the maximum number of stored procedures has been reached, the statement will fail. Specify one of the following values:

  • A numerical value in the range 0–99999
  • A delta value
    Delta values are expressed numerically (+nn or -nn) or as a percentage (+nn% or -nn%). The resulting value must fall in the range 0–99999.

NORESET

The changes you request remain in effect until the Db2 subsystem is cycled.

Db2 parameter values

Field

Installation panel

CLIST parameter

ZPARM macro

ZPARM parameter

Max stored procs

DSNTIPX

None

DSN6SPRM

MAX_ST_PROC

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

OPERTUNE for DB2 12.1