Just to inform others that the problem has been corrected by db2 team.
export DB2CLP=**$$** corrected the problem...
Best Regards, Guy Przytula
--
View this message in context:
http://www.nabble.com/cygwin-and-db2-tf2008740.html#a5645136
Sent from the Cygwin Users forum at Nabble.com.
--
Uns
I have different machines with cygwin and db2 installed
There is 1 machine that is acting differently from the other machines,
although I don't modify many setting in cygwin/windows
The case is that if I connect to database : this is successfull but this
connection is immediatly lost. I execute an
another question from newbie ..
is it possible with grep to select only the rows where the second word
applies, because the pattern can occur at different places like :
row 1 : zzz
row 2 : zzz
I need only the row where word 2 =
grep would also return row 2
Thanks for
I am using a simple program with a loop
#!/cygdrive/c/Cygwin/bin/bash
db2pd -d ddba -transaction | grep " $lw " | gawk '{ print $2" "$4}' | {
while read TREC
do
set - $TREC
tid=$2
aid=$1
echo "tid : $tid aid : $aid"
if [[ "${tid}" -e
I have a small problem with find command
whenever I specify the -exec option this error is displayed
/cygdrive/c/workdir: find . -name "db*" -mtime +2 -type f -exec /bin/rm {}
find: missing argument to `-exec'
tried quotes - single double ... with/without path to rm or any other
command (ls)
re
I am trying to use diff and get the message cygintl-2.dll not found
I verified packages : coreutils - fileutils-diffutils and they are all
installed with setup
tried re-install : same result
Any idea for this dll ? (or package missing)
Best Regards, Guy Przytula
--
View this message in context:
thanks for the update
changed the code (not as indicated - in that case DBREC does not get filled
but ..
while read DBREC
done < foo.tmp
using this type of coding I never get the hang..
Best Regards, Guy Przytula
--
View this message in context:
http://www.nabble.com/loop-hanging-tf18614
I have a small program that executes a command and parses the output
I can see that on many executions the program hangs.
added some debug statements and could see it is at loop iteration that we
hang
sample code
#!/cygdrive/c/Cygwin/bin/bash
db2 list db directory | {
while read DBREC
thanks for the update
a simple testcase
tempdba:/cygdrive/c/workdir:echo $OBJECT
tempdba:/cygdrive/c/workdir:. ./testcase -a dt
print object dt
tempdba:/cygdrive/c/workdir:. ./testcase -a dt
print object dt
tempdba:/cygdrive/c/workdir:. ./testcase -a dl
print object dt
tempdba:/cygdrive/c/workdir
I have cygwin running o win/xp
whenever I execute a script that accepts options like :
while getopts "d:a:s:u:" option; do
case "$option" in
d) DBNAME=$OPTARG
;;
a) OBJECT=$OPTARG
;;
s) CREATOR=$OPTARG
;;
u) USER=$OPTARG
;;
*) usage
esac
d
10 matches
Mail list logo