900-DELETE-JOB

900-DELETE-JOB deletes a batch job.

Library JOBRTNS
Optional Fields (None)
Output The batch job is deleted.

Required Fields

Field Type and length Definition
WSJR-USER-NAME A 10 Case-sensitive user name used to define the job.
WSJR-JOB-NAME A 10 Actual job name used to define the job.

Unused Fields

Field Type and length Definition
WSJR-JOB-QUEUE A 5 Job queue you want to submit the job through. (If left blank, the default queue is used.)
WSJR-START-DATE N 8 Date the job should start. (If left blank, the job starts now.)
WSJR-START-TIME N 6 Time the job should start. (If left blank, the job starts now.)

Return Value

Field Type and length Definition
WSJR-ERROR A 1

Y = Call failed.

N = Call successful.

Programming Example

*       Delete a batch job definition.
        MOVE lawusr1                  TO WSJR-USER-NAME.
        MOVE MO202JOB                 TO WSJR-JOB-NAME.
        PERFORM 900-DELETE-JOB.