SET PAGEWIDTH
Controls the overall width of pages output by the LIST command.
Syntax
SET PAGEWIDTH num
Parameters
num | Num specifies, in characters, the width of an output page. Num can be an integer constant (e.g., 15, 200). a variable, form field, menu item, or parameter that evaluates to an integer. |
Comments
The PAGEWIDTH option is set to 80 characters by default.
If the data generated by LIST or SELECT exceeds the current PAGEWIDTH, the software assumes that the output device wraps data onto subsequent lines.
Example
set output printer
set pause on
set pagesize 40
set pagewidth 120
list all Employees sorted by Department
Here, the SET PAGEWIDTH command (together with SET PAGESIZE) sets LIST output for printing in the landscape orientation.
See Also