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!  

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

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
  • 4286 views
  • 2 likes
  • 2 in conversation