Use this record-level keyword on the subfile control record format to assign a command attention (CA) or a command function (CF) key that the work station user can press to fold or to truncate subfile records that require more than one display line.
The format of the keyword is:
SFLDROP(CAnn | CFnn)
Without SFLDROP, the OS/400 program displays the entire subfile record and folds it where needed. When SFLDROP is specified, the OS/400 program first displays the subfile in truncated form; subfile records are truncated to fit on one display line. When the work station user presses the specified key, the OS/400 program displays the records again in folded form. Each record continues onto subsequent lines immediately following the line the record starts on.
By pressing the specified key, the form of the displayed subfile changes from one state to the other.
In the truncated form, more records are displayed than are specified on the SFLPAG keyword. In the folded form, as many records are displayed as are specified on the SFLPAG keyword.
The OS/400 program truncates subfile records in the middle of output-only fields. However, if the truncation is in the middle of an input-capable field, the whole field is omitted from the display. If this results in omitting the entire record from the display, an error message is sent to the display and the record is not truncated. Instead, it is displayed in folded form.
Notes:
Option indicators are valid for this keyword.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.