Previous Topic: &ZBROTYPE

Next Topic: &ZCONSOLE


&ZCOLS

Indicates the number of columns associated with the physical terminal.

NCL procedures might want to determine the number of columns associated with the physical terminal. &ZCOLS is the maximum number of columns available at the terminal regardless of the current processing window size.

Example: &ZCOLS

&IF &ZCOLS GT 80 &THEN +
  &GOTO .MODEL5

Note: When processing with an LU1 type device, a value of 80is returned. For VDU (screen) type devices, the actual number of columns is returned. If tested from a procedure running under a background environment, a value of 80 is returned.

More information:

&LUCOLS

&ZROWS

&LUROWS