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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 760 views
  • 0 likes
  • 3 in conversation