
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetpjcnt()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
NNETPJCNT()
Determines the number of jobs in a job file
------------------------------------------------------------------------------
Syntax
NNETPJCNT([<cUser>],[<cServer>|<nConId>]) --> nNumber
Netware: 2.2 and 3.11
Arguments
<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
NNETPJCNT() returns the number of print job definitions in the job
definition file (PRINTCON.DAT) of <cUser>. If an error occurs, the
function returns -1.
Description
NOVELL NET PRINT JOB COUNT
A job definition file (PRINTCON.DAT) can contain up to 37 entries.
NNETPJCNT() allows you to determine the current number of job
definitions. If <cUser> is not the current user, access rights for the
mail system of the user are required.
Example
Determine the number of print job definitions for the current user:
? NNETPJCNT()
See Also: NNETPJADD()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson