Search Results

Search: Posts Made By: Harimalyala
7,530
Posted By Harimalyala
Sorry this is not clear
Sorry this is not clear
7,530
Posted By Harimalyala
No this isn't working as well..
No this isn't working as well..
7,530
Posted By Harimalyala
I used the below code in my unix, and i have...
I used the below code in my unix, and i have removed TR from myfile.txt, but still it is not generating any email to me.

myfile.txt has the below content

1|xyz
1|123
2|abc
2|456
TR| total...
7,530
Posted By Harimalyala
Can you guys explain along with if statement, I...
Can you guys explain along with if statement, I tried the below

if [ $(tail -1 file | cut -d\| -f1) == "TR" ]
then
echo "Trailer record is missing on the file" | mailx -m -s "Trailer record...
7,530
Posted By Harimalyala
yes I simply want to check if last line has TR or...
yes I simply want to check if last line has TR or not..

Currently my file is as below. Hence if last line has TR then no issues but if it do not then it should generate a email to me stating TR...
7,530
Posted By Harimalyala
Identify Trailer record
Hello,

My script has a trailer record(TR).

Now I need to implement a logic, if TR is missed on the file it should generate me an email stating TR was not on the file..

Kindly help.
4,408
Posted By Harimalyala
Employee records
If there are 2 records for an Employee, How can I choose the one with eff_status = ‘Active' and ignore the eff_status ='Terminated'. if there is only one record, then just write that record...
3,462
Posted By Harimalyala
What have you tried so far? uuencode Files...
What have you tried so far?

uuencode Files | mailx -m -s "FILES" X@a.com

What OS and version are you using?
Windows 7

Is this trying to trigger an email when the file arrives...
3,462
Posted By Harimalyala
Can any one help me on this..
Can any one help me on this..
3,462
Posted By Harimalyala
Files will be placed under FTP location/ some...
Files will be placed under FTP location/ some directory.

---------- Post updated at 12:28 AM ---------- Previous update was at 12:16 AM ----------

link to the files on the directory under FTP...
3,462
Posted By Harimalyala
yes i'm is trying to trigger an email when the...
yes i'm is trying to trigger an email when the files arrives automatically.

Currently I'm giving the below . This is working and I just wanted to have a link also to be sent in this email pointing...
3,462
Posted By Harimalyala
FTP as a link in email
Hi,

I have to place the files under FTP server and when the files were placed a notification email has to be sent to the user outlook box with FTP link.

How can I make a link to FTP and send it...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 07:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy