If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > User-defined Java program and DB2 warehouse center

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-23-04, 09:17
design1 design1 is offline
Registered User
 
Join Date: Jun 2004
Posts: 11
User-defined Java program and DB2 warehouse center

I am trying to write a transform as a java program executable. Under
administration>programs and transformers>user-defined programs and transformers, I define a java program group and then from this define a new program. On the program tab of the new program notebook, I select executable as the program type but I can't see where to select the executable I want from the file system. I have been reading up about agent sites also and I can't figure out whether the program needs to registered somehow here.

Any ideas?

Thanks,
Martin
Reply With Quote
  #2 (permalink)  
Old 06-29-04, 03:05
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

You didn't specify the operating system and db2 version. So this info is needed for assistance.

In general:
At Properties window (the same window you selected Executable program type)
1. Program tab
There is "Program name" field. Type the full path name of the file e.g. c:\programs\java_program.exe

2. Paramters tab
This java program probably has some input parameters. So specify parameters names (this names are just for easy read) and parameter type (character, etc).

3. Agent sites
The most common mistake is to forget selecting agent. So select the agent from the left window and move it to the right site.

Hope this helps,
Grofaty
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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