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 workstation user can press to truncate or to fold subfile records that require more than one display line.
SFLFOLD(CAnn | CFnn)
When the SFLFOLD keyword is specified, the subfile is first displayed in folded form. When the workstation user presses the specified key, the i5/OS™ operating system displays the records again in truncated form. By pressing the specified key, the form of the displayed subfile changes from one state to the other. When truncated, subfile records fit on one display line.
Without SFLFOLD, the i5/OS operating system displays the entire subfile record folded where needed but the workstation user is not given the option to display the subfile record in truncated form.
In the folded form, as many records are displayed as are specified on the SFLPAG keyword. In the truncated form, more records are displayed than are specified on the SFLPAG keyword.
Option indicators are valid for this keyword.
The following example shows how to specify the SFLFOLD keyword.
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A R SFLR SFL 00020A* 00030A* (subfile records should not fit on one screen line) 00040A R SFLCTLR SFLCTL(SFLR) 00050A SFLPAG(17) 00060A SFLSIZ(34) 00070A SFLDSP SFLDSPCTL 00080A SFLFOLD(CF03) A
When the subfile is displayed, the workstation user can press the CF03 key to change the subfile from folded to truncated form and from truncated to folded form.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.