Use this record-level keyword on the subfile control record format to return an indication of whether the subfile was in folded or truncated mode on input. You can use this keyword in conjunction with the SFLCSRRRN keyword to determine the location of the cursor within a subfile.
The format of the keyword is:
SFLMODE(&mode);
The mode parameter is required. It specifies the name of a hidden field that, on input, will contain the subfile mode. The field must be defined in the subfile control record format as a character (A in position 35) field of length 1 with usage H (hidden). The field will contain the value 0 if the subfile is in folded mode; it will contain the value 1 if the subfile is in truncated mode.
IF a SFLDROP or SFLFOLD keyword is not specified on the subfile control record, the mode value returned is 0.
Option indicators are not valid for this keyword.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.