Session Object Declaration
All session objects are declared as type ApiObject. For example,
Local ApiObject &MYSESSION;
Global ApiObject &PSMessage;The following session objects can be declared as Global or Component:
-
Session
-
PSMessages Collection
-
PSMessage
All other session objects must be declared as Local.
In this section, we discuss the following topics:
-
State considerations.
-
Considerations for declaring conditions.