SNA NRJE User/Programmer Reference Manual (30292-90006)

Chapter 5 139
User Intrinsics
NRJECancel
The first element of the
Result
array is set to zero if no
errors took place. The structure of the
Result
array is
described in “Parameters Common to NRJE Intrinsics”
in the introduction to this chapter.
Always test the first element of
Result
immediately
after you call this intrinsic. If the first element of
Result
is not zero, test the other elements of
Result
to
determine the nature of the problem that has occurred.
Description
Use NRJECancel to remove job stream spool files from the transmission
queue. Specify a spool file set one of these ways:
Individually, by spool file identifier, or by job name, if it is unique.
Collectively, by job name (if it is generic), for all files of the logon
user, or for all files of another user (if you have NM capability).
After NRJECancel has returned control to your program, test the first
element of
Result
.
Text Reference
See CANCEL in Chapter 3 , “User Commands.