SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 69223: A Scenario Flow scorecard fails to run because of caslib permission errors in SAS® Visual Investigator

DetailsCodeHotfixAboutRate It

When the svi-vsd-service creates a tenant casLib, the sas.svi-vsd-service account and the sviusrs group have full access to the tenant casLib. If a published flow that has a scorecard is run and the scorecard services fails, the JobExecutionService retriggers the scorecard service's job. When this happens, the job runs as a sas.svi-scorecard, which does not have access to the tenant casLib, so the job fails.

Complete these steps to work around the problem:

  1. Log on to SAS® Environment Manager as user sasboot. 
  2. Select Yes to Assume SuperUser authority. 
  3. Click the data icon and then the Data Sources tab.
  4. Drop the tenant casLib. 
  5. Log on to SAS Visual Investigator administration and start building a flow. This action triggers the creation of the tenant casLib. 
  6. Log on to SAS® Studio. 
  7. Copy the code from the Full Code tab in this note and update the cas server name and cas port.   
  8. Run the code, and look for the following GRANT statements:
Origin    Type        Permission    Identity Type    Identity
Direct     GRANT    AlterCaslib      User                   sas.svi-scorecard
Direct     GRANT    AlterCaslib      Group                 sviusers

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 Intelligence and Investigation ManagementLinux for x648.3.1Viya
* 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.