Chapter Contents |
Previous |
Next |
The FORMS Procedure |
LINE line-number variable(s) </ option(s)>; |
To do this | Use this option |
---|---|
Specify the number of spaces to indent the line within the form unit | INDENT= |
Rotate the words in a character variable that contains a comma around the comma and remove the comma | LASTNAME |
Remove extra blanks from the line so that one blank separates variables | PACK |
Remove periods that represent missing values from a line that contains no other values. | REMOVE |
Required Arguments |
Range: | An integer between 1 and the value of LINES= in the PROC FORMS statement |
Interaction: | If the length of all values in a line is longer than the value of WIDTH= specified in the PROC FORMS statement, PROC FORMS truncates the values (starting with the rightmost value in the line) to fit the WIDTH= value. For information on squeezing variables onto a line, see PACK . |
Options |
Alias: | I= |
Featured in: | Printing a Single Form Unit for Each Observation |
Alias: | L |
Featured in: | Printing a Single Form Unit for Each Observation |
Alias: | P |
Tip: | PACK can squeeze fields onto a form unit,
but if the values for all the variables are long, you may lose an entire field.
To avoid this problem, use a FORMAT statement to limit the space for each
variable. For example, the following statement sets the field widths of the
variables CITY and STATE to 20 and 2 columns, respectively:
format city $20. state $2.; |
Featured in: | Printing a Single Form Unit for Each Observation |
Alias: | R |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.