[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_STQJOB()
 Close file and start queue job
------------------------------------------------------------------------------
 Syntax
 
      fn_stQJob( nQueueID, nJob, nHandle ) ->lSuccess
 
 Arguments

     <nQueueID> is the bindery object ID of the queue
                You can get this from fn_gbndoid().
     <nJob>     is the job number.  This can be found in the
                job structure array returned from fn_crqjbfi().
                (Create queue job and file).  If you're using
                netto.ch, you can refer to this as QJ_JOB_NUMBER,
                e.g., aJobStruct[ QJ_JOB_NUMBER ]
     <nHandle>  is the file handle returned from fn_crQJbFi()

 Returns

     <lSuccess>, .t. if the call is successful.  If it isn't, check
     fn_error() for:

          150    =  Server out of memory
          208    =  Queue error
          209    =  No queue
          211    =  No queue rights
          213    =  No queue job
          214    =  No job rights
          254    =  Server bindery locked
          255    =  Bindery failure

 Description

     When a station is finished with the queue job, it should
     issue this call to let QMS know the job is ready to be
     serviced by a queue server.  The station that created the
     job is the only station that can close and start it.

 Examples


 Source: N:\SRC\QMS\CFSTQJB.PRG

 Author: Glenn Scott

See Also: fn_gbndoid() fn_crqjbfi()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson