Previous Topic: ADD Statement

Next Topic: DELETE Statement

CHANGE Statement

The statement type C represents a CHANGE statement. The following input statement fields must be present to locate the corresponding record(s) on the input tape to be modified:

In order to modify all Job steps within the same job as defined on the CHANGE statement, the action code should be J and the step Stop Time must be coded to further qualify the tape record as the specific and only step within a job to be modified. The following CHANGE statement fields may be used to modify the corresponding input record fields:

The update method employed by the DMU program requires the user to code only the fields to be modified. Blank fields on the CHARGE statement indicate that there is no change for that field. Nonblank fields are moved to the corresponding fields in the output tape record. If the user wants an alphanumeric field changed to blanks or a numeric field changed to zeros, then a question mark (?) should be coded in the first position of the appropriate CHANGE statement field. Without this feature it would be impossible to blank out a field on the output tape since all blank fields on a CHANGE statement are ignored. In addition to the previously listed data elements, the Start and Stop Time fields can be modified because they are used to locate the input tape record for modification. The change data or new Start and Stop Time fields are coded in the CHANGE Start Time and CHANGE Stop Time fields. When present, they follow the same rules as the other change fields.

Position

Field Length

Field Name

Notes

1

1

Statement Type

Must be C

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

6

Change Start Time

hhmmss

72-77

6

Change Stop Time

hhmmss

78-80

3

Filler

Not used