Writing a Stored Process |
Category: | Character |
Syntax | |
Arguments | |
Details | |
Examples |
Syntax |
STPSRV_SESSION('command',<timeout>) |
Note:
The APPSRV_SESSION function can be used instead of STPSRV_SESSION. This feature is provided in order to enable you to convert existing SAS/IntrNet programs to stored processes.
is the command to be performed. Allowed values are CREATE and DELETE.
is the optional session timeout in seconds. This property is valid only when you specify the value CREATE for the command property.
Details |
The STPSRV_SESSION function creates or deletes a session. The function returns zero for a successful completion. A nonzero return value indicates an error condition.
Examples |
SAS Statements |
---|
rc=stpsrv_session('create', 600); |
rc=stpsrv_session('delete'); |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.