Search Results

Search: Posts Made By: PG3
6,406
Posted By PG3
balajesuri, thank you for showing me that...
balajesuri,

thank you for showing me that this is also be done using perl.

regards,
Pgonzalez.
6,406
Posted By PG3
Im loosing my mind here...no matter what I do......
Im loosing my mind here...no matter what I do... it is still showing incorrect format. Consitontly showing errors no matter what I do.
usage: date [-jnu] [-d dst] [-r seconds] [-t west]...
6,406
Posted By PG3
Im afraid it is still not working for me. ...
Im afraid it is still not working for me.
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
usage:...
6,406
Posted By PG3
Yes, when I run this, I get this error. date -d...
Yes, when I run this, I get this error.
date -d "2012-01-04 + 6 day" "+%Y_%m_%d"


usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date |...
6,406
Posted By PG3
Hi Mirni, I want it to display the next few...
Hi Mirni,

I want it to display the next few days untill it reaches the value of c. To explain more clear,

Lets say if we pass a date of '2011-11-20' as argument then we want to see the next...
6,406
Posted By PG3
Date not displaying correctly
Hi Experts,

I tried to stay away from posting stuff here and asking for help.

I want to print date valeu for a given variable and that is not working.

#!/bin/bash
START=`echo $1 | tr -d _`;...
1,325
Posted By PG3
Radoulov, That was a deliberate mistake by...
Radoulov,

That was a deliberate mistake by me. At anyrate, I shall let you know how it goes as I need to get off the shift now but when I just ran the script on dual table, it did show the...
1,325
Posted By PG3
radoulov, The script errors with the...
radoulov,

The script errors with the following msg -

hdflldRR3:/Users/PGonzalez 06:26:57 cat SBR.sh

printf 'select %s from dual;' "$(
printf "'%s'\n" $(<infile) |
paste -sd, -A
...
1,325
Posted By PG3
Trouble with external tables
Hi All,

My flat file lets say has the following contents

AT & T
CITIZENS MOHAVE CELLULAR
COMMNET
DRR
E1CELLULAR
....

Now, Im trying to select data from a flat file(sitting on unix...
2,124
Posted By PG3
Scrutinizer, You truly are exalted ! ...
Scrutinizer,

You truly are exalted !

regards,
PGonzalez.
2,124
Posted By PG3
Scrutinizer, Thank you for the reply. ...
Scrutinizer,

Thank you for the reply.

To make it a bit more clear, SETT is the final part of the puzzle & is an abbreviation for SETTLEMENT. These three records have to looked at together and...
2,124
Posted By PG3
Scrutinizer, Yes, after a second glance, I...
Scrutinizer,

Yes, after a second glance, I realized the extra "]" and when I took out, it just ran well.

Sure here is the sample set of records with 3 records instead of two.

11393 18.77(E)...
2,124
Posted By PG3
Scrutinizer, Thanks a bunch for making...
Scrutinizer,

Thanks a bunch for making yourself clear in you are doing here but I dont get it completely. I think I should pick up the Kernighan's book on Awk.

First things first, "Thanks for...
2,124
Posted By PG3
Scrutinizer, Just great ! but I couldn't...
Scrutinizer,

Just great ! but I couldn't follow you as well.

Im simply embarrassed to even pose this question to you. Can you please explain this to me as to what you are doing here ?
...
2,124
Posted By PG3
Ctsgnb, Amazing. Perfect results. Ran this...
Ctsgnb,

Amazing. Perfect results. Ran this even on a file with 200,000 rows and came back at me under 1 minute.

Big big thanks.

Btw, can you please please decipher this for me as I might...
2,124
Posted By PG3
Set of 2 records as one unit
Hi Experts,

back at this forum again. Have a tab separated file like this ---

ACCNN AMT(E/$) TYPE ID
11233 23.20($) AUTH 339
11233 ...
1,700
Posted By PG3
Peasant, You are so correct. I did which on...
Peasant,

You are so correct. I did which on the expr and it did not show anything under there. Thanks a bunch.

Appreciate your help and I cant believe that I was doing such a silly mistake.
...
1,700
Posted By PG3
Simple While Loop not exitting
Hi Experts,

Im running a bit complicated sql script and for reasons of scheduling,I wrapped it around in a simple shell script. So, when I run it, it do creates an output file and writes to it...
25,653
Posted By PG3
Ctsgnb & Ygor, This script was working fine...
Ctsgnb & Ygor,

This script was working fine for me till day before yesterday. I had to make some changes by adding few columns which have null values or spaces. So, when I run the same script, it...
1,180
Posted By PG3
Mr. Macnamara, That was Sheer Brilliance !...
Mr. Macnamara,

That was Sheer Brilliance ! Absolutely mind boggling.

Thank you and super big Thank you !

Now, here are my questions. First I edited your code in here by adding another...
1,180
Posted By PG3
Contention Identifier Script
Hi Experts,

Need some help with a script which is definetly beyond my scripting skills.

Here is flat file that I have with 4 Key Columns


KEYCOLUMN1 KEYCOLUMN2 ...
25,653
Posted By PG3
Ctsgnb & Ygor, Yes, the size of the file...
Ctsgnb & Ygor,

Yes, the size of the file that we are talking is pretty small only 60 lines or so and hence I thought this could be the *easy* way out.

Ygor, I shall post any further questions...
25,653
Posted By PG3
Hey Thanks for the quick response. Im as new as...
Hey Thanks for the quick response. Im as new as they come to Oracle itself. I read couple of posts here pointing me in this direction as it looks pretty simple & easy to follow & ofcourse it doesnt...
25,653
Posted By PG3
Hi Folks, Im going through this forum down...
Hi Folks,

Im going through this forum down here looking for some clues as how to insert a CSV file into a table in Oracle. Im in the same situation as the one who posted their question in here.
...
1,144
Posted By PG3
Klashxx & ygemici, Both your answers worked...
Klashxx & ygemici,

Both your answers worked perfectly for me.

Greatly thank your contribution and as always your contribution to many a minion like me is truely cherished.

Pgonzalez.
Showing results 1 to 25 of 31

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