While trying to gunzip afile I get the following error message
ls -l UK_US_02310.dat.gz
-rwxrwxrwx 1 imis abint 348854527 Jan 8 00:17 UK_US_02310.dat.gz
gunzip UK_US_02310.dat.gz
gunzip: UK_US_02310.dat.gz: invalid compressed data--format violated
I can gzcat the file and pipe to... (3 Replies)
Hi:
First, this is not a homework problem. I just need enough of a hint to get this going...
My datafile (dataf.in) is made up of 10 sections. Each section begins with & and with &&
So it looks like this:-------------------------------------
§ion1
...etc...
&&
§ion2
...etc...... (4 Replies)
Hello,
I have a list of filename is a file called list.dat.
The filenames appear in the list.dat file as this:
./set.class
./one.class
I want to delete these file names from the list file using sed. To test I was trying to match just the set.class. Eventually I want to delete all... (5 Replies)
Hello all
I have about 30 small datafiles .
sample1.dat
sample2.dat
...
..
sample30.dat
when I issue gzip *.dat , I end up with the following
sample1.gz
sample2.gz
...
...
sample30.gz
My goal is to gzip all 30 files into one single file (ex:data1-30.gz) as we do on... (4 Replies)
Friends,
I have a datafile that have unknown a number of CHARACTERS.
if the datafile have more than 1 character and less than 20
email me the file
rm datafile
if the datafile have more than 20 characters
split the datafile into 20 characters in each file
email datafileaa
email... (4 Replies)
I have:
datafile contains 1234567890
>wc -c datafile | awk '{print $1}'
>11
The program
#!/bin/ksh
let n = (wc -c datafile | awk '{print $1}')
echo $n
I expect n to be 11 but it gives error message. What is wrong with this statement?
Thanks! (3 Replies)
Hi guys, my supervisor has asked me to solve the problem in 7 days, I've taken 3 days to think about it but couldn't figure out any idea.
Please give me some thoughts with the following problem,
I have index.database that has only index date:
1994
1995
1996
1997
1998
1999
I have... (6 Replies)
Hi all,
i have the files in the below sequence:
fancy_LANG_STD_AU_2008-03-05.dat
fancy_LANG_STD_HK_2008-03-06.dat
fancy_LANG_STD_NZ_2008-03-05.dat
fancy_STD_AU_2008-03-05.dat
fancy_STD_HK_2008-03-06.dat
fancy_STD_NZ_2008-03-05.dat
i am trying to sort them like below:
... (3 Replies)
I have a file (key.dat) that contains two columns:
AA|1234|
BB|567|
CC|8910|
I have another file (extract.dat) that contains some data:
SD|458|John|Smith|
AA|3345|Frank|Williams|
AA|1234|Bill|Garner|
BD|0098|Yu|Lin|
BB|567|Gail|Hansen|
CC|8910|Ken|Nielsen|
I want to compare the... (5 Replies)
could you pls help me out in PERL
i have a requirement like
a.dat.<timestamp>
b.dat.<timestamp>
c.dat.<timestamp>
can you pls help me to rename/remove timestamp
a.dat
b.dat
c.dat
Is there any way to remove timestamp alone
Thanks (3 Replies)
All,
I have a file 1181CUSTOMER-L061411_003500.dat.Z having duplicate records in it.
bash-2.05$ zcat 1181CUSTOMER-L061411_003500.dat.Z|grep "90876251S"
90876251S|ABG, AN ADAYANA COMPANY|3550 DEPAUW BLVD|||US|IN|INDIANAPOLIS||DAL|46268||||||GEN|||||||USD|||ABG, AN ADAYANA... (3 Replies)
Hi friends I have a question,
Assume that I have 3 files' named as file356.dat, file358.dat, file1521.dat
how can I rename them as file-356, file-358, file-1521
Thanks (12 Replies)
Hi,
Can you please tell me the Unix shell script for removing footer from the datafile while loading into external table using sqlloader
we will be skipping the header like this while creating the table
organization external
(
type oracle_loader
default directory directoryname... (5 Replies)
Hi,
I need to delete one row from a .dat file.
error processing column PCT_USED in row 1053295 for datafile /exp/stats/ts_stats.dat
ORA-01722: invalid number
This is used to load records using sql loader.
Please let me know the procedure to do it.
Regards,
VN (3 Replies)
Hi All,
This question has been asked many times, but my problem is slightly different.
In my shell script i am connecting to oracle database and loading the results to .dat file. This .dat file is later used to create to .xls file Some times the size of .dat file becomes more than 120000... (8 Replies)