Please enable JavaScript to view this site.

A-Shell Consolidated Reference

Navigation: Subroutines > MIAMEX

MX_ZAPQUEUE

Scroll Prev Top Next More

xcall MIAMEX, MX_ZAPQUEUE, jobno

MX_ZAPQUEUE (MIAMEX 41) removes the jobtbl record and any associated queue blocks for the specified job number. As one might expect, this will not be appreciated if the user is actively running, and should only be used in extreme circumstances or when you are sure the user is no longer active. jobno is the job number of the user to zap.

MX_ZAPQUEUE is used by KILL, QUTL and SYSTAT/K/Z commands. The last of these, SYSTAT/K/Z, is the preferred and best way to remove resources left over from a job that has aborted without cleaning itself up.