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.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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