BookmarkSubscribeRSS Feed
veblen
Calcite | Level 5
I'm new to setting up audit trails and keep receiving the following error:

41 proc print data=test90194h(type=audit) noobs;^M
ERROR: File WORK.TEST90194H.AUDIT does not exist.
42 run;

Am I doing this out of sequence?

proc datasets library=SASDATA;
audit test90194h;
initiate;
run;

proc append base=SASDATA.test90194h data=ftg90194h;
run;

proc print data=test90194h(type=audit) noobs;
run;

Thanks
2 REPLIES 2
data_null__
Jade | Level 19
I think all you need is the correct library name on the type=audit data.

[pre]
proc print data=SASDATA.test90194h(type=audit) noobs;
run;
[/pre]
veblen
Calcite | Level 5
THANKS for the answer and quick response data _null_!!!

Now I recall that it worked with the lib name last night but was generating an empty file; which lead me down another path and at some point I removed the library name.

But this works perfectly. I seem to run into more issues with library names than anything else.

At least this was an entry into the forum.

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

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1071 views
  • 0 likes
  • 2 in conversation