$FunPurg: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 28: | Line 28: | ||
<p class="code"> | <p class="code"> | ||
<ul class="smallAndTightList"> | <h2>Products authorizing {{PAGENAMEE}}</h2><ul class="smallAndTightList"> | ||
<li>[[Fast/Unload User Language Interface]] | <li>[[Fast/Unload User Language Interface]] | ||
</ul> | </ul> |
Revision as of 18:31, 25 October 2012
Purge running or waiting Fast/Unload request
This purges a Fast/Unload request which is either running or enqueued to run.
The $FunPurg function accepts one argument and returns a numeric result.
The only argument is a string that identifies the request number for the request to be purged. To purge a request, a user must either have initiated the request or have system manager privileges. For example, the following code creates an asynchronous unload request, and then immediately purges it:
%RC = $FunLoad('DATA',..,'ASYNC') IF %RC GE 0 THEN %RC = $FunPurg(%RC) END IF
Syntax
<section begin="syntax" />%result = $FunPurg(req_num) <section end="syntax" />
5 - User does not have privilege to purge request 6 - Request not found