SEG control statement
A SEG control statement defines segments that need changes before being loaded into an output database. You can specify up to 50 SEG control statements for each DB control statement.
0.........1.........2.........3.........4.........5.........6.........7.........8
012345678901234567890123456789012345678901234567890123456789012345678901234567890
SEG oldname newname userexit comments
CANCEL
- Position
- Description
- 1
- Code
SEG
in the first three bytes to identify this as a SEG control statement. There must be a SEG control statement for each segment type that requires change before the segment type can be loaded into the new database. This field is required. - 11
- This required, left-aligned field is the name of the segment in the old DBD.
- 21
- This is the left-aligned name of the segment in the new DBD. If this field is blank, the segment name in the old DBD (column 11) is used.
- 31
- This field will contain one of the following codes:
- userexit
- This code is the left-aligned name of the user exit routine that gets control before inserting each occurrence of this segment type.
- Blank field
- Leave the field blank if a user exit routine is not used for this segment type.
- CANCEL
- Use this code if this segment type is not to be reloaded into the new database.
- 41
- FABRRELD does not use this field. You can use it for comments.