cancel
Showing results for 
Search instead for 
Did you mean: 

System Log

Former Member
0 Kudos

I am not able to see old system logs with SM21, every morning it says new system log file started with number xxxxxx. I am new to AS/400 how do I check which batch job running at OS.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi all,

I am having the same problem. Where SM21 is just giving me one day worth of logs. It says it is going through 2777 lines...and for some reason just displaying 60 lines which are for Todays date. I made a selection criteria of the past 15 days. PRD, DEV, arent having this problem only QAS.

Would appreciate the Help.

Thanks,

Fiyaz

Former Member
0 Kudos

Hi Fiyaz,

if you cannot determine other reasons like the overwriting of the syslog, you might want to open an OSS ticket on this.

Regards

Volker Gueldenpfennig

Former Member
0 Kudos

Did the exact thing, SAP reffered to a NOTE but a relating NOTE did the trick.

former_member204080
Active Contributor
0 Kudos

Hi Fiyaz,

Coukd you please share the note and what you did to resolve this

0 Kudos

Hi Fiaz,

I am also facing the same issue with SM21. It logs only the current date but not the old entries.

Request you to share the solution to the issue.

jrg_engel
Explorer
0 Kudos

Hi,

you should check your running Batchjobs at the time of the creation of the new syslog file. It is possible that a reorg job like RSBDCREO get TemSe errors and this errors overwhelm the syslog. I solved this problem by a TemSe consistence check with SP12.

Jörg

Former Member
0 Kudos

Hello Praveen,

Could you please specify what kind of batch jobs you are looking for? Neither batch jobs on OS/400 level nor batch jobs on SAP level would be recorded in the system log (Tcode SM21)...

Best regards,

Victor

Former Member
0 Kudos

I am not able to see old system logs when i use SM21 it only gives from morning 6:45 am, on app servers I am able to see old dates.

former_member204746
Active Contributor
0 Kudos

SM21 show a max of 2777 lines

also, on the initial screen, you need to specify up to when you want info.

Former Member
0 Kudos

I did specified old date to date. It says system log entries imported 2777. Any batch job progarm will flush out old logs? if so what is the batch job program?

Former Member
0 Kudos

Hellp Praveen,

If I remember it correctly, the system log is saved in file named like /usr/sap/SID/DVEBMGSnn/log/SLOGnn.LOG (replease nn with the instance_number).

The way it is written is that when it reaches the end, it simply goes back to the beginning... so there are about 2777 lines all the time. No batch job flushes it.

Best regards,

Victor

thomas_vogt
Advisor
Advisor
0 Kudos

Moved thread to DB4 forum.

Regards,

Thomas