Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 07:23 AM
Janick
Guest
 
Posts: n/a
Default 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
  #2  
Old November 12th, 2005, 07:24 AM
Sean McKeough
Guest
 
Posts: n/a
Default Re: Set/Override Application Name using Universal Driver

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:
[color=blue]
> 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[/color]
  #3  
Old November 12th, 2005, 07:24 AM
Sean McKeough
Guest
 
Posts: n/a
Default Re: Set/Override Application Name using Universal Driver

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:
[color=blue]
> 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[/color]
  #4  
Old November 12th, 2005, 07:24 AM
Janick
Guest
 
Posts: n/a
Default Re: Set/Override Application Name using Universal Driver

Thanks, looks promising.
Now we only need to find a way to call that api from java ;)


Sean McKeough <mckeough@nospam.ca.ibm.com> wrote in message news:<c7qkp6$fb5$2@hanover.torolab.ibm.com>...[color=blue]
> 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.[/color]
  #5  
Old November 12th, 2005, 07:24 AM
Janick
Guest
 
Posts: n/a
Default Re: Set/Override Application Name using Universal Driver

Thanks, looks promising.
Now we only need to find a way to call that api from java ;)


Sean McKeough <mckeough@nospam.ca.ibm.com> wrote in message news:<c7qkp6$fb5$2@hanover.torolab.ibm.com>...[color=blue]
> 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.[/color]
  #6  
Old November 12th, 2005, 07:24 AM
Sean McKeough
Guest
 
Posts: n/a
Default Re: Set/Override Application Name using Universal Driver

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:
[color=blue]
> Thanks, looks promising.
> Now we only need to find a way to call that api from java ;)
>
>
> Sean McKeough <mckeough@nospam.ca.ibm.com> wrote in message news:<c7qkp6$fb5$2@hanover.torolab.ibm.com>...
>[color=green]
>>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.[/color][/color]
  #7  
Old November 12th, 2005, 07:24 AM
Sean McKeough
Guest
 
Posts: n/a
Default Re: Set/Override Application Name using Universal Driver

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:
[color=blue]
> Thanks, looks promising.
> Now we only need to find a way to call that api from java ;)
>
>
> Sean McKeough <mckeough@nospam.ca.ibm.com> wrote in message news:<c7qkp6$fb5$2@hanover.torolab.ibm.com>...
>[color=green]
>>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.[/color][/color]
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,248 network members.