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>nnetjpoint()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETJPOINT()
 Determines if a job is serviced at an interrupt
------------------------------------------------------------------------------
 Syntax

     NNETJPOINT(<cQueue>,<nJob>,[<lNewMode>],[<cServer>|
        <nConId>]) --> lMode

     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>.

     <lNewMode>  Designates an optional parameter that specifies if
     <nJob> is serviced by a print server when the job file has not been
     closed correctly.  If the parameter is designated .T., the QMS submits
     <nJob> to a print server.  If the parameter is set to .F., QMS discards
     the <nJob> when the job file has not been closed correctly.

     <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

     The return value of NNETJPOINT() indicates whether a job is printed
     (.T.) or discarded (.F.) when the job file has not been closed
     correctly.

 Description

     NOVELL NET JOB PRINT ON INTERRUPT
     NNETJPOINT() allows you to determine whether or not a job is printed
     when the job file has not been closed correctly.  To query the current
     setting for <nJob>, do not pass a value for <lNewMode>.

     The required job is specified by its job number.  The job number has
     nothing to do with the logical position of a job within a queue; for
     example, the job with the highest priority in a queue is not
     automatically job number 1.  The job number must be determined with
     NNETCAPJOB() or NNETJLIST().

 Examples

     .  Determine if the first job in the queue LINEPRINTER is printed
        when the job file has not been closed correctly:

        nJob=BIN2I(SUBSTR(NNETJLIST('LINEPRINTER'),5,2))
        ? NNETJPOINT('LINEPRINTER', nJob)

     .  Determine that the first job in the queue LINEPRINTER is
        printed when the job file has not been closed correctly:

        nJob=BIN2I(SUBSTR(NNETJLIST('LINEPRINTER'),5,2))
        ? NNETJPOINT('LINEPRINTER', nJob, .T.)

See Also: NNETJFLAGS()

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