Previous Topic: Control Statement Functions

Next Topic: CHANGE Statement


ADD Statement

The statement type A represents an ADD statement. The following data elements, if present, are moved from the input statement to the corresponding fields of the output file record:

If the action code is J, then a single-step job record is built. An S action code assumes that multiple step records are being built for a job. In the latter case, the Job Name, CPU Identification, Run Date, Partition Identification and Start Time must be the same for each step. The Stop Time varies depending on the step Stop Time.

Position

Field Length

Field Name

Notes

1

1

Statement Type

Must be A

2

1

Action Code

Must be J or S

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-49

16

User Information

 

50-51

2

Cancel Code

 

52-59

8

Phase Name

 

60-65

6

CPU Time

99999; Seconds

66-80

15

Reserved

Not used