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>nnetjfile()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETJFILE()
 Determines the name of a job file
------------------------------------------------------------------------------
 Syntax

     NNETJFILE(<cQueue>,<nJob>,[<cServer>|<nConId>])
        --> cFile

     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

     NNETJFILE() returns the name of the job file of the job <nJob> in
     <cQueue>.  If an error occurs (for example, if <cQueue> does not exist),
     the function returns an empty string.

 Description

     NOVELL NET JOB FILE
     Netware stores the contents of a job in a separate file.  The queue
     itself only contains references to these files.  With NNETJFILE(), you
     can determine the size of the job files.  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.  The job number can be determined with
     NNETCAPJOB() or NNETJLIST().

     NNETJFILE() only returns file names and file identification.  The file
     name is assigned to a job by the Queue Management System (QMS) when the
     job is created and cannot be modified.  The job file directory can be
     determined with NNETQDIR().

 Note

     .  This function requires that the requesting user have access to
        the queue as a user or an operator.

 Example

     Determine the job file name of the second job in the queue LINEPRINTER:

     nJob=BIN2I(SUBSTR(NNETJLIST('LINEPRINTER'),3,2))
     ? 'File name:', NNETJFILE('LINEPRINTER',nJob)

See Also: NNETCAPJOB() NNETJLIST() NNETJSIZE() NNETQDIR()

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