Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetdelq()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETDELQ()
 Deletes a print queue
------------------------------------------------------------------------------
 Syntax

     NNETDELQ(<cQueue>,[<cServer>|<nConId>]) --> lSuccess

     Netware: 2.2 and 3.11

 Arguments

     <cQueue>  Designates the name of the print queue that is deleted.

     <cServer>  Designates the name of the file server where <cQueue> is
     established.  Your workstation must be attached to <cServer>.

     <nConId>  Designates the connection ID of your workstation on
     <cServer>.

 Returns

     NNETDELQ() returns .T. if the queue (<cQueue>) has been deleted
     successfully.  If an error occurs, the Novell error code can be queried
     with the NNETERROR() function.

 Description

     NOVELL NET DELETE QUEUE
     NNETDELQ() allows you to delete an entire queue.  After a queue has been
     deleted with NNETDELQ(), all jobs of <cQueue> are canceled, all job
     files are deleted, and all queue directories are removed.  Supervisor
     rights are required to delete a queue.

 Example

     Delete the queue LINEPRINTER on the default server:

     IF NNETDELQ('LINEPRINTER')
     ? 'Queue has been deleted successfully!'
     ELSE
     ? 'Queue could not be deleted!'
     ENDIF

See Also: NNETCRTQ() NNETJDEL()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson