SAS Enterprise Guide

Desktop productivity for business analysts and programmers
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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