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>nnetpjwait()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPJWAIT()
 Sets or queries the timeout for a print job
------------------------------------------------------------------------------
 Syntax

     NNETPJWAIT([<cJob>],[<nNewTimeout>],[<cUser>],
        [<cServer>|<nConId>]) --> nTimeout

     Netware: 2.2 and 3.11

 Arguments

     <cJob>  Designates the selected print job definition.  The default
     value designates the default job.

     <nNewTimeout>  Designates an optional parameter that allows you to
     set a timeout in seconds for <cJob>.  A value of 0 indicates a timeout
     that does not end.

     <cUser>  Designates the name of the user whose print job definition
     is processed.  The default value designates the current user.

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

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

 Returns

     NNETPJWAIT() returns the timeout in seconds.  The value 0 indicates a
     timeout that does not end.  If an error occurs, the function returns -1.

 Description

     NOVELL NET PRINT JOB WAIT
     The timeout in a job definition specifies after how many seconds without
     data output a job is automatically closed.  NNETPJWAIT() allows you to
     set or query the timeout.  Do not pass a value for <nNewTimeout> to
     query the number of seconds.  If <cUser> is not the current user, access
     rights for the mail system of the user are required.

 Examples

     .  Determine the timeout in the job definition MYJOB:

        ? NNETPJWAIT('MYJOB')

     .  Set the timeout in the job definition MYJOB to 20 seconds:

        ? NNETPJWAIT('MYJOB', 20)

See Also: NNETPJCAP()

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