Search Results

Search: Posts Made By: karthik adiga
2,531
Posted By karthik adiga
How to remove unused html codes from the file using UNIX?
Hi All,

We have a HTML source which will be processed using a informatica workflow. In between these two we have a Unix script which transforms the file.

We are getting an error from past week...
5,730
Posted By karthik adiga
EX:000256 in abc.csv becomes 256 when i open the...
EX:000256 in abc.csv becomes 256 when i open the mail attachement.

I do not get an option to open the attachement using notepad using outlook
5,730
Posted By karthik adiga
it comes in as an attachement.Double click
it comes in as an attachement.Double click
5,730
Posted By karthik adiga
Hi Rudi, This unix script mails the .csv...
Hi Rudi,

This unix script mails the .csv file which is already created by a informatica process.I am not seeing leading zeros when the script mails the .csv file and when we open the mail...
5,730
Posted By karthik adiga
Ho to remove leading zeros from a csv file which is sent from a UNIX script
Hi All,

I am using a informatica job to create a csv file and a unix script the mail the generated file.Everything is working fine but I am not seeing leading zeros in the csv file sent in the...
2,854
Posted By karthik adiga
Thanks for the suggestion joeyg : ) I used CSV...
Thanks for the suggestion joeyg : ) I used CSV file instead of xls and it worked
2,854
Posted By karthik adiga
Error message while openning the xls file generated by UNIX
Hi All,

I have created a unix script to mail the xls file.This is being done using mailx command


fdate=`tail -1 abc.xls | cut -c1-8`
SUBJECT="CARD GL Exceptions : ${ENV} for ${fdate}"...
12,327
Posted By karthik adiga
Sorry for the inconvienece RudiC.I will take care...
Sorry for the inconvienece RudiC.I will take care of it in future.Both the solutions provided by you is working fine ...Thanks a lot for the help!:b::b:
12,327
Posted By karthik adiga
Using like operator in awk if condition
Hello All,


I have developed a script which selects a particular filed from a file ,trims it,searches for a particular pattern and then mail it when found.


cat test_file.txt |sed -n...
1,606
Posted By karthik adiga
Hi, I need to capture the error code...
Hi,


I need to capture the error code before exiting the program.


if [ $data_file_cnt -ne $trg_file_cnt ]
then
echo "Actual count between $data_file and $trigger_file not matching [fail...
1,606
Posted By karthik adiga
How to capture the error code a use it in error table?
Hello Everyone,

I have written a file validation script in unix to compare the data and trigger file.My requirement is if the file validation fails,I need to upate the error details in a table
...
2,205
Posted By karthik adiga
Thanks for the reply...here is the snippet ...
Thanks for the reply...here is the snippet

#!/bin/sh
#Two input parameters USER_ID and Password
DB_USER=$1
DB_PWD=$2
result=`sqlplus -s $DB_USER@D1TFDDS/$DB_PWD<<EOF
spool sample.txt
sql...
2,205
Posted By karthik adiga
Help with passing parameters from a file
Hello Everyone,


I have developed a shell script which takes schema id and password as parameter to login into database using sqlplus,runs a query and mails the result.


My requirement is...
1,258
Posted By karthik adiga
there are 3703 rows..please find the attachment
there are 3703 rows..please find the attachment
1,258
Posted By karthik adiga
Mismatch in summing a column in UNIX
Hello,

I am facing issue in summing up a column in unix.I am displaying a column sum up to 4 decimal places and below is the code snippet



sed '1d' abc.csv | cut -d',' -f7 | awk...
1,764
Posted By karthik adiga
Thanks Anbu ..its working fine..i am facing a...
Thanks Anbu ..its working fine..i am facing a starnge issue now:)

command given by you works fine if there is no control m appended at the end of the line or else it will display 0.0000 ....is...
1,764
Posted By karthik adiga
Hi Andu23, Thanks for the reply.. I...
Hi Andu23,

Thanks for the reply..

I am not able to display any result with the command.



cat test.txt
01/31/2014,3702,-170552450514.86

cib-sokay2{}:awk -F"," ' NR > 1 {...
1,764
Posted By karthik adiga
How to pad zeroes based on input string?
Hello everyone,

I am comparing two floating point numbers by storing them in seperate files and then using difference command to verify,it is working fine.

But I want to compare two values...
2,328
Posted By karthik adiga
Hi, Could you please help me out with this...
Hi,

Could you please help me out with this requirement


awk -F, 'FNR==NR{X[$1 FS $2]=$1 FS $2;next} ($0 in X){print X[$0] " entry from file1 is present in file2.";delete X[$0]} END{for(i in...
2,328
Posted By karthik adiga
Thanks a lot Ravinder and Akshay..its working :b:
Thanks a lot Ravinder and Akshay..its working :b:
2,328
Posted By karthik adiga
Thanks Ravindra for the solution. I am...
Thanks Ravindra for the solution.

I am getting syntax error when trying to execute the same.

cib-sokay2{u384283}167:awk -F, 'FNR==NR{X[$1 FS $2]=$1 FS $2;next} ($0 in X){print X[$0] " entry...
2,328
Posted By karthik adiga
Need help in comparing two files in UNIX with a mismatch
Hi Everyone,
I am comparing results of two environments using unix files.

I am writing two different csv file using spool and merging both the files using paste command

paste -d, file1.csv...
7,260
Posted By karthik adiga
Need help in sending html mail with attachment
Hi Everyone,
I am facing problems in sending html mail with attachemnt.
I will able to send mail with attachment (plain text ) using mailx -s and uuencode command and
also html mail without...
Showing results 1 to 23 of 23

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