BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Criptic
Lapis Lazuli | Level 10

Hello,

 

When I transport a job from one environment to the other in DI Studio the SPD Server Table Loader Transformation in the environment I imported the job into autogenerates a libname statement which is just wrong and throws an ERROR - I could of course comment the statement out but there seems to be an option set in one environment which enables this autogeneration of the libname statement - anybody an idea which option I have to set?

 

Kind Regards

Criptic

1 ACCEPTED SOLUTION

Accepted Solutions
LinusH
Tourmaline | Level 20

First step is to compare how the libnames are defined in respective environment.

Also, be sure when you import the job that librefs are mapped to the correct one in the target environment.

 

Put the generated libname statemnts side by side, determine the difference, and find the setting in metadata.

 

Or is it even that you don't get a libame in the source environment (pre-assigned)?

Data never sleeps

View solution in original post

2 REPLIES 2
LinusH
Tourmaline | Level 20

First step is to compare how the libnames are defined in respective environment.

Also, be sure when you import the job that librefs are mapped to the correct one in the target environment.

 

Put the generated libname statemnts side by side, determine the difference, and find the setting in metadata.

 

Or is it even that you don't get a libame in the source environment (pre-assigned)?

Data never sleeps
Criptic
Lapis Lazuli | Level 10
Pre-Assigned was the right keyword here for me. Somehow I forgot to set that option in one environment. Thank you!

sas-innovate-white.png

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

Register now!

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
  • 990 views
  • 1 like
  • 2 in conversation