Save 
Join IIUG
 for   
 

Informix News
29 July 09 - Wall Street Journal - IBM to Acquire SPSS, Adding to Acquisitions... Read
11 February 09 - InformationWeek - IBM Drifts Slowly Toward Mainstream Cloud Computing... Read
11 February 09 - CNNMoney.com - IBM to Deliver Software via Cloud Computing With Amazon Web Services... Read
07 January 09 - Huliq News - IBM Power Servers Helps Bank of Chengdu Build Up Core Banking System.. Read
04 December 08 - Steeleye - Multicarta achieves 99.997% uptime for its Informix-based Credit Card Authorization Centre... Read
16 October 08 - VendorRate - Informix Earns Top Customer Satisfaction Score on VendorRate in Q3... Read
14 August 08 - IIUG.org - Sellout Expected for the 2009 IIUG Informix Conference... Read
29 April 08 - IntelligentEnterprise.com - IBM Informix Upgrade Enhances Clustering, Database Management... Read
29 April 08 - itweek.com - IBM 'Cheetah 2' mauls data costs... Read
28 April 08 - eWeek.com - IBM Uncages Cheetah 2 Data Server... Read
28 April 08 - CNNMoney.com - IBM Helps Clients Reduce Data Management Costs With New Informix Dynamic Server... Read
09 April 08 - CNNMoney.com - MediaSpan Embeds IBM Informix Dynamic Server Software for Delivering News to Print, Web and Wireless Devices... Read
08 April 08 - IT-Director.com - Informix seeks developers... Read
18 February 08 - marketwire.com - Icarus Studios Partners With IBM to Upgrade Performance, Availability for Its Online Games... Read
17 January 08 - eWeek.com - IBM Adds Mac Support to IDS for Higher Education... Read
17 January 08 - informationweek.com - Lotus Notes For iPhone Signals Closer Ties Between IBM, Apple... Read
16 January 08 - marketwire.com - IBM Informix Dynamic Server to Deliver Support for Mac OS X... Read
16 January 08 - internetnews.com - IBM's IDS to Support Mac Platform... Read
28 June 07 - REG Developer - IBM and Informix tie down Cheetah... Read
27 June 07 - CBRonline.com - IBM corrects its own Informix customer figures... Read
14 June 07 - vnunet.com - IBM changes spots with Informix 'Cheetah' database... Read
14 June 07 - eChannelLine - IBM expands scope for IDS... Read
14 June 07 - Resellernews - IBM: Informix database alive and kicking... Read
13 June 07 - DB2 Magazine - Cheetah is now out of the gate... Read
12 June 07 - IBM - IDS 11 release announcement (pdf)... Read
12 June 07 - ChannelWeb Network - IBM Uncages IDS 11, Aka Cheetah, Database... Read
12 June 07 - eWeek.com - IBM's 'Cheetah' Ready to Pounce... Read
12 June 07 - InformationWeek - IBM Unleashes 'Cheetah' Database... Read
12 June 07 - WebWire - IBM Strengthens Database Portfolio With New Informix Dynamic Server... Read
12 June 07 - Intelligent Enterprise - IBM Unveils Informix Upgrade... Read
12 June 07 - ComputerWeekly.com - IBM's Cheetah IDS makes leap to better data centre clustering... Read
12 June 07 - ebiz - IBM Unveils Next Generation Informix Dynamic Server... Read
12 June 07 - computerworld.com - Will 'Cheetah' help IBM's Informix chase down market share?... Read
12 June 07 - Internetnews.com - No Data Can Outrun This 'Cheetah'... Read
12 June 07 - de.internet.com - IBM neuer Datenbank-Server mit Codenamen Cheetah ist fertig... Read
12 June 07 - verifox.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - golem.de - Informix 11 vorgestellt... Read
12 June 07 - Computerwoche.de - IBM stellt neue Informix-Version vor... Read
12 June 07 - IBM.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - Heise - IBM gibt Informix 11 frei... Read
25 May 07 - Taiwan.CNET.com - Local Taiwan Informix user group established... (Chinese language) ... Read
18 May 07 - ChannelWeb Network - IBM Musters Partners For Cheetah Release... Read
18 May 07 - eWeek.com - IBM Looks to 'Cheetah' to Speed Up Blade Servers... Read
7 May 07 - DB2 Magazine - SQL Shortcuts - Use these tricks to generate IDS SQL scripts... Read





End of Support Dates

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

RE: ISAM error -106 non-exclusive access

Posted By: Plugge, Joe R.
Date: Thursday, 9 October 2008, at 3:26 p.m.

In Response To: ISAM error -106 non-exclusive access (Jonathan Smaby)

This has been helpful to me in the past:

#!/usr/bin/ksh
function usage {
print " "
print "Usage: hidden_locks.sh -d DATABASE -t TABLE "
print " "
print " -d DATABASE NAME"
print " -f TABLE NAME "
print " "
}
function validate {
dum="${OPTARG}"

if [[ ${dum} = '-' ]]

then

print "${opt} requires an argument"

usage

exit

fi
}

typeset -L1 dum=''
dopt=0
topt=0

while getopts ":t:d:" opt
do
case ${opt} in

t) validate

topt=1

TABLE=${OPTARG};;

d) validate

dopt=1

DATABASE=${OPTARG};;

:) print "You must supply an argument with an option "

usage

exit;;

\?) print "${OPTARG} is an invalid argument"

exit;;
esac
done

shift `expr $OPTIND - 1`

if [ $topt -ne 1 ]
then

print "No table name specified"

usage

exit
fi

if [ $dopt -ne 1 ]
then

print "No Database specified"

usage

exit
fi

onstat -g opn > /tmp/onstat_g_opn
onstat -u > /tmp/onstat_u
>/tmp/sessions_unsorted

for PARTNUM in `echo "select hex(partnum) from systables where tabname
= \"$TABLE\"
UNION
select hex(partn) from systables t,sysfragments f where tabname =
\"$TABLE\" and t.tabid=f.tabid;"|sqlcmd -d $DATABASE|cut -d 'x' -f 2`
do

print -u2 "PARTNUM:$PARTNUM"

for RSTCB in `grep $PARTNUM /tmp/onstat_g_opn|cut -d ' ' -f
2|cut -d 'x' -f 2|sort -u`

do

print -u2 "\tRSTCB:$RSTCB"

print -u2 "\t\t`grep $RSTCB /tmp/onstat_u`"

SESS=`grep $RSTCB /tmp/onstat_u|cut -d ' ' -f 3`

echo "$SESS"

done
done|sort -u>/tmp/hidden_locks_sessions

print -u2 "\nSessions holding hidden Locks are in
/tmp/hidden_locks_sessions"

-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
Jonathan Smaby
Sent: Thursday, October 09, 2008 2:05 PM
To: ids@iiug.org
Subject: ISAM error -106 non-exclusive access [13652]

Good morning,

I'm sure this question has come up dozens of times. I couldn't find
what I was looking for in the list archives. I have a table that we
need to modify schema "Informix".profile_rec, but I can rename or drop
this table due to non-exclusive access (isam error -106). I cannot find
any users locking the table when querying the syslocks table in the
sysmaster database. Also, onstat -k is too complicated for me to trace
back to tables/users. Does someone have a handy process or script that
can find a lock that isn't in syslock and trace it back to a user's
id/session? Short of bouncing the IDS engine, I know of no other way to
release locks.

Thank-you in advance for your assistance.

Jonathan Smaby

Pomona College

-------------------------------------------------------------
This message has been scanned by Postini anti-virus software.

************************************************************************
*******
Forum Note: Use "Reply" to post a response in the discussion forum.

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.