BookmarkSubscribeRSS Feed
chriswalsh
Calcite | Level 5

I'm trying to do this but I don't have a file named libname.sas in my EPG194 folder.  Do you need that file to proceed?

 

Create a macro variable to store a location for output files.

  1. In your EPG194 folder, open libname.sas.
  2. Create a macro variable named outpath that stores the filepath to your EPG194/output folder: %let outpath=filepath-to-output-folder;
  3. Run the code.
  4. Check the log to be sure there are no errors, then save and close the program.
1 REPLY 1
JosvanderVelden
SAS Super FREQ
@PremS wrote: LIBNAME.SAS was a program with code you wrote in Lesson 2: Accessing Data Through Libraries.

For more information see: https://communities.sas.com/t5/Programming-1-and-2/Recreate-PG1-library-by-libname-sas/m-p/527779#M1...

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1264 views
  • 2 likes
  • 2 in conversation