BookmarkSubscribeRSS Feed
jwhite
Quartz | Level 8

DI Studio 4.9

SAS 9.4

 

I'm working with several DI Studo jobs that seem to no longer recognize a library, where when they were run last year they did. Between then and now, we have migrated from 9.3 to 9.4 and moved to a new repository.

 

Most jobs in this process are working but there are a few that aren't.

 

Here's the behavior:

 

I'll open a job and I'm able to open the datasets referenced within no problem at all. All the Librefs seem to work fine. I'm opening the datasets and able to sort and filter the data.

 

However, once I run a node in the job (say, an extract) I get a message that all is successful. However, once I attempt to open the extract's work file, _or_ the tables that I could open, I get an error message:

 

"There was an error while initializing View Data. Details of the error are mentioned in the details section.

 

com.sas.workspace.WsAppServerLibraryException: Libref XXXXX is not assigned."

 

So, why were the tables and their data accessible prior to running any node and how do I resolve this besides rewritting all the jobs...

 

Thanks!

2 REPLIES 2
LinusH
Tourmaline | Level 20

Don't know the answer, but some trouble shooting tips/questions:

  1. Is the transformation creating a table or view (or doesn't matter)?
  2. Is the transformation using the standard work library?
  3. Seeing the log from the execution would help.
  4. Also, check logs in the metadata server and the object spawner. Also the local DI Studio log. Will probably not give anything, but still a standard step...
  5. How did you do the migration? SMU, export packages...
  6. Was by any chance saswork registered as a Library in the old environment?
Data never sleeps
jwhite
Quartz | Level 8

The Transformation created a view while using the standard work library. I've rebuilt the job, but anticipating it happening again. When it does I'll try to grab more info from the log.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1856 views
  • 0 likes
  • 2 in conversation