Controls the overall width of pages output by the LIST command.
SET PAGEWIDTH num
| 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. |
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.
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.