JSUBMIT

The JSUBMIT.EXE command is used to submit jobs into the current schedule on the Argent Scheduler.

Syntax


JSUBMIT.EXE /NAME=JobTemplate

/PARAMS=Params

/SERVER=ServerName

/QUEUE=QueueName

/ALERT_START=AlertName

/ALERT_NORMAL=AlertName

/ALERT_ABEND=AlertName

/ALERT_LATE_START=AlertName

/RUN_AT=dd-MMM-ccyy:hh:mm or hh:mm

/EVERY=hh:mm

/UNTIL=dd-MMM-ccyy:hh:mm or hh:mm

/HOLD

Qualifiers

/NAME
This is required and must reference an existing job template definition in the Argent Scheduler where the JSUBMIT.EXE command is being run.

/PARAMS
This is optional and can be used to override the parameters configured in the job template definition. Use semi-colons to separate multiple parameters.

/SERVER
This is optional and can be used to override the Argent Queue Engine server name configured in the job template definition.

/QUEUE
This is optional and can be used to override the queue name configured in the job template definition.

Notes:

If EITHER /SERVER or /QUEUE is used, then BOTH are required.

The /SERVER and /QUEUE qualifiers are combined to form an expression which must specify the name of a queue that has been defined to the Argent Scheduler server.

For compatibility with the Argent Job Control Panel, a special value of ‘*‘ is supported for the /QUEUE qualifier. This special value has the same connotation as in the Argent Job Control Panel: Submit The Job To The First Available Queue.

/ALERT_START
This is optional and can be used to override the name of the Alert configured in the job template definition to issue when the job starts.

/ALERT_NORMAL
This is optional and can be used to override the name of the Alert configured in the job template definition to issue when the job ends normally.

/ALERT_ABEND
This is optional and can be used to override the name of the Alert configured in the job template definition to issue when the job ends abnormally.

/ALERT_LATE_START
This is optional and can be used to override the name of the Alert configured in the job template definition to issue when the job starts later than the scheduled time.

/RUN_AT
This is optional and can be used to override the scheduled start time configured in the job template definition.

/EVERY
This is optional and can be used to override the repeat values configured in the job template definition.

/UNTIL
This is optional and can be used to override the end time value configured in the job template definition.

/HOLD
This submits the job to the current schedule in held mode.

Example A


JSUBMIT.EXE /NAME=PAYROLL_BATCH /SERVER=QE_PAYROLL /QUEUE=NIGHTLY


This example submits a Job template called PAYROLL_BATCH to an Argent Queue Engine server call QE_PAYROLL within the NIGHTLY queue.

Example B


JSUBMIT.EXE /NAME=CRITICAL_JOB /RUN_AT=17-APR-2008:17:00 /EVERY=15:MINUTES


This example submits a Job template called CRITICAL_JOB to run on the 17th of April 2008 at 5:00 PM and begin repeating every 15 minutes.

Example C


JSUBMIT.EXE /NAME=DEPART_SUMMARY /ALERT_NORMAL=NOTIFY_DEPT_HEADS


This example submits a Job template called DEPART_SUMMARY and set the alert called NOTIFY_DEPT_HEADS to occur if the Job ends with a NORMAL condition.

See Also:

Command Reference

Network Usage