1837257 Members
2660 Online
110115 Solutions
New Discussion

Re: samlog_viewer

 
Richard Ace_1
Advisor

samlog_viewer


I was trying to us samlog_viewer to find out a command in sam, by using the following command.

For the year field it requires two digits
So I used 03

This gave me year 1903

See attachment

So I tried 2003 just in case

This gave me year 1920

I can change it in the sam menu field no problem.

errrrrrrrrrrrrrmmm! Is there somthing adrift here?

samlog_viewer -s 0731080003 -e 0731210003 -lC -u root


samlog_viewer -s 073108002003 -e 073121002003 -lC -u root
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: samlog_viewer

Have we uncovered a Y2K problem?

Or are we missing a patch.

Check that you are current on sam patches.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Richard Ace_1
Advisor

Re: samlog_viewer

I have looked at SW and thing may be a little behind . Not too sure though

swlist -l bundle | grep -E 'XSW|HWE|QPK|SAM'

HWE1100 B.11.00.0206.5 Hardware Enablement Patches for HP-UX 11.00, June 2002

QPK1100 B.11.00.54.7 Quality Pack for HP-UX 11.00, September 2001

XSWGR1100 B.11.00.47.08 General Release Patches, November 1999 (ACE)
XSWHWCR1100 B.11.00.54.6 HP-UX Hardware Enablement and Critical Patches, September 2001

Cheers

Rich

May need to add some
Darren Prior
Honored Contributor

Re: samlog_viewer

Hi Richard,

As far as I'm aware this issue has been fixed in 11i, but not fixed yet in 11.00. The workaround would be to start up the samlog_viewer without the -s and -e options, then set them inside the GUI, which is able to accept 4 digit years.

There is an SR raised for this issue; the number is 8606296648.

regards,

Darren.
Calm down. It's only ones and zeros...
Hemanth Gurunath Basrur
Honored Contributor

Re: samlog_viewer

Hello Richard,

Thanks for your message.
The reported problem has been fixed and will be available via patch which will be delivered in December 2003.

Let me know if you need more information.

Hope this helps.

Thanks,
Hemanth