|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
referencing esql files from a different project |
« View previous topic :: View next topic » |
Author |
Message
|
tonym |
Posted: Mon Oct 27, 2003 4:48 am Post subject: referencing esql files from a different project |
|
|
Novice
Joined: 22 Sep 2003 Posts: 11
|
I'm testing out WBIMBs ability to have a common set of esql files available to multiple projects.
I've defined some esql files in a project called PROJECT_COMMON and I'm trying to reference them from a project called PROJECTA. I've declared PROJECTA as dependent upon PROJECT_COMMON. However, when I try to reference the esql files (e.g. from the Properties pane of a Compute node within a PROJECTA flow) the only esql files which are displayed are from the local project (PROJECTA).
Is this a hopefully-solved-by-CSD02 bug or am I being stupid and missing something (much more likely ! )?
cheers
Tony |
|
Back to top |
|
 |
JLRowe |
Posted: Mon Oct 27, 2003 5:09 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
After experimenting, it appears that the PATH statement allows you to reference procedures and functions in a broker schema in another project. It does not seem to work for CONSTANTs or NAMESPACEs though.
Naturally, the documentation does not tell you this. |
|
Back to top |
|
 |
tonym |
Posted: Mon Oct 27, 2003 5:19 am Post subject: |
|
|
Novice
Joined: 22 Sep 2003 Posts: 11
|
Yes, I can get Procedures and Functions to work cross projects, but the documentation states that a node can use an entire esql file (i.e. a file with a CREATE MODULE stanza) from another project.
Ah well, common files for Procedures and Functions is a giant step, so I shan't complain!
cheers
Tony |
|
Back to top |
|
 |
JLRowe |
Posted: Mon Oct 27, 2003 11:38 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
Module's can't be referenced across projects. You could put your common logic into a schema level procedure, but schema level procedures don't have access to the message tree - you need to pass them in as reference variables. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|