Search Results

Search: Posts Made By: gunaah
20,786
Posted By gunaah
Yes, I do have and I verified running echo...
Yes, I do have and I verified running

echo "Now processing step: LOAD_"
DB_CONNECT="OPS_STATS/OPS_4STATS@UTIDAL"
SPOOLFILE=/home/ca51336/log.txt

echo "Now processing step:" $DB_CONNECT...
20,786
Posted By gunaah
Truncating table from a shell script
I am trying to truncate a table using below script. When I ran the script it runs fine but table was not truncated and the spool is empty. I am not sure what is wrong with pl/sql block.

#!/bin/ksh...
2,807
Posted By gunaah
Thanks! this one also works cut...
Thanks!

this one also works

cut -c17-30,750-775,776-780,781-805 $tempfile > $misfile
2,807
Posted By gunaah
cut columns in everyline
Is there a betterway to cut certain columns in everyline based on positions.

Basically, I have a largefile and eachline is of 1000 characters and I need to cut the characters 17-30, 750-775,...
10,738
Posted By gunaah
Thank you. It works
Thank you. It works
16,193
Posted By gunaah
extract a string after a pattern using sed
I have a very large file and each line has a pattern and it is not position specific. I need to extract the string after the pattern

****MI* is the pattern in the red color
12 digit number is...
10,738
Posted By gunaah
Thanks Rubin !!! It works !!! I...
Thanks Rubin !!! It works !!!



I have the file size of few 100 MB's. and I am getting error

awk: Input line TransformUtils trans cannot be longer than 3,000 bytes

Is there any...
10,738
Posted By gunaah
Grep & print
I just need to print value 12 digit number after the key *MI*. My big concern is the below lines are not fixed format or length so cant cut based on the position.

...
18,447
Posted By gunaah
grep - you can do wider search with diff options...
grep - you can do wider search with diff options using the pattern string in the file
find - able to locate the file that has the pattern string
Showing results 1 to 9 of 9

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