HP OpenVMS Systems Documentation |
HP OpenVMS System Services Reference Manual
You must specify the following input value item codes: SJC$_DESTINATION_QUEUE SJC$_BATCH_CHECKPOINTEstablishes a checkpoint in a batch job. No operation is performed if the requesting process is not a batch process.You must specify the following input value item code: SJC$_CHECKPOINT_DATA SJC$_CLOSE_DELETEDeletes the open job owned by the requesting process. No item codes are allowed.SJC$_CLOSE_JOBCompletes the specification of the open job owned by the requesting process and places the job in the queue specified in the SJC$_CREATE_JOB request that opened the job. If the SJC$_CLOSE_JOB request completes successfully, the job is no longer an open job; it becomes a normal batch or print job.You can specify the following output value item code: SJC$_JOB_STATUS_OUTPUT SJC$_CREATE_JOBCreates an open job for the requesting process. If the process already owns an open job, that job is deleted.An open job is a batch or print job that has not yet been completely specified. After you make the SJC$_CREATE_JOB request to open the job, you can make subsequent calls to $SNDJBC using the SJC$_ADD_FILE function code to specify the files associated with the job. Finally, you can complete the job specification with an SJC$_CLOSE_JOB request. If the SJC$_CREATE_JOB operation completes successfully, the open job created is given an entry number; the job is not assigned to the queue specified in the SJC$_CREATE_JOB operation until the SJC$_CLOSE_JOB request completes successfully. You must specify the following input value item code: SJC$_QUEUE You can specify the following input value or Boolean item codes:
You can specify the following output value item code: SJC$_ENTRY_NUMBER_OUTPUT SJC$_CREATE_QUEUECreates a queue. If the queue already exists and is not stopped, this request performs no operation. However, if the queue already exists and is stopped, the request alters the parameters of the queue based on the item codes specified in the request; if you specify the SJC$_CREATE_START item code, the request starts the queue.You must specify the following input value item code: SJC$_QUEUE You can specify the following input value or Boolean item codes:
SJC$_DEASSIGN_QUEUEDeassigns a logical queue from an execution queue.You must specify the following input value item code: SJC$_QUEUE SJC$_DEFINE_CHARACTERISTICDefines a characteristic name and number and inserts this definition into the queue file. The characteristic name can be up to 31 characters in length. Each characteristic name must have a unique number in the range 0 to 127. If the characteristic name is already defined, the request alters the definition of the characteristic.A job cannot execute on an execution queue unless the queue possesses all the characteristics possessed by the job; the queue can possess additional characteristics and the job will still execute. You must specify the following input value item codes: SJC$_CHARACTERISTIC_NAME SJC$_DEFINE_FORMDefines a form name and number, as well as other physical attributes of the paper stock used in printers, and inserts this definition into the system job queue file. If the form name is already defined, this request alters the definition of the form.Forms are used only by output execution queues and print jobs. A print job cannot execute unless the stock name of a form specified for the queue is the same as the stock name specified for the job. The stock name of a form, which you specify by using the SJC$_FORM_STOCK item code, specifies the paper stock used by the printer. Other item codes specify printing parameters for a job such as the margins, length of paper, and so on. Each form must have a unique number. Numbers can range from 0 to 9999. When a new queue file is created, the system supplies the definition of a form named DEFAULT with number 0 and default characteristics. You must specify the following input value item codes: SJC$_FORM_NAME You can specify the following input value or Boolean item codes:
SJC$_DELETE_CHARACTERISTICDeletes the definition of a characteristic name.You must specify the following input value item code: SJC$_CHARACTERISTIC_NAME SJC$_DELETE_FORMDeletes the definition of a form name. There must be no queues or jobs that reference the form.You must specify the following input value item code: SJC$_FORM_NAME SJC$_DELETE_JOBDeletes a job from the system job queue file. If the job is currently executing, it is aborted. If you specify the SJC$_QUEUE item code, the $SNDJBC service verifies that the selected job entry exists on the specified queue before deleting the job.You must specify the following input value item code: SJC$_ENTRY_NUMBER You can specify the following input value item code: SJC$_QUEUE If you specify the SJC$_QUEUE item code, the $SNDJBC service verifies that the selected job entry exists on the specified queue before deleting the job. SJC$_DELETE_QUEUEDeletes a queue and all of the jobs in the queue. The queue must be stopped, and there must be no other queues or jobs that reference the queue.You must specify the following input value item code: SJC$_QUEUE SJC$_DELETE_QUEUE_MANAGERRemoves all references to the specified queue manager from the shared master file. It also deletes the queue and journal files associated with the queue manager. A queue manager must be stopped to be deleted.You must specify the following input value item code: SJC$_QUEUE_MANAGER_NAME SJC$_DISABLE_AUTOSTARTDisables autostart on a node. By default, SJC$_DISABLE_AUTOSTART affects the requesting node. To disable autostart on a node other than the node from which the $SNDJBC request is sent, use the SJC$_SCSNODE_NAME item code to specify the affected node.Disabling autostart on a node forces the appropriate queue manager to perform these tasks:
You can specify the following input value item codes: SJC$_QUEUE_MANAGER_NAME For more information, refer to the HP OpenVMS System Manager's Manual. SJC$_ENABLE_AUTOSTARTNotifies the appropriate queue manager process that a node has progressed sufficiently in its startup procedure that batch and print jobs should execute.By default, SJC$_ENABLE_AUTOSTART affects the requesting node. To enable autostart on a node other than the node from which the $SNDJBC request is sent, use the SJC$_SCSNODE_NAME item code to specify the affected node. Once autostart is enabled, the queue manager starts all autostart-active queues on the appropriate node. When a node reboots, autostart is disabled until the SJC$_ENABLE_AUTOSTART request is entered. You can specify the following input value item codes: SJC$_QUEUE_MANAGER_NAME For more information, refer to the HP OpenVMS System Manager's Manual. SJC$_ENTER_FILECreates a job containing one file and places the job in the specified queue. To create a job with more than one file, you must make a sequence of calls to the $SNDJBC service using the SJC$_CREATE_JOB, SJC$_ADD_FILE, and SJC$_CLOSE_JOB function codes.You must specify the following input value item code: SJC$_QUEUE You must specify one of the following input value item codes: SJC$_FILE_IDENTIFICATION You can specify the following input value or Boolean item codes:
You can specify the following output value item codes: SJC$_ENTRY_NUMBER_OUTPUT SJC$_MERGE_QUEUERequeues all jobs in the queue specified by the item code SJC$_QUEUE to the queue specified by the item code SJC$_DESTINATION_QUEUE. The execution of current jobs is unaffected.You must specify the following input value item codes: SJC$_DESTINATION_QUEUE SJC$_PAUSE_QUEUEPauses the execution of current jobs in the specified queue and prevents the starting of jobs in that queue.You must specify the following input value item code: SJC$_QUEUE SJC$_RESET_QUEUEResets the specified queue by (1) terminating and deleting each executing job that is not restartable, (2) terminating and requeuing each executing job that is restartable, and (3) stopping the queue.You must specify the following input value item code: SJC$_QUEUE SJC$_START_ACCOUNTINGThis request performs two functions. If you specify the SJC$_ACCOUNTING_TYPES item code, the request enables recording of the specified types of accounting records; if you do not specify SJC$_ACCOUNTING_TYPES, the request starts the accounting manager and opens the system accounting file.You can specify the following input value or Boolean item codes: SJC$_ACCOUNTING_TYPES SJC$_START_QUEUEPermits the starting of jobs in the specified queue. If the queue was paused, current jobs are resumed.You must specify the following input value item code: SJC$_QUEUE You can specify the following input value or Boolean item codes:
SJC$_START_QUEUE_MANAGERStarts the clusterwide queue manager for the batch and print queuing system. It also opens the queue database.
|