invalid log file characters being added

I have one batch job process running on Unix Box, whenever after th batch job is executed, it creates te log file with invalid characters at the end of the .log file name, any IDEA why i am getting this, this is the first time i am doing batch jobs work!

the file is starting abc.sh file and has .xml contents also!

So what could be the root cause

Please guide

Thanks
LVL 16
Gurpreet Singh RandhawaWeb DeveloperAsked:
Who is Participating?
 
LuminarCommented:
check the script, do you find something that may remind you of what the log is showing? (try eventually look at the xml contents )and see if there has been changes lately.

Well i would save a copy of it, try to remove some stuff like the <br />       &nbsp;<br />, known to cause ruckus sometimes.      

Try taking Small steps and see what happens.
0
 
wesly_chenCommented:
> after th batch job is executed, it creates te log file with invalid characters at the end of the .log file name
Please post the batch job script here so we can debug how the log file being created and possibly the wierd charactor for the log file name.
0
 
TintinCommented:
What type of "invalid" characters?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
@!@#$#^&*(
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
This is how the log file is being Made, Please tell what is going wrong hyere
<?xml version="1.0" encoding="UTF-8"?>
<message>
<![CDATA[
								DO NOT REPLY TO THIS EMAIL.<br />
								&nbsp;<br />			
								
								Log File = ${DIR}/make_log_${logtime.todaydate}.log<br />								
								]]>
</message>

Open in new window

0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
* is appended at the last
0
 
wesly_chenCommented:
How does the batch job run?
could you post the command and the content if the batch is a script?
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
through putty
0
 
wesly_chenCommented:
What command do you run after you login from putty?
Could you please post the whole content of the command or script?
We don't have enough information.
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
i just the .sh file  and it executes the xml file and genrate the logs
0
 
wesly_chenCommented:
Please post the .sh file if you don't mind. It is highly possible that root cause is in that ,sh file.
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
i will wait a bit few moe days until i start the work on this
0
 
wesly_chenCommented:
Take your time.
0
 
wesly_chenCommented:
Hi, I will be on vacation for 10 days start 6/17/2011. Please click "Request Attention" if you need help during my absent. Other experts will assist you.
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
i need some more time?
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
Well thanks for the tip but it did not worked actually
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.