![]() | SUMMARY | DETAIL |
Macros to manipulate and create sessions.
Macro Summary | |
external | %lsaf_deletesession(lsaf_sessionid=);
Deletes a session.
|
external | %lsaf_endsession(lsaf_sessionid=);
Ends a session.
|
external | %lsaf_getmysessions(sas_dsname=work.lsafgetmysessions);
Gets the metadata of the sesions that are defined for the current user. The metadata is ...
Deprecated. Replaced by lsaf_getsessionsbyquery in this release, and will be deprecated in a future release. |
external | %lsaf_getsessionlistsize(lsaf_sessionid=, lsaf_formatvalue=0);
Returns the list size of a session. The macro variable _lsafSessionListSize_ contains the ...
|
external | %lsaf_getsessionlogsize(lsaf_sessionid=, lsaf_formatvalue=0);
Returns the log size of a session. The macro variable _lsafSessionLogSize_ contains the ...
|
external | %lsaf_getsessions(sas_dsname=work.lsafgetsessions);
Gets the metadata for all sessions. The metadata is stored in a SAS data set. The privilege ...
Deprecated. Replaced by lsaf_getsessionsbyquery in this release, and will be deprecated in a future release. |
external | %lsaf_getsessionsbyquery(lsaf_userid=, lsaf_engine=, lsaf_type=, lsaf_state=, lsaf_submissionlabel=, lsaf_startedfromdate=, lsaf_startedtodate=, lsaf_endedfromdate=, lsaf_endedtodate=, lsaf_sessionlimit=, sas_dsname=work.lsafgetsessionsbyquery);
Gets the metadata for all of the sessions that are based on a user-specified query. The ...
|
external | %lsaf_getsessionstate(lsaf_sessionid=);
Returns the state of a session. The macro variable _lsafSessionState_ contains the value.
|
external | %lsaf_getusersessions(lsaf_userid=, sas_dsname=work.lsafgetusersessions);
Gets the metadata for all of the user sessions. The metadata is stored in a SAS data set.
Deprecated. Replaced by lsaf_getsessionsbyquery in this release, and will be deprecated in a future release. |
external | %lsaf_sessionexists(lsaf_sessionid=);
Indicates whether a session exists.
|
Macro Detail |
%lsaf_deletesession(lsaf_sessionid=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_sessionid
-
- Required - The case-sensitive identifier of the session. This can be
%lsaf_endsession(lsaf_sessionid=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_sessionid
-
- Required - The case-sensitive identifier of the session. This can be
%lsaf_getmysessions(sas_dsname=work.lsafgetmysessions);
[ Exposure:
external
]
Deprecated. Replaced by lsaf_getsessionsbyquery in this release, and will be deprecated in a future release.
_lsafMsg_
-
The return message._lsafRC_
-
The return code.sas_dsname
-
- Optional - The name of the output SAS data set to contain the metadata
%lsaf_getsessionlistsize(lsaf_sessionid=, lsaf_formatvalue=0);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code._lsafSessionListSize_
-
The size of the session list.lsaf_sessionid
-
- Required - The identifier of the session in the repository. Thislsaf_formatvalue
-
- Optional - Indicates whether to format the value. Non-formatted
%lsaf_getsessionlogsize(lsaf_sessionid=, lsaf_formatvalue=0);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code._lsafSessionLogSize_
-
The size of the session log.lsaf_sessionid
-
- Required - The identifier of the session in the repository. Thislsaf_formatvalue
-
- Optional - Indicates whether to format the value. Non-formatted
%lsaf_getsessions(sas_dsname=work.lsafgetsessions);
[ Exposure:
external
]
Deprecated. Replaced by lsaf_getsessionsbyquery in this release, and will be deprecated in a future release.
_lsafMsg_
-
The return message._lsafRC_
-
The return code.sas_dsname
-
- Optional - The name of the output SAS data set to contain the metadata
%lsaf_getsessionsbyquery(lsaf_userid=, lsaf_engine=, lsaf_type=, lsaf_state=, lsaf_submissionlabel=, lsaf_startedfromdate=, lsaf_startedtodate=, lsaf_endedfromdate=, lsaf_endedtodate=, lsaf_sessionlimit=, sas_dsname=work.lsafgetsessionsbyquery);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_userid
-
- Optional - The user identifier to return from the search. If a value islsaf_engine
-
- Optional - The session engine to return from the search. If a value islsaf_type
-
- Optional - The session type to return from the search. If a value is notlsaf_state
-
- Optional - The session state to return from the search. If a value is notlsaf_submissionlabel
-
- Optional - The name that is associated with a submission. If alsaf_startedfromdate
-
- Optional - The started from date range for sessions within alsaf_startedtodate
-
- Optional - The started to date range for sessions within a specificlsaf_endedfromdate
-
- Optional - The ended from date range for sessions within a specificlsaf_endedtodate
-
- Optional - The ended to date range for sessions within a specificlsaf_sessionlimit
-
- Optional - The maximum number of sessions to return at one time.sas_dsname
-
- Optional - The name of the output SAS data set to contain the metadata
%lsaf_getsessionstate(lsaf_sessionid=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_sessionid
-
- Required - The case-sensitive identifier of the session. This can be
%lsaf_getusersessions(lsaf_userid=, sas_dsname=work.lsafgetusersessions);
[ Exposure:
external
]
Deprecated. Replaced by lsaf_getsessionsbyquery in this release, and will be deprecated in a future release.
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_userid
-
- Required - The user identifier of the sessions to retrieve.sas_dsname
-
- Optional - The name of the output SAS data set to contain the metadata
%lsaf_sessionexists(lsaf_sessionid=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code._lsafSessionExists_
-
Indicates whether the session exists.lsaf_sessionid
-
- Required - The case-sensitive identifier of the session.