SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 65290: Bulk load and bulk unload support for Yellowbrick is available

DetailsHotfixAboutRate It

You can access a Yellowbrick database by using SAS/ACCESS® Interface to PostgreSQL. With this hot fix, you can use the Yellowbrick utilties for bulk load and bulk unload.

Click the Hot Fix tab in this note to access the hot fix for this issue.

Usage and Restrictions

Here are the new options to use the Yellowbrick bulk utilities:

Syntax: YBUNLOAD = YES/NO
Description: Turns Yellowbrick bulk unload on or off.
Default: NO
Example:

proc print data= yb.table(YBUNLOAD=YES);
run;       

Syntax: YBLOAD = YES/NO
Description: Turns Yellowbrick bulk load on or off.
Default: NO
Example:

data yb.table(YBLOAD=YES);
   set sashelp.cars;
run;

Syntax: BL_YB_PATH =
Description: Specifies the path and file name of the bulk load and bulk unload utilities if they are not in the default path. This option can also be used to specify the batch file instead. 
Default: none
Alias: BL_PSQL_PATH=
Example:

proc print data=yb.table(YBUNLOAD=YES BL_YB_PATH="C:\Program Files\Yellowbrick Data\Client Tools\bin\ybunload"); 
run;

Syntax: YB_JAVA_HOME =
Description: Specifies the path to an alternative Java 1.8 Java Runtime Environment (JRE)/Java Development Kit (JDK).
Default: none
Example:

proc print data= yb.table(YBUNLOAD=YES 
                      BL_YB_PATH="C:\Program Files\Yellowbrick Data\Client Tools\bin\ybunload.bat"
                      YB_JAVA_HOME="C:\<pathto>\jre"); 
run;

Restrictions

  • PRESERVE_NAMES=YES is required with YBUNLOAD=YES if the table has mixed-case column names or special characters.
  • Values for a Boolean data type are returned as TRUE or FALSE.
  • The PostgreSQL BL_LOAD_METHOD= option is not supported with Yellowbrick.
  • The dollar special character ($) is not supported in column or table names.

Known Issues

  • You cannot use the $ and " characters in a WHERE statement when YBUNLOAD=YES is set. You can use them if these characters are escaped. 
  • The PostgreSQL BL_ESCAPE= option accepts only the values ON and OFF.
  • PRESERVE_COL_NAME=YES is not being honored when using YBUNLOAD=YES. Use PRESERVE_NAMES=YES as workaround.

Error Files

Any errors that occur with loading rows are written to a log file. That log file has the path/file name specified by the BL_LOGFILE option. If you do not specify the BL_LOGFILE option, the default log file is generated in the BL_<table name>_<#>.log.

Example

data yb.table(YBLOAD=YES 
              BL_YB_PATH="C:\Program Files\Yellowbrick Data\Client Tools\bin\ybload" 
              BL_LOGFILE="C:\tmp\YB_TABLE_LOAD.log" BL_DELETE_DATAFILE=NO);
  set sashelp.class;
run;


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to PostgreSQLMicrosoft® Windows® for x649.4_M59.4 TS1M5
Microsoft Windows 8 Enterprise 32-bit9.4_M59.4 TS1M5
Microsoft Windows 8 Enterprise x649.4_M59.4 TS1M5
Microsoft Windows 8 Pro 32-bit9.4_M59.4 TS1M5
Microsoft Windows 8 Pro x649.4_M59.4 TS1M5
Microsoft Windows 8.1 Enterprise 32-bit9.4_M59.4 TS1M5
Microsoft Windows 8.1 Enterprise x649.4_M59.4 TS1M5
Microsoft Windows 8.1 Pro 32-bit9.4_M59.4 TS1M5
Microsoft Windows 8.1 Pro x649.4_M59.4 TS1M5
Microsoft Windows 109.4_M59.4 TS1M5
Microsoft Windows Server 20089.4_M59.4 TS1M5
Microsoft Windows Server 2008 R29.4_M59.4 TS1M5
Microsoft Windows Server 2008 for x649.4_M59.4 TS1M5
Microsoft Windows Server 2012 Datacenter9.4_M59.4 TS1M5
Microsoft Windows Server 2012 R2 Datacenter9.4_M59.4 TS1M5
Microsoft Windows Server 2012 R2 Std9.4_M59.4 TS1M5
Microsoft Windows Server 2012 Std9.4_M59.4 TS1M5
Microsoft Windows Server 20169.4_M59.4 TS1M5
Windows 7 Enterprise 32 bit9.4_M59.4 TS1M5
Windows 7 Enterprise x649.4_M59.4 TS1M5
Windows 7 Home Premium 32 bit9.4_M59.4 TS1M5
Windows 7 Home Premium x649.4_M59.4 TS1M5
Windows 7 Professional 32 bit9.4_M59.4 TS1M5
Windows 7 Professional x649.4_M59.4 TS1M5
Windows 7 Ultimate 32 bit9.4_M59.4 TS1M5
Windows 7 Ultimate x649.4_M59.4 TS1M5
64-bit Enabled AIX9.4_M59.4 TS1M5
64-bit Enabled Solaris9.4_M59.4 TS1M5
HP-UX IPF9.4_M59.4 TS1M5
Linux for x649.4_M59.4 TS1M5
Solaris for x649.4_M59.4 TS1M5
* 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.