BookmarkSubscribeRSS Feed
sas_viclearner
Fluorite | Level 6

Hi Team,

I have a csv file , i want to create a bat file using libname function.

 

i tried using the following line of code under the project code

 

libname sample "path of csv file";

 

i cannot find the bat file created. 

Any suggestion appreciated

2 REPLIES 2
LinusH
Tourmaline | Level 20
I'm sorry but I cant find how the different things in the post are related.
Enterprise Miner is used for data mining. Not importing data.
Why has creating a bat file to do with this?
If you are in 9.4 this is just not the way it works. Your options are either to import the file to a SAS data set, or create a data step view that points to it.
Data never sleeps
Kurt_Bremser
Super User

A .bat contains commands for execution, a .csv contains tabular data in text form. The only thing they have in common is the fact they can be read/edited with a simple text editor.

 

All this has nothing to do with Enterprise Miner.

 

If code does not work as you expected, look at the log first.

To get proper help, post complete code, log and example data.

SAS Innovate 2025: Register Today!

 

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2 replies
  • 983 views
  • 0 likes
  • 3 in conversation