Hi All
my scenario is as follows...
I have the following three files in directory alphabet, containing the respective character string...
Filename Character String
alphabet01.dat AAA
alphabet02.dat BBB
alphabet03.dat CCC
based on... (12 Replies)
I have 10000 files in a directory. The name is something like:
1.dat
2.dat
3.dat
4.dat
.....
.....
.....
1000.dat.
----
-----
Files are not sorted. I want to move first 500 largerst files from this directory to another directory. Next 500 largest files to another directory.
... (8 Replies)
Hi All
One of my script generate following files. These files has static TIMESTAMP 20080227.
AccAdd_20080227_1000.dat
AccBal_20080227_1000.dat
Acc_20080227_1000.dat
AccGrpMem_20080227_1000.dat
AccToCust_20080227_1000.dat
What i need to do is, once the file has been generated, it... (7 Replies)
Hello,
I've tried searching the forum for an answer to my question, but without any luck...
I have a datafile looking simplified as follows:
01 02 03 04 05 06
07 08 09 10 11 12
13 14 15 16 17 18
19 20 21 22 23 24
I want to reverse it by rearranging all the numbers from last to... (16 Replies)
Hi everybody,
I have a problem while using oracle sqlldr in unix.
I get a .dat file through SFTP and placed at some location.I need to write a shell script to pick the .dat file dynamically what ever the full name so that i can refer this .dat file in my sqlldr control file.
eg:
... (10 Replies)
Hi, I have a question that I cannot solve.
if I have a file like this (lets say "x-values.dat"):
x1
x2
x3
another file like this (lets say "y-values.dat"):
y1
y2
y3
y4
and another file like this (lets say "p-values.dat"):
p1
p2
p3
...
p12
How can I get this output?
x1 y1 p1
x1 y2... (16 Replies)
Hi,
I would like reading first 3 charcters from dat file and need to creat a new file based on the reading.
Assume in dat file first 3 charcters would be "abc" .that entire record needs to be extract in to a new file and remove the record from that dat file.
Regards,
KK (10 Replies)
Hi,
I have some hundreds/thousands of files named logX.dat, where X can be any integer, and they are sequential, X ranges between 1 and any number:
log1.dat log2.dat log3.dat log6.dat log10.dat ... log6000.dat
I would like to rename them to
scatter_params_0001.dat... (6 Replies)
Hello,
I have a dat file nctilllist.dat which will be present in the directory path
"/usr/lpp/web-data/mfg/nct/file-data/nctilllist.dat"
nctillist.dat will have reference to files like DP100001.jpg,DP10002.PDF,DP100003.doc
on the path /usr/lpp/web-data/mfg/nct/file-data will have... (12 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 ,
I am getting file name like
ABC_DATA_CUSTIOMERS_20120617.dat
ABC_DATA_PRODUCTS_20120617.dat
Need to convert
CUSTIOMERS.dat
PRODUCTS.dat
Help me how to do this. (7 Replies)
Hi Everyone,
I have a question:
I have a lot of file named like
or10000.dat, or9100.dat, or100.dat, or3100.dat...
I want to deal with these files according to the
number in the name. So I want to deal with or100.dat
first and then or3100.dat and so on.
I used :
for i in `ls or*.dat |... (11 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)
Dear all,
I have a csv file which is transformed to .dat. I have an awk file which is supposing to do the mapping of the dat file. the code from the awk file is the one below.
The content of the dat file is looking like this (tab separated):
ODT AGE CDT CO SEX TIME ... (9 Replies)