Search Results

Search: Posts Made By: vee_789
1,332
Posted By vee_789
I tried this command awk -F"þ" '{...
I tried this command

awk -F"þ" '{ $10=sprintf ("%018.3f",$10); print}' OFS=\þ CC_TRANSACTION_SETTLEMENT_20120510.dat


But now the porblem is the data i am getting is correct but its also...
1,332
Posted By vee_789
How to apply that command to the tenth column in...
How to apply that command to the tenth column in a file
1,332
Posted By vee_789
Yes all values contain two zero's at the end
Yes all values contain two zero's at the end
1,332
Posted By vee_789
Need help for awk command
Hi

I have a column which contains values like
000000000035.25600

I want the output as

00000000000035.256

i.e Two zero'z should be appended at the beginning and removed from the end
...
12,537
Posted By vee_789
Hi Skrynesaver So now if i have awk -F ,...
Hi Skrynesaver

So now if i have
awk -F , '{if (match($3,014)) { print $2 } }' Master20120307090511.tmp
The decimal is 33



But 33 does not exists in the master file still it returns me ...
12,537
Posted By vee_789
I would have never known this thanks a lot.
I would have never known this thanks a lot.
12,537
Posted By vee_789
Logic Explanation of Match command in Linux
I am debugging a script and have stuck up at one code line
awk -F , '{if (match($3,001)) { print $2 } }' Master20120307090511.tmp

The Master20120307090511.tmp is

001,ARE , 001
002,ARE , 002...
1,526
Posted By vee_789
select unique values from duplicates in linux
I have values in the variable as so the for loop just fetches one by one
...
1,602
Posted By vee_789
Sed command issue in linux
I ran one the script in debug mode in linux and have a problem

ret='$prmAttunityUser=ais'

Now i need to remove $ from this '$prmAttunityUser=ais' so i had added a sed command like this sed...
1,226
Posted By vee_789
Grep issue
Hi All
I have a file containing following records:


$HEW_TGT_DB2_USER=hbme_bi2
$prmAttunityUser=ais
$DS_USER=hbme_bi2
$prmStgUser=hbme_bi2
$prmuser=hbme_bi2
$prmStgPass=hbme_bi2...
1,623
Posted By vee_789
I want the output as prmAttunityUser=ais ...
I want the output as
prmAttunityUser=ais

The output should be excluding the $ sign.
1,623
Posted By vee_789
Issues in grep command in Linux
Hi All

I have a file containing following records:

$HEW_TGT_DB2_USER=hbme_bi2
$prmAttunityUser=ais
$DS_USER=hbme_bi2
$prmStgUser=hbme_bi2
$prmuser=hbme_bi2
$prmStgPass=hbme_bi2...
4,581
Posted By vee_789
The entire logic is this for y in $params;...
The entire logic is this

for y in $params; do
for pf in $parfile; do
ret=`grep \^$y\= $pf`
if [ "$ret" != "" ]; then
prm=$ret
fi
...
4,581
Posted By vee_789
The value does exists in the...
The value does exists in the file.$prmAttunityUser=ais
4,581
Posted By vee_789
Grep command showing wrong output in Linux
Hi All
I am trying to run a script in linux wherein i have a command like this

grep ^prmAttunityUser= djpHewr2XFMAttunitySetup_ae1_tmp
djpHewr2XFMAttunitySetup_ae1_tmp is a temporary file in...
1,611
Posted By vee_789
Hi You mean i will change the code in the...
Hi

You mean i will change the code in the if loop to the one which you have provided. What difference would it make by putting the -a option. Could you please explain me.
1,611
Posted By vee_789
Error in script for set command
Hi All
I have a function in a Linux script as follows

echo `date`": Info: Started Checking File Pattern(s)"
cat ${CM_FILE_SPLIT_LST} | while read SPLIT_INFO
do
#lets not expand...
3,715
Posted By vee_789
Can someone please help me on this.
Can someone please help me on this.
3,715
Posted By vee_789
Error for "continue" keyword in Linux script.
Hi All

I have a function in a linux script like this


clean_up()
{
db2 -x "UPDATE ${DB_SCHEMA_NAME}.ETL_DAILY SET ETL_STATUS = 'SUCCESSFUL' WHERE PROCESS_DATE = '${INT_RUN_DATE}'...
1,419
Posted By vee_789
No, its still not working it still gives me blank...
No, its still not working it still gives me blank value in SCRNAME.

---------- Post updated at 02:52 AM ---------- Previous update was at 02:31 AM ----------

Hey i got that working i changed...
1,419
Posted By vee_789
[SOLVED] Script error
Hi all

I have a code in unix as
SCRNAME=`whence $0 | sed -e 's/\.\///g'`

this used to return me this path
/data/ds/dpr_ebicm_uat/etl/

but i ran this code in linux as
...
875
Posted By vee_789
Error in script.
Hi All

I have variable which has value like this

SCRNAME=/home/ucmdet01//data/ds/dpr_ebicm_uat/etl/cm3_0/scripts/shell/

whereas i need only,


...
1,025
Posted By vee_789
I am making the db2 connect with this statement ...
I am making the db2 connect with this statement

db2 -x "connect to ${DB_NAME} user ${DB_USER} using ${DB_PWD}" > ${TMPOUT}

I ran part of the script and found out that the values put in the...
1,025
Posted By vee_789
Connection error.
Hi All.

I have a script, in which its throwing me error like

/data/ds/dpr_ebicm_uat//etl/cm3_0/entities/BBME/parameters/cm_file_util.plg: line 7: export: `exist.=SQL1024N A database...
1,833
Posted By vee_789
Thanks
Thanks
Showing results 1 to 25 of 52

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