SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 49995: Code for the macro variable OPTEmitSQL is incorrect when the prompt type Data Source Column is used with the option "Emit SQL Syntax for column"

DetailsHotfixAboutRate It

A Generated transformation for which a prompt is defined results in incorrect code under the following conditions:

  • The Data Source columns are selected from two or more different source tables.
  • The prompt type Data Source Column is used.
  • The option Emit SQL syntax for columns is selected.

The code that is generated for the macro variable OPTEmitSQL only refers to one table, as shown in the following example:

%let OPTEmitSQL = TABLE1.Table1_Col, TABLE1.Table2_Col, TABLE1.Table-n_Col;

The code should read as follows:

%let OPTEmitSQL = TABLE1.Table1_Col, TABLE2.Table2_Col, TABLE-n.Table-n_Col;

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



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Data Integration StudioMicrosoft® Windows® for x644.24.79.2 TS2M09.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition4.29.2 TS2M0
Microsoft Windows Server 2003 Enterprise Edition4.29.2 TS2M0
Microsoft Windows Server 2003 Standard Edition4.29.2 TS2M0
Microsoft Windows Server 2003 for x644.29.2 TS2M0
Microsoft Windows Server 2008 for x644.24.79.2 TS2M09.4 TS1M0
Microsoft Windows XP Professional4.29.2 TS2M0
Windows Vista4.29.2 TS2M0
Windows Vista for x644.29.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.