Problem Note 2957: Column variable values truncated in printed output from two way table
In a two way table, column variable values will be truncated when you
use a format with width of 8 or less for a variable whose name is longer
than 8 characters.
To avoid the problem, if you use a format for the column variable in a 2
way PROC FREQ where that variable's name is more than 8 characters, make
sure the format width is greater than 8 characters.
The following sample program demonstrates the problem and its
circumvention when run with the respective FORMAT statements.
data test;
input id long_var_name;
cards;
1 1234
2 2345
3 3456
run;
proc freq data=test;
tables id*long_var_name;
** format of 8 or less causes problem **;
format long_var_name 4.;
** use this format to circumvent problem **;
format long_var_name 9.;
run;
This problem has been fixed in V8.2.
Operating System and Release Information
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | Base SAS | Solaris | 8 TS M0 | 8.2 TS2M0 |
| OpenVMS VAX | 8 TS M0 | 8.2 TS2M0 |
| Microsoft Windows 95/98 | 8 TS M0 | 8.2 TS2M0 |
| 64-bit Enabled Solaris | 8 TS M0 | 8.2 TS2M0 |
| OS/2 | 8 TS M0 | 8.2 TS2M0 |
| HP-UX | 8 TS M0 | 8.2 TS2M0 |
| z/OS | 8 TS M0 | 8.2 TS2M0 |
| 64-bit Enabled HP-UX | 8 TS M0 | 8.2 TS2M0 |
| 64-bit Enabled AIX | 8 TS M0 | 8.2 TS2M0 |
| CMS | 8 TS M0 | 8.2 TS2M0 |
| OpenVMS Alpha | 8 TS M0 | 8.2 TS2M0 |
| Tru64 UNIX | 8 TS M0 | 8.2 TS2M0 |
| AIX | 8 TS M0 | 8.2 TS2M0 |
| Microsoft Windows NT Workstation | 8 TS M0 | 8.2 TS2M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | high |
| Topic: | Analytics ==> Nonparametric Analysis Analytics ==> Descriptive Statistics Analytics ==> Exact Methods SAS Reference ==> Procedures ==> FREQ Analytics ==> Categorical Data Analysis Analytics ==> Longitudinal Analysis
|
| Date Modified: | 2000-06-30 16:30:59 |
| Date Created: | 2000-06-30 16:30:59 |