Form Mode Edit

22
carcudb2
2
2
Form Mode is selected by placing an
F
for the Edit Mode prompt in the RC/Edit header or Edit Options screen. Form mode is used to view one row per screen. The columns are displayed vertically down the left side, much like a form. This approach displays more columns on the screen than Column Mode.
Character data's display length is controlled by the Max Char prompt in the header. Form Mode supports a maximum display length of 256 characters. If the entry exceeds 50 characters, an arrow indicates that additional text is present but not shown. You can expand the area by using the EXPAND command.
Form Mode Header
Form Mode's header provides the same functions and information as Column Mode, but with two additional fields: a Status field for viewing the row's current status and an Option field for entering edit actions. For more information about the fields, press F1 (Help).
Processing for Form Mode Edit
The Form Mode Edit screen is designed to maximize the columns displayed on the screen. Full ISPF scrolling is available during the edit session. Also, extensive type checking is performed to help ensure that valid data is entered.
  • ## (ABBREVIATED FIELD NAMES)
    In the front of each field appears an abbreviated field name. The abbreviated names begin with A1. The abbreviated names make it much easier to enter column names for other primary commands such as FIND, RFIND, and FREEZE.
  • COLUMN NAME / COLUMN TYPE
    The DB2 column name or data type. The TYPE command determines which information appears.
  • NULL
    The Null Indicator appears after each column name. If a column is defined as NULL (nulls allowed), users can cursor to this field. Otherwise, the field is protected.
    The Null Indicator denotes the column's current state as well as permits changes to the null attribute. If the field is currently null, a Y appears in this field. To set a column to null, enter 
    in this field.
    If a field is set to null, the previous value remains in the event the user wants to change it. However, the value for that field will be null if the indicator is Y. For a description of null value implications, see Null Values.
  • DATA FOR ROW #
    n
    Data values for the row number indicated. Control the display width of character data with the Max Char prompt in the header.
There are many primary edit commands that can be entered on the command line or assigned to PF keys for controlling the display. Some of these commands include CHANGE, RCHANGE, CHANGE ALL, SORT, and TYPE.