BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
LRogers
Obsidian | Level 7

Hello,

I have a proc export statement which I use in many of my SAS projects that have never given me any errors or issues. It works great.

However, I'm working on a new SAS project and when i use the same proc export statement (just with different file names), I get this "ERROR: Invalid physical name."  I don't understand why this is happening.  I've tried googling this error but nothing I can find online seems to pertain to what I'm doing here.  

Anyone have any ideas??  I attached a screen shot of the program statement and error.  I am using SAS EG 8.1.

Thank you!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

See those asterisks in your filename at the end of the log? They happen because your value in cal_mth_dt can't be properly displayed with the monyy7. format.

Inspect your dataset sensors_final.

View solution in original post

2 REPLIES 2
Kurt_Bremser
Super User

See those asterisks in your filename at the end of the log? They happen because your value in cal_mth_dt can't be properly displayed with the monyy7. format.

Inspect your dataset sensors_final.

LRogers
Obsidian | Level 7

Thanks, Kurt!  You are right, it doesn't like this CAL_MTH_DT.  Looks like it's in date/time format so I updated my MONYY7. format to DTMONYY7. and that worked!  

Thank you for your guidance!  

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!
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 3450 views
  • 2 likes
  • 2 in conversation