Link to home
Start Free TrialLog in
Avatar of Coast Line
Coast LineFlag for Canada

asked on

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
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

> 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.
Avatar of Tintin
Tintin

What type of "invalid" characters?
Avatar of Coast Line

ASKER

@!@#$#^&*(
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

ASKER CERTIFIED SOLUTION
Avatar of Luminar
Luminar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
* is appended at the last
How does the batch job run?
could you post the command and the content if the batch is a script?
through putty
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.
i just the .sh file  and it executes the xml file and genrate the logs
Please post the .sh file if you don't mind. It is highly possible that root cause is in that ,sh file.
i will wait a bit few moe days until i start the work on this
Take your time.
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.
i need some more time?
Well thanks for the tip but it did not worked actually