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>nnetjwork()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETJWORK()
 Checks to see if a job is currently in service on a print server
------------------------------------------------------------------------------
 Syntax

     NNETJWORK(<cQueue>,<nJob>,[<cServer>|<nConId>])
        --> lProcess

     Netware: 2.2 and 3.11

 Arguments

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

     <nJob>  Designates the job number of the job that is processed in
     <cQueue>.

     <cServer>  Designates the name of the file server on which <cQueue>
     is processed.  Your workstation must be attached to <cServer>.

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

 Returns

     NNETJWORK() returns .T. if <nJob> is currently in service.  If a job is
     not yet in service or if an error occurs, the function returns .F..
     With NNETERROR() you can determine if the return value .F. results from
     an error.

 Description

     NOVELL NET JOB WORK
     NNETJWORK() allows you to determine whether or not a job is in service.
     If a job is already in service, its attributes cannot be modified.

 Example

     Check to see if the first job in the queue LINEPRINTER is already in
     service:

     nJob=BIN2I(LEFT(NNETJLIST('LINEPRINTER'),2))
     IF NNETJWORK('LINEPRINTER', nJob)
     ? 'Job in service'
     ENDIF

See Also: NNETJSRV()

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