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-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!

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.

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