Operating System - OpenVMS
1762934 Members
2911 Online
108909 Solutions
New Discussion юеВ

Strange thing when search a file~

 
SOLVED
Go to solution
Davor_7
Regular Advisor

Strange thing when search a file~

Hi all,

my SLS job create a log file at 10 am.
but when i use $sear logfile "user: sls"
(it will sear the lastest version, right?)
but actually, the output shows that the file being searched is the old one(yesterday)

i'm not sure if it's the system bug...
anyone knows that?
4 REPLIES 4
Bob Kirkwood
New Member
Solution

Re: Strange thing when search a file~

Check the file version of the log file. If file version at 32767 then reset to 1
eg $ rename x.log;32767 x.log;1
Karl Rohwedder
Honored Contributor

Re: Strange thing when search a file~

Have you really checked, that a newer version exists? May be there was an error during logfile creation.

Do you use a real filename or a logicalname to refer to the logfile?

regards Kalle
Davor_7
Regular Advisor

Re: Strange thing when search a file~

hehe, sorry for all~
it's a mistake :)
really appologize...
Arch_Muthiah
Honored Contributor

Re: Strange thing when search a file~

Davor,

Make sure the logfile
1. has been created in the correct location.
2. file creation/modification date,
3. your system date

Archunan
Regards
Archie