Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using iq-put In A Process Outgoing Message Function 1

Status
Not open for further replies.

GPhelps

Programmer
Jun 10, 2003
5
GB
Hello,

I am trying to use the Monk function iq-put In A Generic Monk e*Way's Process Outgoing Message Function, but keep getting the following error message: "RESOLVE_VARIABLE: variable <iq-put> has not been defined."

I understand that this message means that the function is not available, and I thought that I would just need to load the relevant library which contains it. But I don't know which it is. The "Monk Developers Reference" manual indicates that they automatically loaded when you use either the Monk or the Monk ID Collaboration Service, but gives no further indication where they are located.

My Questions are:

[ul]
[li]Can you use the Monk function iq-put Process Outgoing Message Function, if so How?[/li]
[li]If you can't, is there any other way of putting data onto an IQ.[/li]
[/ul]

I've searched through this forum and believe this is a similar (if not the same) question as [thread824-775197].

I am running e*Gate 4.1.2 in an HP-UX environment.

Cheers,

Glenn
 
Hi GPHelps,
I'm TechnoCat, the guy who posted the similar thread you referenced here....

What I can tell you is that you should only have this problem when you execute a CRS inside the CB, in all other cases you should have the function alreday loaded (I tested that)...are you customizing the Notifications process?

I might have more info in the next days from Seebeyond, and I'll share them as much as I can (you know politics!!!), but for shure if they let me know where the func is and if it's possible to use it I'll let you know.

TechnoCat.

 
Hello TechnoCat,

I've successfully used the iq-put function before in collaboration rules, and my problem is not with customizing the notifications process.

The e*Way that I'm having problems with is one based on a Generic Monk e*Way. This is a pass-through e*Way where the interaction with the external system is done via the 'Process Outgoing Message Function' as specified in the config file.

My best guess (and this really is a guess) is that the iq-put function is stored in the monk service library 'stc_monkcollab.dll' as specified in the services section of the enterprise manager.

I am also trying a few other avenues for information and will get back with what I find out.

Thanks for your input, any help is very welcome. I'm out of the office for the next few days so will check back next week.

Cheers,

Glenn
 
I have used iq-put extensively without any issues but always in the crs of an inbound e*Way to write the messages to a queue. I've used genericmonk and wrapped e*Way and it works fine with both. iq-put function gets loaded by default. I think you cannot use iq-put with 'Process Outgoing Message Function' .

shibu
 
To send data to eGate, you'll want to use the event-send-to-egate function. You'll then need an inbound collab rule to do the iq-put.
Jeff
 
Jeff,

Thanks for your advice. I think I understand what you are saying but just wanted confirm. Are you saying?

My Generic Monk e*Way will have two collaboration rules (CRs) effectively passing data in opposite directions.

The first CR will take the data from the IQ and pass it to the Process Outgoing Message Function (POMF), which interacts with the external system.

The POMF can then use the "event-send-to-egate" function to return a new event back to the e*Way.

This event will then be picked up by the second CR which would then be able to put the data onto an IQ with a call to iq-put (or more probably this would just be a pass-through CR).

Cheers,

Glenn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top