473,385 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Set/Override Application Name using Universal Driver

Is there any possibility to override the application name shown using
"db2 list applications" in the new Universal Driver. The default
"db2jcchttp8443..." is not very meaningful.

Regards
- Janick Bernet, SwissASP AG
Nov 12 '05 #1
6 2642
Check out sqleseti() it lets you set app specific handles when you're
running on systems where the name is not helpful...you can use monitor,
or SQL fuctions to get your app name in sps etc.

Janick wrote:
Is there any possibility to override the application name shown using
"db2 list applications" in the new Universal Driver. The default
"db2jcchttp8443..." is not very meaningful.

Regards
- Janick Bernet, SwissASP AG

Nov 12 '05 #2
Check out sqleseti() it lets you set app specific handles when you're
running on systems where the name is not helpful...you can use monitor,
or SQL fuctions to get your app name in sps etc.

Janick wrote:
Is there any possibility to override the application name shown using
"db2 list applications" in the new Universal Driver. The default
"db2jcchttp8443..." is not very meaningful.

Regards
- Janick Bernet, SwissASP AG

Nov 12 '05 #3
Thanks, looks promising.
Now we only need to find a way to call that api from java ;)
Sean McKeough <mc******@nospam.ca.ibm.com> wrote in message news:<c7**********@hanover.torolab.ibm.com>...
Check out sqleseti() it lets you set app specific handles when you're
running on systems where the name is not helpful...you can use monitor,
or SQL fuctions to get your app name in sps etc.

Nov 12 '05 #4
Thanks, looks promising.
Now we only need to find a way to call that api from java ;)
Sean McKeough <mc******@nospam.ca.ibm.com> wrote in message news:<c7**********@hanover.torolab.ibm.com>...
Check out sqleseti() it lets you set app specific handles when you're
running on systems where the name is not helpful...you can use monitor,
or SQL fuctions to get your app name in sps etc.

Nov 12 '05 #5
sqleseti can be kind of wacky, but you should be able to use a small sp
to set/get these (sp needs to issue any small sql statement to actually
set the values in the agent)...originally this did not work this way in
v8, but one of the recent fixpacks should have it (can't find someone
right now that'd know the fixpack). Note that when you use sqleseti at
the server, the settings are not propegated back to the client, so you
need to use a consistent interface for accessing them (i.e. always use
your sp wrapper, never use the apis on the client).

Janick wrote:
Thanks, looks promising.
Now we only need to find a way to call that api from java ;)
Sean McKeough <mc******@nospam.ca.ibm.com> wrote in message news:<c7**********@hanover.torolab.ibm.com>...
Check out sqleseti() it lets you set app specific handles when you're
running on systems where the name is not helpful...you can use monitor,
or SQL fuctions to get your app name in sps etc.

Nov 12 '05 #6
sqleseti can be kind of wacky, but you should be able to use a small sp
to set/get these (sp needs to issue any small sql statement to actually
set the values in the agent)...originally this did not work this way in
v8, but one of the recent fixpacks should have it (can't find someone
right now that'd know the fixpack). Note that when you use sqleseti at
the server, the settings are not propegated back to the client, so you
need to use a consistent interface for accessing them (i.e. always use
your sp wrapper, never use the apis on the client).

Janick wrote:
Thanks, looks promising.
Now we only need to find a way to call that api from java ;)
Sean McKeough <mc******@nospam.ca.ibm.com> wrote in message news:<c7**********@hanover.torolab.ibm.com>...
Check out sqleseti() it lets you set app specific handles when you're
running on systems where the name is not helpful...you can use monitor,
or SQL fuctions to get your app name in sps etc.

Nov 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Paul Reddin | last post by:
Hi, (V8.1 Fp2) Our application uses JDBC batch to execute mutiple insert statements and we saw a strange thing this morning. There were 4 SQL Insert statements in the batch, and we know the...
0
by: Priya | last post by:
Hi, I am having some problem with DB2 Universal JDBC driver. 1. The method getColumnType(columnNumber)of ResultSetMetaData always returns zero. 2. The method getColumnDisplaySize(ColumnNum)...
0
by: Janick | last post by:
Is there any possibility to override the application name shown using "db2 list applications" in the new Universal Driver. The default "db2jcchttp8443..." is not very meaningful. Regards -...
2
by: charl | last post by:
Hi, My apologies in advance if my terminology is slightly confused, I am new to all this. We have previously been running some SQL on DB2 (v7) utilising a type 3 driver, and have made the...
2
by: Jim H | last post by:
We have applications that must connect to oracle databases. Is there a way to connect using .NET that does not require installation of the Oracle client on each PC? I'm pretty sure java apps do...
5
by: Anne DeBlois | last post by:
Hi, We are developing a database application in Visual Basic.NET 2005. The application will print label pages. Using the PrintDocument and GDI+ classes, I noticed a slight change when printing...
1
by: pike | last post by:
I'm pushing the introduction of the DB2 "Universal" JDBC driver, to be used in a type 4 architecture and thus negate the need for a DB2 client installation on the (client) application server. ...
1
by: mandible | last post by:
Hello, Been messing with this for a bit. I have installed Rational Application Developer 6 on my workstation and DB2 v9.1 Client. I have created DB2 database alias' successfully for my...
2
by: astolpho | last post by:
I am using a slightly outdated reference book on J2EE programming. It gives 2 methods of creating a database used in its casestudies. The first is an ANT script that gives the following output: ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.