Use the db2bfd command to determine the names of the packages contained in a bind file:
db2bfd -b db2look.bnd
This is a blog where I describe and share my experiences as a technical expert and as a bootstrap start-up founder with over of 20+ years of professional career
Showing posts with label DB2. Show all posts
Showing posts with label DB2. Show all posts
Friday, March 4, 2011
Tidbit:DB2: identify packages in a bind file
Labels:
DB2
Monday, December 6, 2010
DB2:SQLPL: Weird look-ahead bug in SQLPL stored procedure SQL0811N
Just found interesting bug in DB2:
One of the update statements was failing with below SQL Error:
SQL0811N The result of a scalar fullselect, SELECT INTO statement, or VALUES INTO statement is more than one row. SQLSTATE=21000
Nothing unusual, outside of fact that this error was appearing in run time immediately after stored procedure started to execute.
Problem SQL was in the middle of stored procedure body, but it was a FIRST REAL SQL in the body (not call to other stored procedures).
The moral: DB2 executing look-ahead approach in stored procedures and when it finds "naked" SQL it will execute it, ignoring other statements (including debugging ones).
One of the update statements was failing with below SQL Error:
SQL0811N The result of a scalar fullselect, SELECT INTO statement, or VALUES INTO statement is more than one row. SQLSTATE=21000
Nothing unusual, outside of fact that this error was appearing in run time immediately after stored procedure started to execute.
Problem SQL was in the middle of stored procedure body, but it was a FIRST REAL SQL in the body (not call to other stored procedures).
The moral: DB2 executing look-ahead approach in stored procedures and when it finds "naked" SQL it will execute it, ignoring other statements (including debugging ones).
Labels:
DB2,
SQL Error,
SQLPL,
stored procedure
Sunday, November 21, 2010
Technical areas I will write about
I was lucky to start working in database technology since very early - early versions of Oracle (v6), DB2 (2.1 on mainframe), SQL Server (v 6), MySQL (v3), Sybase and Teradata.
Arrival of scalable NOSQL databases and a cloud puts a new life into database technology - what we can do with such databases as Hadoop, Simple DB, MongoDb, Cassandra opens new horizons!
I also start working with Internet technologies very early - sill remember using alpha version of Netscape over PPP and slirp. Was a beta user of Java (still holding SunSoft developer box with the first version of java) and prior to leaving to US (from Israel, mid 1995) was approached by Israeli SUN subsidiary to lead JDBC development (to create JDBC that was not existent at that time).
Using database and java technology while working with large insurance companies (Principal Financial Group, Allied Insurance, Nationwide Insurance), large Internet companies (eBay and Yahoo), supporting major Banks (like SVB) and Casinos (Like WYNN) creates great perspective and knowledge of what is working and not working under very high production load, what architectures are scalable and what is not scalable and should be broken into scalable pieces ASAP and how to handle critical production problems in real time. All this I believe is worth sharing.
I also accumulated huge library of technical tidbits that can be very useful to DBAs, Application Server Admins and well as to System Admins.
Recently I work with data masking technology and find it to be very interesting area to cover as well.
I am sure I'll add more later - but this looks like a good start
Arrival of scalable NOSQL databases and a cloud puts a new life into database technology - what we can do with such databases as Hadoop, Simple DB, MongoDb, Cassandra opens new horizons!
I also start working with Internet technologies very early - sill remember using alpha version of Netscape over PPP and slirp. Was a beta user of Java (still holding SunSoft developer box with the first version of java) and prior to leaving to US (from Israel, mid 1995) was approached by Israeli SUN subsidiary to lead JDBC development (to create JDBC that was not existent at that time).
Using database and java technology while working with large insurance companies (Principal Financial Group, Allied Insurance, Nationwide Insurance), large Internet companies (eBay and Yahoo), supporting major Banks (like SVB) and Casinos (Like WYNN) creates great perspective and knowledge of what is working and not working under very high production load, what architectures are scalable and what is not scalable and should be broken into scalable pieces ASAP and how to handle critical production problems in real time. All this I believe is worth sharing.
I also accumulated huge library of technical tidbits that can be very useful to DBAs, Application Server Admins and well as to System Admins.
Recently I work with data masking technology and find it to be very interesting area to cover as well.
I am sure I'll add more later - but this looks like a good start
Subscribe to:
Posts (Atom)