Search Results

Search: Posts Made By: kris01752
4,601
Posted By kris01752
Unix Stored Procdure
I have 2 stored procedures to be executed.
if the sysdate is between 12 am and 6 am i want to run procedure 1 else procedure 2

How do i do it with variables for time in the script.
The DB is...
3
1,663
Posted By kris01752
Thank you...
Thank you...
3
1,663
Posted By kris01752
File
ihave a file in the following format...

Company:abc
Cid Cname
1 Wal
2 Buy
Company:def
mkl
Cid Cname
10 Bank
11 XX
Company:mnk
234
Cid Cname
10 bank
1 Wal



The...
4,285
Posted By kris01752
Thank you for the help
Thank you for the help
4,285
Posted By kris01752
Begin End Cust: Col1 ...
Begin End Cust: Col1 Col2 Col3
07/01/06 07/31/06 A02991 - Burnham 0002000 5,829,773 145.3
07/01/06 07/31/06 A02991 - Burnham 0009701 4,043,850 ...
4,285
Posted By kris01752
Clean File
BeginDate 07/01/06
End: 07/31/06
Cust: A02991 - Burnham
0002000 5,829,773 145.3
0009701 4,043,850 267.3
2005000 286,785.13 100.0


BeginDate 07/01/06
End:...
4
Sed
1,861
Posted By kris01752
Thank you...
Thank you...
4
Sed
1,861
Posted By kris01752
sed
Thanks It worked...
How can i remove blank lines with in the same command
4
Sed
1,861
Posted By kris01752
Sed
I need to delete lines in a file which have 2 kinds of pattern
Word "FUND" in the line
or
Has "COMPANY" at End of line

I was able to do them writing 2 sed statements one after one.
How can...
6,067
Posted By kris01752
Line Longer Than 2048 Charcters
I have a csv file with a record size of greater than 2048.So when i try to open the file in VI..This is the error i get (test.csv" A line cannot be longer than 2048 characters)
Is there a way i can...
7,452
Posted By kris01752
Return Codes
Hi ,
I have 2 statements in my script.First statement is failing ,but the secodn statement is executing successfully,So when i echo $? ,it shows as 0..
I cannot make both statements as one...
7,452
Posted By kris01752
Return Codes
I have a simple script which renames a file.How do i capture the return code of the script if the script fails
1,752
Posted By kris01752
Thanks a lot ...it worked
Thanks a lot ...it worked
1,752
Posted By kris01752
remove charcters
How do i remove single quotes(') from a file.
Can we use sed for it
3,391
Posted By kris01752
File Manipulation
i have a CSV file with 2 columns
Fund,Shares
1,100
2,150
3,190

The file is named as AccountNumber.txt(14888.txt,189879.txt...)
That files shows the funds in that account
I want to create a...
1,972
Posted By kris01752
Capture Value from file
I have a file in the following Format

Fundid: 100-BankA

AccountNumber Balance
1 200
2 300
3 400


FundId:123321-BankB

AccountNumber Balance
1 ...
4,414
Posted By kris01752
Clean Text File
HI,
I have a file which comes from crystal reports in the below format.
I need to clean the file so that i will only have the columns(deptid,empid,ename,sal) and the data below the column names....
Showing results 1 to 17 of 17

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