BookmarkSubscribeRSS Feed
SmcGarrett
Obsidian | Level 7

 I have a macro built which exports the IRFs of a VARMAX procedure into a dataset. However, the location of the datasets is created as WC00001 in SAS and not in the library from which I'm analyzing data. Preferably, I'd like the ODS statement to specify a location of my choosing for the files to be saved. Does anyone know how to specify this? 

 

 

2 REPLIES 2
Tim_SAS
Barite | Level 11

You can specify the output data set in the form library.member, where library is a SAS data library defined by a LIBNAME statement

 

The ODS OUTPUT Statement

Reeza
Super User

It does help if you post your code 😉

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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