![]() | 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 ...
|
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 ...
|
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.
|
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
]
_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
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.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
]
_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.