SPDO Procedure

SET MODE OPER Statement

Enables you to run privileged operator commands.

Requirement: You must have special privilege and specify ACLSPECIAL=YES in the LIBNAME statement in order to use this statement.
Interaction: Used in conjunction with the LIST USERS[/LOCKING], SET USERS[/LOCKING], SHOWLIBNAME, and OPER statements to issue proxy commands.
See: SPD Server proxies are described in detail in Managing SPDSBASE Processes.

Syntax

SET MODE OPER;

Details

The SET MODE OPER statement sets you as the operator of the user proxy that you are currently set to. It is typically executed after the SET USER or SET USER/LOCKING statement.
A user proxy can have only one operator at any time. If you submit the SET MODE OPER statement when someone is already established as operator of the user proxy, you get the following message:
ERROR: Operator mode owned by another connection.
Cannot grant this request.
After you have successfully set yourself as the operator, you can submit the OPER statement. See OPER Statement.
Last updated: February 3, 2017