Limiting resources for statements from remote locations
Several important guidelines and restrictions apply when you use the resource limit facility in a distributed processing environment.
About this task
Resource limits apply only to the following types of SQL statements:
- SELECT
- INSERT
- UPDATE
- MERGE
- TRUNCATE
- DELETE
Procedure
To use the resource limit facility in conjunction with distributed processing:
Option | Description |
---|---|
Dynamic statements from requesters that use DRDA protocols using TCP/IP | You can create a
DSNRLMTxx table to limit resources by client information (RLFFUNC='8' or RLFFUNC='9') such as:
You can use a DSNRLSTxx table for this purpose. However, you must then govern by package name (RLFFUNC='2' or RLFFUNC='7')(RLFFUNC='2' or RLFFUNC='7'). In this case, you must also:
The 'PUBLIC' value also applies to local locations. If the value of the LUNAME column is blank, DB2 assumes that the row applies only to the local location, and the row does not apply to any incoming distributed requests. |
SQL statements from requesters that use DRDA protocols using SNA | You
can use a DSNRLMTxx table to govern by the following types of
client information (RLFFUNC='8' or RLFFUNC='9'):
You can use a DSNRLSTxx table for this purpose. However, you must then govern by package name (RLFFUNC='2' or RLFFUNC='7'). In this case, you must also:
A 'PUBLIC' value in the LUNAME column also applies to local locations. If the value of the LUNAME column is blank, DB2 assumes that the row applies only to the local location, and the row does not apply to any incoming distributed requests. |
If no qualified row is present in the resource limit table to limit access from remote locations, the limit is controlled by the value of the RLFERRD subsystem parameter.