BookmarkSubscribeRSS Feed
ggilna
Calcite | Level 5

Hey I am having issues with a program written to group diagnosis codes on a dataset I have. 

 

This is how the program is written without my input 

 

FILENAME INRAW1 'Location of CSV file, DXCCSR_v2021-1.CSV'  lRECL=3000; 
LIBNAME IN1 'Location of input discharge data'; 
LIBNAME OUT1 'Directory to store output file';

 

Then this is how I input it. band.csv is the dataset I want to convert using the program.

 

FILENAME INRAW1 '/folders/myfolders/DXCCSR_v2021-1.SAS'    lRECL=3000;
LIBNAME IN1 '/folders/myfolders/band.csv';
LIBNAME OUT1 '/folders/myfolders/ICDtest.csv';

 

but it is saying IN1 and OUT1 do not exist. Thanks for you helo

1 REPLY 1
Tom
Super User Tom
Super User

LIBNAME statement is used to point to a directory where you have or want to create SAS datasets.

Your program is pointing them an CSV filenames.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 372 views
  • 0 likes
  • 2 in conversation