The OPERATE Procedure
OPERATE Statement
Syntax
Optional Arguments
- SERVER=server-ID |
_ _port-number
-
identifies the default
server session to be managed. If this option is not specified, you
must identify the server in the SET SERVER command or in those PROC
OPERATE commands that allow you to identify the server to be managed.
For details, see Specifying a Server.
If you are using the
TCP/IP access method, you can specify the server's port number that
corresponds to the server ID in the TCP/IP SERVICES file. Precede
the port number with two consecutive underscores. (For details about
the SERVICES file, see the topic on the
TCP/IP SERVICES File in Communications Access Methods for SAS/CONNECT and SAS/SHARE in the Communications Access Methods for SAS/CONNECT and SAS/SHARE.)
Note: Do not space after the first
underscore or the second underscore.
- PRINTFILE=LOG | PRINT
-
directs the output
from the OPERATE procedure. PRINTFILE=LOG directs the output to the
SAS log. PRINTFILE=PRINT directs the output to the procedure output
file or Output window.
- SAPW=password |
"encoded-password"
-
specifies a server-access
password. This password is required to access a SAS/SHARE server that is executing with the
OAPW= option in PROC SERVER in effect.
- password
-
must be a valid SAS
name that is 1 to 8 characters in length. The value for this option
is replaced by Xs in the log. To protect this password, you should
use the security software at your site to limit access to the SAS
program statements that create the server.
- “encoded-password”
-
is an encoded version
of a password. Using encoded passwords promotes security and enables
you to store SAS programs that do not contain clear-text passwords.
To obtain an encoded
password, specify the clear-text password as input to the PROC PWENCODE
statement. For details, see the PWENCODE Procedure in the
Base SAS Procedures Guide.
Here is an example
of code for obtaining an encoded password:
proc PWENCODE in="srvmach";
run;
{sas001}c2Vydm1hY2g=
The clear-text password
srvmach
is specified in the PROC PWENCODE statement. The output is generated
in the form
{key}encoded-password.
sas001 is the key, which
is used to decode the encoded password to its clear-text form when
the password is needed.
Note: The encoded password is case-sensitive.
Use the entire generated output string, including the key.
Use the output from
the PROC PWENCODE statement as the value for
encoded-password in the appropriate statement.
- USER=user-ID| _PROMPT_
-
specifies the user
ID of the accessing client on the server. The operating environment
on which the client runs can also affect user ID conventions. For
details about user ID conventions that are imposed by the operating
environment, see Communications Access Methods for SAS/CONNECT and SAS/SHARE.
Here are the valid
values for this option:
- user-ID
-
For details about a
valid user ID, see Details .
- _PROMPT_
-
specifies that SAS
prompt the user for a valid user ID. Using _PROMPT_ is a way to enforce
security.
Aliases:USERNAME
USERID
UID
- PASSWORD=password | "encoded-password" | _PROMPT_
-
specifies the password
of the accessing client on the server. The operating environment on
which the client runs can also affect password naming conventions.
For details about password naming conventions that are imposed by
the operating environment, see Communications Access Methods for SAS/CONNECT and SAS/SHARE.
- password
-
must be a valid SAS
name that is 1 to 8 characters in length. The value for this option
is replaced by Xs in the log. To protect this password, you should
use the security software at your site to limit access to the SAS
program statements that create the server.
- "encoded-password"
-
is an encoded version
of a password. Using encoded passwords promotes security and enables
you to store SAS programs that do not contain clear-text passwords.
To obtain an encoded
password, specify the clear-text password as input to the PROC PWENCODE
statement.
Here is an example
of code for obtaining an encoded password:
proc PWENCODE in="srvmach";
run;
{sas001}c2Vydm1hY2g=
The clear-text password
srvmach
is specified in the PROC PWENCODE statement. The output is generated
in the form
{key}encoded-password.
sas001 is the key, which
is used to decode the encoded password to its clear-text form when
the password is needed.
Note: The encoded password is case-sensitive.
Use the entire generated output string, including the key.
Use the output from
the PROC PWENCODE statement as the value for
encoded-password in the appropriate statement.
Aliases:PASSWD
PASS
PWD
PW
- SETSASRC=(YES | NO)
-
causes the return code
of PROC OPERATE to be surfaced to the operating environment when SAS
execution terminates. For example, when submitting PROC OPERATE commands
under batch mode under z/OS, SETSASRC=YES specifies that a nonzero
return code from PROC OPERATE cause a condition code to be set in
the JES message log for the batch job that invoked PROC OPERATE.
If SETSASRC=NO, the
condition code for the batch job will be 0 regardless of whether the
PROC OPERATE commands executed successfully.
Copyright © SAS Institute Inc. All rights reserved.