ZOOMCOLS

Specifies the columns that can be selected for cursor-sensitive navigation (zooming) to another panel. The target panel ID for each column is specified immediately after the column name. In columns that are zoomable, the text is white. This setting must be specified after the subpanel's QUERY statement.

When the cursor is placed on the field for which zooming is defined and user presses ENTER, forward navigation occurs, except when column 1 in a summary panel is selectable. In this case, the subpanel ACTION statements define the destination. By default, S and its associated panel ID are used when column 1 is implicitly selected, but a workspace developer can indicate DEFAULT on any action statement.
Possible values
  • None
  • A comma-delimited list of names of one or more columns specified in DISPLAYCOLS, followed by the name of a target workspace in parentheses
  • In a PROLOG or EPILOG stanza, a variable
Default value
None

Example 1: multiple columns with multiple destinations

In this example, multiple columns are assigned multiple destinations:
ZOOMCOLS='CICSPLEX(KOCCICS1),PLEXRATE(KOCOVER1),PLEXCPUP(KOCTRAN1)'

Example 2: a variable in an EPILOG stanza

In this example, a developer-supplied REXX EXEC called MYEXEC sets a variable X = COLUMN1(DEST01),COLUMN2(DEST02) inside of MYEXEC. The zoom is then dynamically assigned to those columns.
<EPILOG>
EXEC MYEXEC 
ZOOMCOLS=&X
<EPILOGEND>