Help using Base SAS procedures

setting-up audit trails?

Reply
Contributor
Posts: 32

setting-up audit trails?

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
Respected Advisor
Posts: 3,799

Re: setting-up audit trails?

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]
Contributor
Posts: 32

Re: setting-up audit trails?

Posted in reply to data_null__
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.
Ask a Question
Discussion stats
  • 2 replies
  • 108 views
  • 0 likes
  • 2 in conversation