BookmarkSubscribeRSS Feed
JuanDaniel
Quartz | Level 8

Hi!

I am trying to run a script with EG and I get an error like: “file WORK.TEST.DATA dont exist” but I dont find the error.

Other problem that i have is that in the DBMS the column names has blank spaces in the name and when I imported metadata in the SMC i have errors with this tables.

Kind regards

5 REPLIES 5
Kurt_Bremser
Super User

Look at the log of the step that should have created WORK.TEST.

And database columns with blanks are a VERY BAD IDEA and, in my eyes, proof for extreme stupidity on the part of the person responsible.

 

JuanDaniel
Quartz | Level 8

Yes... I Know.  If I execute from the server ( I have a EG installed here for test) I have this problem but, if i execute from a client connected to server it works.

 

Could be a problem related with the EG configuration?

 

Thx

 

Kurt_Bremser
Super User

@JuanDaniel wrote:

Yes... I Know.  If I execute from the server ( I have a EG installed here for test) I have this problem but, if i execute from a client connected to server it works.

 

Could be a problem related with the EG configuration?

 

Thx

 


EG works with

option validvarname=any;

and accepts non-standard SAS names (up to 32 characters). But that is mainly there to accomodate the usual stupidities included in Excel files caused by non-programmers.

The workspace server used by SMC does not set this option (AFAIK), and that could be why you have that problem.

Still, using sensible names at the source (the DB) does immediately away with all the curremt problems, and those that will arise in the future.

JuanDaniel
Quartz | Level 8

@Kurt_Bremser Sorry for my ignorance.

 

What is the difference of  execute from the server machine or i execute in a client connected to the server in another machine? Both use the same workspace server?

 

There is any solution for solve this problem with the column names? Obviously the person responsible of the Database can change all columns names but i think is not a valid idea for him

 

Thx

Kurt_Bremser
Super User

It is Enterprise Guide that sends the option on establishing a server connection. It is not part of the workspace server configuration itself.

 

I can only repeat it: use proper names in the DB itself, blanks or special characters are idiotic and forbidden at my organisation.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 1731 views
  • 2 likes
  • 2 in conversation