13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Data Set Options <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 BL_DELETE_DATAFILE= Data Set Option 239Alias: BL_DELETE_FILES= [Oracle]Default value: YESValid in: DATA and PROC steps (when accessing DBMS data using <strong>SAS</strong>/<strong>ACCESS</strong>software)DBMS support: Aster nCluster, DB2 under UNIX and PC Hosts, Greenplum, HP Neoview,Netezza, Oracle, Sybase IQSyntaxBL_DELETE_DATAFILE=YES | NOSyntax DescriptionYESdeletes all (data, control, and log) files that the <strong>SAS</strong>/<strong>ACCESS</strong> engine creates <strong>for</strong> theDBMS bulk-load facility.NOdoes not delete these files.DetailsTo specify this option, you must first set BULKLOAD=YES or BULKEXTRACT=YES.DB2 under UNIX and PC Hosts: Setting BL_DELETE_DATAFILE=YES deletes onlythe temporary data file that <strong>SAS</strong>/<strong>ACCESS</strong> creates after the load completes.Greenplum: When BL_DELETE_DATAFILE=YES, the external data file is deletedafter the load completes.HP Neoview, Netezza: You can use this option only when BL_USE_PIPE=NO.Oracle: When BL_DELETE_DATAFILE=YES, all files (DAT, CTL, and LOG) aredeleted.ExamplesThe default is YES in this example, so all files are deleted:libname x oracle &connoptsproc delete data=x.test1;run;data x.test1 ( bulkload=yes );c1=1;run;x dir BL_TEST1*.*;No files are deleted in this example:libname x oracle &connoptsproc delete data=x.test2;run;data x.test2 ( bulkload=yes bl_delete_files=no );

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!