Problem Note 52958: PROC TABULATE and PROC REPORT might produce an error when creating an output data set using the GENMAX= data set option for a SAS® generation data set
An error might be generated with the TABULATE procedure or the REPORT procedure when creating an output data set using the GENMAX= data set option for a new or existing SAS® generation data set. If the generation data set exists, the GENMAX= option is used to change the maximum number of generations for the SAS generation library.
For example, the following program creates a new SAS generation data set with the OUT= option in the PROC TABULATE statement:
libname new "c:\test\";
data new.inputdata;
input x y;
datalines;
1 2
1 3
2 1
2 4
;
run;
proc tabulate data=new.inputdata out=new.tabgen(genmax=5);
class x y;
table x*y;
run;
The following error is produced when running the program above:
ERROR: File WORK.TABGEN.DATA does not exist.
If you try to run the TABULATE procedure code again, the following error is produced:
ERROR: Open of file NEW.TABGEN.DATA for OUTPUT failed; another copy of the file is open for OUTPUT/UPDATE.
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows Server 2008 | 9.3 TS1M1 | 9.4 TS1M2 |
Microsoft Windows Server 2008 R2 | 9.3 TS1M1 | 9.4 TS1M2 |
Windows 7 Ultimate x64 | 9.3 TS1M1 | 9.4 TS1M2 |
Windows 7 Ultimate 32 bit | 9.3 TS1M1 | 9.4 TS1M2 |
Linux for x64 | 9.3 TS1M1 | 9.4 TS1M2 |
64-bit Enabled Solaris | 9.3 TS1M1 | 9.4 TS1M2 |
Windows 7 Professional x64 | 9.3 TS1M1 | 9.4 TS1M2 |
Windows 7 Professional 32 bit | 9.3 TS1M1 | 9.4 TS1M2 |
Windows 7 Home Premium x64 | 9.3 TS1M1 | 9.4 TS1M2 |
Windows 7 Home Premium 32 bit | 9.3 TS1M1 | 9.4 TS1M2 |
Windows 7 Enterprise x64 | 9.3 TS1M1 | 9.4 TS1M2 |
z/OS | 9.3 TS1M1 | 9.4 TS1M2 |
Z64 | 9.3 TS1M1 | 9.4 TS1M2 |
Microsoft® Windows® for x64 | 9.3 TS1M1 | 9.4 TS1M2 |
HP-UX IPF | 9.3 TS1M1 | 9.4 TS1M2 |
Solaris for x64 | 9.3 TS1M1 | 9.4 TS1M2 |
Linux | 9.3 TS1M1 | 9.4 TS1M2 |
64-bit Enabled AIX | 9.3 TS1M1 | 9.4 TS1M2 |
64-bit Enabled HP-UX | 9.3 TS1M1 | 9.4 TS1M2 |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M1 | 9.4 TS1M2 |
Windows 7 Enterprise 32 bit | 9.3 TS1M1 | 9.4 TS1M2 |
*
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.
An error might be generated with the TABULATE procedure or the REPORT procedure when creating an output data set using the GENMAX= data set option for a new or existing SAS generation data set.
Type: | Problem Note |
Priority: | high |
Topic: | SAS Reference ==> Data Set Options ==> Data Set Options
|
Date Modified: | 2021-11-23 15:27:26 |
Date Created: | 2014-05-12 11:10:04 |