Contents Up << >>

Widen

Format: Wid[en] [condition]
The WIDEN command restores the data set after a NARROW command. If no condition is given then all the the rows are included. If a condition is given, then all the rows previously included will remain, but any others that comply with the condition will be included in addition.

Examples:

Enter command -  WIDEN
Includes all rows.

Enter command -  wid c3=4
Adds in rows for which third entry is 4.

Enter command -  n c2>7
...
...
Enter command -  wid c2<3
Now data set includes all rows whose second entry is greater than 7 or less than 3.

Example output:

Widening data set to include all lines

Widening data set to include lines for which C2<7

Comment

In practice it is quite rarely helpful to use WIDEN with a condition. Generally one just uses it on its own and then uses NARROW to reduce the data set again. The rows remaining after a NARROW and then a WIDEN command are those for which either condition is true. Note that the order in which the NARROW and WIDEN commands are issued is important.