Object Definition Functions

Use the object definition functions to define or modify the following Optimâ„¢ objects.

Define/Modify Primary Keys

The following line commands are available when defining or modifying Optim primary keys.

D[n]
Deletes a line, or n number of lines.
DD
Identifies the first and last lines of a block of lines to be deleted.
I[n]
Inserts a blank line, or n number of blank lines.
M[n]
Moves a column name, or n number of column names, to a new destination.
MM
Identifies the first and last lines of a block of lines to be moved.
A
Specifies that the destination for the move operation is after this line.
B
Specifies that the destination for the move operation is before this line.

Define/Modify Relationships

The following line commands are available when defining a relationship on the Define Relationship or Modify Relationship panel.

C[n]
Copies a line, or n number of lines, to a new destination.
CC
Identifies the first and last lines of a block of lines to be copied.
D[n]
Deletes a line (pair of Column Names), or n number of lines, from the relationship.
DD
Identifies the first and last lines of a block of lines to be deleted.
EXP
Expands an entry. A 75-character area is provided for the parent and child Column Name values.
I[n]
Inserts a line, or n number of lines, directly after the line on which it is entered. Only those lines on which data is entered are retained.
M[n]
Moves a line, or n number of lines, to a new destination.
MM
Identifies the first and last lines of a block of lines to be moved.
R[n]
Identifies a single line that is to be repeated once, or n number of times. Repeated lines are inserted directly after the line on which the R line command is entered.
RR[n]
Identifies the first and last lines of a block of lines that are to be repeated once, or n number of times. If n is specified on both entries, the value of n must be the same. Repeated lines are inserted directly after the line on which the last RR command is entered.
A
Specifies the destination for the copy or move operation is after this line.
B
Specifies that the destination for the copy or move operation is before this line.
O
Specifies that the destination for the copy or move operation is to overlay beginning with this line.
  • When a Move operation is requested and the moved line contains data that would overlay data on the target line, the Move is changed to a Copy to prevent the loss of data. A message is displayed to notify you that the line was not deleted.
  • The values specified for Column Name for each entry must be compatible. (See the Common Elements Manual, Compatibility Rules, for details about column compatibility.)

Define/Modify Column Maps

The following line commands are available when defining Column Maps.

AGE
Displays the Aging Parameters panel, on which you can specify aging parameters.
CLR
Identifies the source column entry to be cleared.
D
Deletes an unknown column.
EXP
Identifies the entry that is to be expanded. The Source Column Name is displayed and a 75-character area is provided for your specifications.
I
Displays information about column compatibility.
LUA
Displays an ISPF edit panel in which you can specify Lua statements.
SRC
Identifies the source column entry that is to be replaced with the name of the original source column.
  • CLR is especially useful to delete the specifications for columns that contain a value that can only be edited on another panel. (That is, you must use EXP or AGE to edit the value.)

Define/Modify Archive Collections

The following line commands are available when defining or modifying Archive Collections.

D[n]
Deletes a line, or n number of lines.
DD
Identifies the first and last lines of a block of lines to be deleted.
I[n]
Inserts a blank line, or n number of blank lines.
INF
Displays Extended Archive Directory Information for a given Archive File within a collection.

Define/Modify Legacy Tables

The following line commands are available when defining or modifying Legacy Tables for Optim Legacy.

C[n]
Copies the selected line, or n number of lines, to create a new one.
CC
Identifies the first and last lines of a block of lines to be copied.
D[n]
Deletes a line, or n number of lines.
DD
Identifies the first and last lines of a block of lines to be deleted.
I[n]
Inserts a line, or n number of lines.
M[n]
Moves a line, or n number of lines.
MM
Identifies the first and last lines of a block of lines to be moved.
R[n]
Identifies a single line that is to be repeated once, or n number of times. Repeated lines are inserted directly after the line on which the R line command is entered.
RR[n]
Identifies the first and last lines of a block of lines that are to be repeated once or n number of times. If n is specified on both entries, the value of n must be the same. Repeated lines are inserted directly after the line on which the last RR command is entered.
Z
Displays the field details.
A
Specifies that the destination for the copy or move operation is after this line.
B
Specifies that the destination for the copy or move operation is before this line.
  • The Z line command is available in both limited and full editing modes; all other line commands are available only in full editing mode. For details about limited and full editing modes, see EDIT.