Search Results

Search: Posts Made By: sam_78_nyc
Forum: AIX 11-12-2011
12,385
Posted By sam_78_nyc
entstat output "Receive Errors"
Hi all,
We are receiving huge number of "Receive Errors" on our database server on AIX. Any pointers to troubleshoot would be really appreciated.

oslevel:
AIX 5.3.0.0

ifconfig -a
en6:...
1,909
Posted By sam_78_nyc
Thanks. I am trying to run the script the...
Thanks.
I am trying to run the script the other way so that I can insert the values in the table. I need to change the value in the text file to a time stamp in db2.
So, basically I need the...
1,909
Posted By sam_78_nyc
Thanks for the reply. The database is db2 and...
Thanks for the reply.
The database is db2 and does not support to_char function.
1,909
Posted By sam_78_nyc
Date - String comparision
Hi,
I am having difficulty to compare a string in a file against a date from a a table and print the latest date. Below are the values.

String in File : 2009-12-02 00:37:51
Value Table : ...
Forum: AIX 06-11-2009
6,951
Posted By sam_78_nyc
FTP file permissions
Hi all,
I am using ftp command to transfer a file from one AIX5.3 box to different box with the same OS level. Is there a way I could change the permissions on the file once its transferred, as I am...
Forum: AIX 01-23-2008
5,071
Posted By sam_78_nyc
compress and ftp from AIX to Windows
Hi all,
I am required to automate a ftp process for a file around 2 GB on a daily basis from AIX to Windows.Is there a utility or a software that could compress the file on AIX and can be...
2,469
Posted By sam_78_nyc
Thanks...
Great..
Thanks.
2,469
Posted By sam_78_nyc
While loop in a If loop
Hi,
I have the following script to move the files from active directory to archive directory if the file system is 75% full. Everything works fine except the while loop does not get out when the...
13,911
Posted By sam_78_nyc
Thanks
Yep...works great.
Thanks.
13,911
Posted By sam_78_nyc
Handling special characters using awk
Hi all,
How do I extract a value without special characters? I need to extract the value of %Used from below and if its greater than 80, need to send a notification.
I am doing this right now..Its...
27,204
Posted By sam_78_nyc
Thanks
Great..
Thanks again..
27,204
Posted By sam_78_nyc
Using find command with awk or basename
Hi,
I am using the following command to extract any log files that are older than 3 days using the following command.

find DIR/LOGDIR -type f -mtime +3 |grep LOG > log_list.out
The results are...
10,653
Posted By sam_78_nyc
Thanks
Thanks..
Works great.
10,653
Posted By sam_78_nyc
combining mv and compress command
Hi All,

I have a file in DirA/ABC.out a need to move to DirB.I am using the following steps now:

mv DirA/ABC.out DirB
compress -f DirB/ABC.out

Is there a way to just do this one step as I...
4,242
Posted By sam_78_nyc
Shell script to separte columns...
Hi all,
I have a data file and need to load the data into tables in a database. The problem is I cannot use a while loop with each line as the data is free text and has all kinds of weird characters...
11,900
Posted By sam_78_nyc
Hi all, Thanks for all the answers..based on...
Hi all,
Thanks for all the answers..based on the above answers I modified the below script ..

Here is the input file...
XYZ-2066779% xyz~%
XYZ-000036480% chxyz36r~%
XYZ-2056453%...
11,900
Posted By sam_78_nyc
Extracting part of a string
Hi all,
I have to extract only the second part of a database column (VARCHAR) and the value is seperated by a "~"

xyz~
chxyz36r~
abder~000082685
mnops~000083554
fulfil302~00026

Above are...
2,415
Posted By sam_78_nyc
using awk command
Below is the output from a db2 reorg command.

DB20000I The REORG command completed successfully.

I am trying to grab the return code(DB20000I) to check for succees or failure.
I need to use...
Forum: AIX 07-11-2006
2,733
Posted By sam_78_nyc
help about a 'test' script
Hi all,
I have the following script.Can somone explain to me what it does.Thanks in advance.

if test $# -lt 1
then
echo "Message"
exit 1
fi
Forum: AIX 07-11-2006
2,733
Posted By sam_78_nyc
question about a 'test' command
Hi all,
I have the following script.Can somone explain what it does.Thanks in advance.

if test $# -lt 1
then
echo "Message"
exit 1
fi
Showing results 1 to 20 of 20

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