Search Results

Search: Posts Made By: RRVARMA
2,624
Posted By RRVARMA
Hi, Actually from the database the value is...
Hi,

Actually from the database the value is coming like C "BHPC
BHPC" 0 0
and if i looked it in unix environment by doing awk -F "," {print $35} with the file it is showing like

"BHPC
N...
2,624
Posted By RRVARMA
Removing \n from .csv file
Hi,

I have a requirement like my .csv file is generating from a db2 table using export command like below:

file format:
-----------

2011 4 0 0 N S C C "BHPC
BHPC" 0 0 0...
1,107
Posted By RRVARMA
replacing date with a variable in a file
Hi,

I've a variable for example..
ACTIVATION_DATE=2010-11-11
(the date above is a result of a sql query and not hardcoded)

now there is another file (test_2.parm) where there are many...
11,822
Posted By RRVARMA
expiry date for files?
Hi,

Is there any way i can give an expiry date for files that i create? For example, i would like to get a file deleted automatically after 60 days from the creation date. Is there any possibility...
8,758
Posted By RRVARMA
Thankyou.. i got it.. :) :b:
Thankyou.. i got it.. :) :b:
8,758
Posted By RRVARMA
yyooo.. it worked.. :)
Thanks a lot.. it worked.. :D

---------- Post updated at 07:52 PM ---------- Previous update was at 07:48 PM ----------

Hi Methyl,

I'm just curious to know what is this doing exactly.....
8,758
Posted By RRVARMA
Find the process was run using nohup or ksh.
Hi,

I want to write a script which should be run only on foreground. Is there any way that the script can check itself whether it was run using nohup or ksh and if the user runs the script using...
31,435
Posted By RRVARMA
got part of it..
Hi,,

I got part of the thing done..

i gave this command..

du -as|sort -nr|more

and got all the files.. in the descending order of the file usage.. that was cool.. now wat i need is to...
31,435
Posted By RRVARMA
du - Disk Usage for only files and NOT directories.
Hello,

Could any one help me how to find the Disk Usage for all the files in the running directory and the sub directories without the disk usage of the directory. I mean to say, i need only the...
8,837
Posted By RRVARMA
how to know which version of PHP and apache is in my server?
Hi,

How to get the version of php, apache and WebSphere instealled in my server. The OS is AIX.

Thanks in advance.
R R VARMA
1,457
Posted By RRVARMA
ok.. thank you very much for helping in knowing...
ok.. thank you very much for helping in knowing wat is the error atleast.. :)
1,457
Posted By RRVARMA
But how to connect to the database in awk. can u...
But how to connect to the database in awk. can u help me with this as well.. please.. :(
1,457
Posted By RRVARMA
Thanks Radoulov, but how can i update the...
Thanks Radoulov, but how can i update the table..?? my intention is to update the table with those values for the corresponding table names. Please help.:confused:
1,457
Posted By RRVARMA
Problem in awk
Hi, I have a file (abc1.dat) with first field as table names and second field as previous months count and 3rd field as current months count. There are about 40 tables names in the file. This is the...
3,909
Posted By RRVARMA
Hi, Thanks cooldude, but your script is...
Hi,

Thanks cooldude, but your script is fetching not only the unique records but also the other records as well.. I'm confused.. :confused:

But its quite faster than the other scripts which i...
3,909
Posted By RRVARMA
Hi joeyg, Thanks for the feed back.. but i'm...
Hi joeyg,

Thanks for the feed back.. but i'm not able to get you.. :(

Here both the files are sorted.

Thanks,
RRVARMA
3,798
Posted By RRVARMA
Hi Annihilannic, Its showing this error.. ...
Hi Annihilannic,

Its showing this error..



awk: can't open |



As i said.. i'm not that good in awk.. :( Could you please suggest some other way.

Thanks Annihilannic, :)
RRVARMA
3,909
Posted By RRVARMA
Very Challenging Problem. Please read fully.
Hi,

This is the Third thread i'm putting here for the same problem. :(

Actually, i'm trying a script like this.. but its taking a long time.. about 3 days to complete fully..



#!/bin/ksh...
3,587
Posted By RRVARMA
sample records.
Hi fpmurphy & radoulov,

Thanks for the feed back.

These are the sample records for first file file_3uniq_fields.out


1TVAO|OVEPT|VO
1TVAO|OVPDM|VO
6NFXE|17CLP|DH
6NFXE|NRZO4|EQ...
3,587
Posted By RRVARMA
Performance issue with awk script.
Hi,

The below awk script is taking about 1 hour to fetch just 11 records(columns). There are about 48000 records. The script file name is take_first_uniq.sh

#!/bin/ksh

if [ $# -eq 2 ] ...
3,798
Posted By RRVARMA
awk script required for finding records in 1 file with corresponding another file.
Hi,

I have a .txt file (uniqfields.txt) with 3 fields separated by " | " (pipe symbol). This file contains unique values with respect to all these 3 fields taken together. There are about 40,000...
1,838
Posted By RRVARMA
Plz let me know if u have any doubts regarding my problem.
Please post replies if you are not able to understand the above question. I'll try to make it more clear if u hav any doubts.
1,838
Posted By RRVARMA
Records mismatch while sorting in MPRAS and SunOS
Hi,

As part of migrating a script from SunOS to MP RAS, the following script is not functioning in desired way.



sort -t\| -u +6 -7 +12 -14 textfile1.out > \
textfile2uniq.out


...
2,489
Posted By RRVARMA
Thanks very much.. Problem solved..
Hi fpmurphy,

Thanks very much.. Its working now.. :)

Thanks,
RRVARMA
2,489
Posted By RRVARMA
Continued from above problem..
Hi,

Also the above script is giving value only for $MM1 and $MM2, if i assign the values directly.. ie,

DD1=01
MM1=05
DD2=14
MM2=06

echo Pockets_$MM1-$DD1_to_$MM2-$DD2_data.txt

echo...
Showing results 1 to 25 of 37

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