U@DELETEJOB deletes a batch job.
| Module |
JOBRTNS |
| Optional Fields |
(None) |
| Output |
The batch job is deleted. |
Required Fields
| Field |
Type and length |
Definition |
| E@WSUSERNAME |
A 10 |
Case-sensitive user name used to define the job. |
| E@WSJOBNAME |
A 10 |
Actual job name used to define the job. |
Unused Fields
| Field |
Type and length |
Definition |
| E@WSJOBQUEUE |
A 5 |
Job queue you want to submit the job through. (If left blank, the default queue is used.) |
| E@WSSTARTDATE |
N 8 |
Date the job should start. (If left blank, the job starts now.) |
| E@WSSTARTTIME |
N 6 |
Time the job should start. (If left blank, the job starts now.) |
Return Value
| Field |
Type and length |
Definition |
| E@JRERROR |
A 1 |
Y = Call failed.
N = Call successful. |
Programming Example
* Delete a batch job definition.
EVAL E@WSUSERNAME = 'LAWUSR1'
EVAL E@WSJOBNAME = 'MO202JOB'
CALLP U@DELETEJOB
|