Previous Topic: CHANGE Statement

Next Topic: Output


DELETE Statement

The statement type D represents a DELETE statement. The following input statement fields must be present to locate the corresponding record(s) on the input tape to be deleted:

In order to delete all job steps within the same job as defined on the DELETE statement, the action code should be J; the Step Stop Time is unnecessary. An S action code requires the Step Stop Time to further qualify the tape record as the specific and only step within a job for deletion. It should be noted that caution must be used when deleting single steps within a job. Unless the step to be deleted is the last one in a job, you should adjust the Start and Stop Times of the other steps to account for the elapsed time gap that would otherwise occur for the job.

An additional feature is available on the DELETE statement that allows you to delete groups of jobs. You accomplish this by coding a blank action code and the Job Name on the DELETE statement. No other fields are used for this function and there can be as many as fifty DELETE statements. A Job Name table is built for future references. Any input tape record having a matching Job Name in the Job Name Table is deleted.

Position

Field Length

Field Name

Notes

1

1

Statement Type

Must be D

2

1

Action Code

Must be J, S, or blank

3-10

8

Job Name

 

11

1

CPU Identification

 

12-19

8

Run Date

mm/dd/yy or dd/mm/yy

20-21

2

Partition ID

 

22-27

6

Job Start Time

hhmmss

28-33

6

Step Stop Time

hhmmss

34-80

47

Reserved

Not used