SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 69948: Opening a SAS® view in SAS® Studio (Enterprise) might return errors if the view was created with more than four UNION instructions

DetailsHotfixAboutRate It

Opening a SAS view in SAS Studio (Enterprise) might return errors if you complete steps similar to the following.

  1. Execute SQL procedure code similar to the following in SAS Studio (Enterprise): http://hostname/SASStudioV 
proc sql;
 create view SAMPLE as
       (select "ANNEE_COMPTA" as nom_param, &_annee_compta_fc. as val_param from base)
union  (select "CODE_VERSION_FC" as nom_param, &_CODE_VERSION_FC. as val_param from base)
union  (select "MAX_CODE_V_FC" as nom_param, &_MAX_CODE_V_FC. as val_param from base)
union  (select "LAST_CODE_V_FC" as nom_param, &_LAST_CODE_V_FC. as val_param from base)
union  (select "MOIS_PARAM" as nom_param, &_MOIS_PARAM. as val_param from base)
union  (select "FLAG_BP" as nom_param, &_FLAG_BP. as val_param from base)
;
quit;

The PROC SQL code creates a SAS view called SAMPLE in your WORK library.

  1. Expand the WORK library in the SAS Studio Libraries pane and double-click the SAS view to open it. One of the errors below might appear:

Unable to open SAMPLE with column formatting applied

Unable to open table SAMPLE

Note: This issue occurs when you create the view with more than four UNION instructions.

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Studio for ViyaMicrosoft® Windows® for x645.2Stable 2023.02ViyaViya platform
Linux for x645.2Stable 2023.02ViyaViya platform
* 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.