Search Results

Search: Posts Made By: srikanth38
893
Posted By srikanth38
I have got the answer, just used different...
I have got the answer, just used different delimiter.


echo /opt/fedex/acqulev1/abinitio/acqu/private_sand/legacy_acquisition/sql/DELETE/FCIS/delete_CS53_2.sql|sed 's|'$AI_SQL'||'
893
Posted By srikanth38
Extracting directory portion.
Dear Experts,

I have some directory structure something like follows. I would like to cut portion of it. Would you please help me? I have to run this on several sql's. The directory path is...
1,490
Posted By srikanth38
Thanks for looking into it. I have corrected it...
Thanks for looking into it. I have corrected it later. Its my bad. I will try myself and let you know.
1,490
Posted By srikanth38
I tried grep the lines for every phase but its...
I tried grep the lines for every phase but its becoming a complex program as I had different other phases as well.
I am using Linux and korn shell. Anytime 01182018 100009, 01182018 100010 works...
1,490
Posted By srikanth38
Fetching timestamps from the logs.
Dear Experts,

I need some help to get the time stamps from the Unix logs. Basically I am want to analyze which step is taking more time. Please give me some inputs. Thanks a lot for your help.
...
4,003
Posted By srikanth38
Here is the stty commands in my profile. I dont...
Here is the stty commands in my profile. I dont have any .kshrc file. Is this something needs to fixed by root level?

stty rows 40 cols 130 erase ^? intr ^C
export TERM=xterm
set -o vi
stty...
4,003
Posted By srikanth38
Thank you for correcting my post and responding....
Thank you for correcting my post and responding. Thanks a ton.

I have .profile in my home directory. I kept the code you have given in it but still having the same result.

Should i remove rest...
4,003
Posted By srikanth38
Stty help in korn shell
We are getting a following stty error when I am running a script.


stty: standard input: Inappropriate ioctl for device

I have some of following stty settings in my .profile. Tried other...
11,191
Posted By srikanth38
Thanks for your reply, Rename is a ftp command. I...
Thanks for your reply, Rename is a ftp command. I already compared the versions, it seems fine. Would like to understand why it is behaving differently.
11,191
Posted By srikanth38
FTP rename command help
I have to ftp and rename the file with #finished# extension after successfully transfer. In some environments the command rename ABCD.dat ABCD.#finished# is working fine, but some environments its...
Forum: Fedora 01-22-2015
5,071
Posted By srikanth38
Linux XXXXX.prod.XXXX.com 2.6.18-194.11.4.el5 #1...
Linux XXXXX.prod.XXXX.com 2.6.18-194.11.4.el5 #1 SMP Fri Sep 17 04:57:05 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Forum: Fedora 01-21-2015
5,071
Posted By srikanth38
Its Linux - I just want to find out the...
Its Linux - I just want to find out the difference , something like (01212015 203238) - (01212015 201302) = 19(M):36(S).
Forum: Fedora 01-21-2015
5,071
Posted By srikanth38
Difference of dates
I have a script which is printing date in below format while writing the logs.

theDate=`date +"%m%d%Y"`
theTime=`date +"%H%M%S"`
echo $theDate $theTime

How can i find out difference current...
1,008
Posted By srikanth38
I actually wanted to search "|FK|" in the file...
I actually wanted to search "|FK|" in the file and take that position. Based on that position if any nulls are presented replace with "FK".

Now i found a way with above suggestion. I have kept...
1,008
Posted By srikanth38
Help require to edit multiple files
I have 6 different pipe delimiter files. My loads failing due to missing company code.

File1: 31 st field is company code.

402660076310|2014-12-10...
1,192
Posted By srikanth38
Thank you for your reply. No its not working. I...
Thank you for your reply. No its not working. I was able to get it using following command.

grep -P "[\x80-\xFF]" <file_name>
1,192
Posted By srikanth38
Question related to grep
We have huge file with control A as delimiter. Somehow one record is corrupted. This time i figured it out using ETL graph. If future , how to print only bad record.

Example Correct record:...
Forum: Red Hat 09-08-2014
2,461
Posted By srikanth38
Thank you Jim, i will check check sum with source...
Thank you Jim, i will check check sum with source and let you know how it goes.
Forum: Red Hat 09-05-2014
2,461
Posted By srikanth38
Special control characters in file
Hi Guys,

We receive some huge files on to Linux server. Source system use FTP mechanism to transfer these files on our server. Occasionally one record is getting corrupted while transfer, some...
1,087
Posted By srikanth38
Finding the Latest record
Dear All,

I have getting data as follows, the second field signifies table name and last one is time stamp. I have return always latest record based on time stamp. Could you please help me ?
...
1,846
Posted By srikanth38
Thank a lot Yoda. This worked like a charm.
Thank a lot Yoda. This worked like a charm.
1,846
Posted By srikanth38
[Solved] Extracting information from DDL's
Dear Experts,

I need your help here. I have lot of teradata DDL's as follows, i want to extract field names , field attributes and NOT NULL information from DDL.Could you please help here.
...
903
Posted By srikanth38
Awk/sed help
Dear All,
The row_eff_tmstp (4th field) and row_expr_tmstp(5th field) in below data represents. If row_expr_tmstp is less than row_eff_tmstp I should replace that as null. First record is header...
1,434
Posted By srikanth38
Thank you Rudi. Appriciate you help. It worked...
Thank you Rudi. Appriciate you help. It worked fine.
1,434
Posted By srikanth38
Hi Rudi, Thank you for your quick response....
Hi Rudi,

Thank you for your quick response.

We have some data as CHAR(10) and CHAR(15) as well in the data. We can to change that also VARCHAR(10) and VARCHAR(15) respectively. Kindly...
Showing results 1 to 25 of 33

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