Troubleshooting
Problem
This document describes the steps to disable the opportunistic locking function, which was added at V5R4.
Resolving The Problem
To disable the opportunistic locking function, which was added at V5R4, do the following:
- Open Navigator for i.
- Navigate to "IBM i NetServer" (Network > Servers > TCP/IP).
- Right-click "IBM i NetServer" in Navigator for i then select Properties.
- Click the Advanced tab.
- Click the Next Start button.
- Clear the Allow Opportunistic Locking option.

- Click OK to close the Advanced properties, and then close the "IBM i NetServer Properties" window by clicking OK in that window.
-
The IBM i NetServer will not use opportunistic locking the next time it is started. For the change to take effect immediately, the IBM i NetServer must be restarted. Do one of the following:
- Right-click "IBM i NetServer" and select Stop.
- Right-click "IBM i NetServer" and select Reset and Start.
Or from an IBM i command line:
- ENDTCPSVR *NETSVR
- STRTCPSVR *NETSVR
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Component":"Host Servers","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Historical Number
444116968
Was this topic helpful?
Document Information
Modified date:
01 January 2020
UID
nas8N1014487