Special SPDO Commands

Overview of SPDO Commands

The SPDO commands described in this section require that ACLSPECIAL= is enabled for your SPDO LIBNAME connection.
To enable ACLSPECIAL=, you must first grant the SPD Server user ID ACLSPECIAL= access rights. Next, the user must request access for a specific connection. To request access, the user adds the ACLSPECIAL=YES option to the LIBNAME statement. The user can now submit SPDO commands:
SPDSCMD 'command'
This example runs the specified command in the context of the user ID for a spdsserv process. This spdsserv process is associated with the LIBNAME connection that the user used to invoke PROC SPDO. No restrictions are placed on commands that are executed in this manner. Therefore, you must carefully consider which SPD Server users need ACLSPECIAL access rights.
Note: For additional information about using PROC SPDO, see Controlling SPD Server Resources with PROC SPDO.

SPDO Command Examples

List the WORKPATH directory:
spdscmd 'ls /spdswork/*.spds';
spdscmd 'dir d:\spdswork\*.spds';
Clean up WORKPATH files:
spdscmd 'rm /spdswork/*.spds';
spdscmd 'del d:\spdswork\*.spds';