Germanicus
30th January 2008, 10:48
Hello,

I have a problem with printing of Audit files, maybe you can give me a hint.

When I print the audit files with my own user account, I get more results than printing in a job process (with user root000). The User and Audit permissions are the same for both users. So I can't find any reason why 2 users get different results.

Do you have any idea?

Greetings

Germanicus

norwim
30th January 2008, 12:41
Hi there,

from the name "root000" I would assume that this user lives in company 000.
Maybe that is the reason?
Besides, are you sure that the values selected on the screen are indeed the same? Once a job is defined, I find it difficult to see which parameters have been choosen at starttime without having a look at the dumped ttaad503 table.

good luck

Norbert

jclju1
30th January 2008, 13:49
Auditing data is in tools tables, so job user (and job as well) must be in company 000.

When you added session to job what was your answer on question:
"Consider the diference between entered date and system date"?

norwim
30th January 2008, 23:29
Auditing data is in tools tables, so job user (and job as well) must be in company 000.

Sorry, but this is not true.
Have a look at ttaad500 / 501 / 502 / 503 in your "working" company. Jobs defined for compay 123 will be found in ttaad5xx of company 123.

regards

Norbert

jclju1
31st January 2008, 10:00
Jobs defined for compay 123 will be found in ttaad5xx of company 123.
That is true, but I am talking about audit data. And I made mistake in my previous answer - audit data are stored in files on disk, but I am quite sure that job for printing audit data must be in company 000.
Regards.

norwim
31st January 2008, 10:13
I just looked it up -
you are absolutely right -
the job to evaluate the audit data runs in company 000

regards

Norbert

Germanicus
1st February 2008, 14:48
Hello,

thanks for your answers. I have found the significant difference. When I run the printing I do it in company 720. When I put the session in the job, the job runs in Company 000. However I let the job start with the following entries:

tpac.f:="aa"
table.f:="aaa000"
tpac.t:="zz"
table.t:="zzz999"
comp.f:="720"
comp.t:="720"
seqn.f:="0"
seqn.t:="999"
tran.f:=""
tran.t:="999999999999999999999"
session.f:=""
session.t:="zzzzzzzzzzzzz"
date.f:=date()+-400
date.t:=date()+0
time.f:="0"
time.t:="2400"
user.f:=""
user.t:="zzzzzzzzzzzz"
comd:="1"
abrd:="2"
prpd:="2"


I also consider the date in the job - this can't be the reason. So my problem is the following.

In company 720 I get the desired results with my user.

In company 000 I get much less audit data though I let the job run for company 720. How do I have to configure the job that I get correct audit data?

Greetings

Germanicus

jclju1
1st February 2008, 15:26
I get much less audit data
Could you compare data in both cases? What is missing or different?
One idea - if companies 000 and 720 are in different package combinations is it maybe problem if table has different data dictionary in these package combinations?
Try to print audit for one table only and compare results in both cases.