Retrieves a job for servicing.
Specifies whether the record is in use.
Points to the previous record.
Points to the next record.
Specifies the connection number of the station that placed the job in the queue.
Specifies the number of the task that was active when the job was placed in the queue, as filled by QMS.
Specifies the object ID number of the user that is logged in to the station making the queue entry, as filled in by QMS.
Specifies the ID number of the server that the client specifies to service this entry.
Specifies the earliest time that the queue client is willing to have the job serviced (year, month, day, hour, minute, second or 0xFFFFFFFF for the first opportunity).
Specifies the time that the job entered the queue, as filled in by QMS (year, month, day, hour, minute, and second from the server's system clock).
Specifies the unique number that servers or clients can use when referring this queue entry, as assigned by WMS when the job is created.
Specifies the type of job represented by the queue entry.
Specifies the job's position within the queue.
Specifies the current status of the job:
Specifies the name of the file that holds data associated with the queue entry.
Specifies the file handle (in standard NetWare format) that a job client or job server can use to access the file associated with an opened job.
Specifies the station number of the queue server that is servicing the job, as maintained by QMS.
Specifies the task number of the queue server that is servicing the job, as maintained by QMS.
Specifies the ID number of the queue server that is servicing the job, as maintained by QMS.
The server specifies the job queue and the entry type list that it wants to service. If the server is attached to the target queue and the queue has one or more jobs that match the requirements, the first such job in the queue is given to the calling server and the file associated with the queue entry is automatically opened.
Set TargetServerID to -1L if this entry can be serviced by any server. If the specified server is not authorized to service the queue, the job is rejected. TargetServerID must be supplied by the client that created the queue job.
A server can specify that it will service only the entries for particular types. Then a queue can be used to hold entries for job requiring different types of service. QEntryType must be supplied by the client that created the queue job. Do not use -1 as the entry type.
The first job will be placed at the head of the queue and will be assigned position number 1; the second job will be placed behind the first job and will be assigned position number 2, etc. As jobs are removed from the queue, the position numbers of the remaining jobs are updated to reflect their changing position within the queue. The job position number is assigned and maintained by QMS.
When a client creates a queue entry, QMS creates a file with a unique name in the queue directory and grants the queue read and write access to the file.
NetWare shells provide hooks to allow applications to open the special NETQ device after opening a queue job to attach the file handle specified by QFileHandle to a DOS file. Applications can then use standard DOS requests to access the job file. QFileHandle is set by QMS.