Problem Note 13063: FDELETE not working in SAS 9.1 with ACF2 security product
In SAS 9.1 and beyond, the FDELETE function in Base SAS or SAS Component
Langugae (SCL) may not work as designed. The name which is created and
passed to the security product is padded with binary zeros. These may
not be interpreted as null values by the security product and a failure
will occur which results in the file not being deleted. If the name of
the file specified is a full 44 character length name then FDELETE will
work.
The JES SYSMSGS data set will contain the following message:
ACF99910 ACF2, VIOLATION EXCESSION, CANCELLED
The program below:
FILENAME fileref 'existing.file';
DATA _NULL_;
RC=FDELETE('fileref');
PUT 'FDELETE Return code is: 'RC;
RUN;
Would generate the following in the SAS Log:
FDELETE Return code is: 20029
You can circumvent the problem by specifying a FILENAME statement with
a DISP= parameter to delete the file. Subsequent to the initial FILENAME
statement add the following FILENAME statements where the delete of the
file is to be done.
FILENAME fileref 'existing.file' DISP=(OLD,DELETE,DELETE);
FILENAME fileref;
A Technical Support hot fix for SAS 9.1 (TS1M0) for this
issue is available at:
http://www.sas.com/techsup/download/hotfix/b9_sbcs_prod_list.html#013063
For customers running SAS with Asian Language Support (DBCS), this
hot fix should be downloaded from:
http://www.sas.com/techsup/download/hotfix/b9_dbcs_prod_list.html#012375
A Technical Support hot fix for SAS 9.1.2 (9.1 TS1M2) for this
issue is available at:
http://www.sas.com/techsup/download/hotfix/c9_sbcs_prod_list.html#013063
For customers running SAS with Asian Language Support (DBCS), this
hot fix should be downloaded from:
http://www.sas.com/techsup/download/hotfix/c9_dbcs_prod_list.html#013063
A fix for SAS 9.1.3 (9.1 TS1M3) for this issue is available at:
http://www.sas.com/techsup/download/hotfix/e9_sbcs_prod_list.html#013063
For customers running SAS with Asian Language Support (DBCS), this
fix should be downloaded from:
http://www.sas.com/techsup/download/hotfix/e9_dbcs_prod_list.html#013063
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.1 TS1M0 | 9.1 TS1M3 SP1 |
*
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: | Data Management ==> Access ==> External I/O
|
Date Modified: | 2004-12-20 14:02:40 |
Date Created: | 2004-08-13 12:55:00 |