$List Global List and $List Session List: Difference between revisions
(Automatically generated page update) |
(Automatically generated page update) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<span class="pageSubtitle">$List_Global_List and $List_Session_List: List global/session $lists</span> | <span class="pageSubtitle">$List_Global_List and $List_Session_List: List global/session $lists</span> | ||
<p class="warn"><b>Note: </b> | <p class="warn"><b>Note: </b>Many $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $List_Global_List and $List_Session_List functions.</p> | ||
<var>$List_Global_List</var> and <var>$List_Session_List</var> return information about global and session $lists to a $list. | <var>$List_Global_List</var> and <var>$List_Session_List</var> return information about global and session $lists to a $list. | ||
Line 59: | Line 59: | ||
<li>[[Fast/Unload User Language Interface]]</li> | <li>[[Fast/Unload User Language Interface]]</li> | ||
<li>[[Media:JoclrNew.pdf|Janus Open Client]]</li> | <li>[[Media:JoclrNew.pdf|Janus Open Client]]</li> | ||
<li>[[Media:JosrvrNew.pdf|Janus Open Server]</li> | <li>[[Media:JosrvrNew.pdf|Janus Open Server]]</li> | ||
<li>[[Janus Sockets]]</li> | <li>[[Janus Sockets]]</li> | ||
<li>[[Janus Web Server]]</li> | <li>[[Janus Web Server]]</li> | ||
<li>Japanese functions</li> | <li>Japanese functions</li> | ||
<li>[ | <li>[[Media:SirfieldNew.pdf|Sir2000 Field Migration Facility]]</li> | ||
</ul> | </ul> | ||
[[Category:$Functions|$List_Global_List and $List_Session_List]] | [[Category:$Functions|$List_Global_List and $List_Session_List]] |
Latest revision as of 22:51, 20 September 2018
$List_Global_List and $List_Session_List: List global/session $lists
Note: Many $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $List_Global_List and $List_Session_List functions.
$List_Global_List and $List_Session_List return information about global and session $lists to a $list.
$List_Global_List and $List_Session_List are callable $functions.
Syntax
[%rc =] $List_Global_List(listid)
[%rc =] $List_Session_List(listid)
Syntax terms
%rc | A numeric variable to receive either of these:
|
---|---|
listid | The $list identifier to receive the output from $List_Global_List or $List_Session_List. This is a required argument. |
Usage notes
- The format of the data in the output $list is
Col 1-10 The EBCDIC number of items on the $list, right-justified. Col 11- The name of the global or session $list. - A $List_Session_List call when there is no session open causes a request cancellation.
Example
The following example displays information about all current global and session $lists:
%LIST = $ListNew %RC = $List_Global_List(%LIST) PRINT 'Global $lists:' %RC = $List_Print(%LIST) %LIST = $ListNew %RC = $List_Session_List(%LIST) PRINT 'Session $lists:' %RC = $List_Print(%LIST)