$FunList: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:$FunList}}
{{DISPLAYTITLE:$FunList}}
<span class="pageSubtitle"><section begin="desc" />$list of active and enqueued &FUNL requests<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />$list of active and enqueued [[Fast/Unload]] requests<section end="desc" /></span>
 
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $FunList function is [[to be entered]].</p>
 
 


This requests a list of active and enqueued ''[[Fast/Unload]]'' requests. The list is returned to a $list that can be processed with the $list functions.  
This requests a list of active and enqueued ''[[Fast/Unload]]'' requests. The list is returned to a $list that can be processed with the $list functions.  
Line 23: Line 19:
<p class="caption">$FunList Error Codes
<p class="caption">$FunList Error Codes
</p>
</p>


Each item in the destination $list has the following format :
Each item in the destination $list has the following format :
Line 53: Line 48:


<ul>
<ul>
 
<li>[[Fast/Unload User Language Interface]]
<li>&FUNULI
 
</ul>
</ul>
   
   
</p>
</p>
<p class="caption">Products authorizing $FunList
<p class="caption">Products authorizing $FunForc
</p>
</p>


[[Category:$Functions|$FunList]]
[[Category:$Functions|$FunList]]
[[Category:Fast/Unload $functions|$FunList]]

Revision as of 16:36, 1 February 2011

<section begin="desc" />$list of active and enqueued Fast/Unload requests<section end="desc" />

This requests a list of active and enqueued Fast/Unload requests. The list is returned to a $list that can be processed with the $list functions.

The $FunList function accepts one argument and returns a numeric result.

The only argument is a destination $list identifier.

Syntax

<section begin="syntax" /> %RESULT = $FunList(list_identifier) <section end="syntax" />

$FunList Function

%RESULT is set either to 0, if the information was added to the $list, or to an error code if not.

3 - CCATEMP is full 6 - Invalid $list identifier

$FunList Error Codes

Each item in the destination $list has the following format :

Col 1-8 Request number
Col 11-18 Task number running request or blank if request still enqueued
Col 21-30 Userid of request originator
Col 33-40 User number of request originator
Col 43-50 Time request originated
Col 53-60 DDNAME of file being unloaded

For example, this statement sequence displays a list of all active and enqueued requests.

%LIST = $ListNew %RC = $FunList(%LIST) IF %RC GE 0 THEN FOR %I FROM 1 TO $ListCnt(%LIST) PRINT $ListInf(%LIST, %I) END FOR


A full screen Fast/Unload request display procedure is provided with the Fast/Unload distribution. It is called FUNLIST CCAIN in the CMS distribution, and it is member FUNLIST in the MVS distribution library.

Products authorizing $FunForc