John

Is the listener program running in a phantom?  I have not tried calling
another phantom process from a current phantom process.  There is some
restrictions in using phantoms and MQ and this might be what you are falling
over.

Regards
David Jordan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Harris
Sent: Thursday, 18 August 2005 3:09 AM
To: [email protected]
Subject: [U2] unidata and MQ

using unidata 6.0 on AIX.

here is what i am trying to do.  I have a basic program that initializes a
session and then "watches" a queue for requests, which are report
parameters. 
once a request is found i want to execute the proper program to produce the
report and that program sends back the reply to the proper queue.  I have
hSession, policy, sender.service and receiver.service set up as a COMMON so
they are available to all involved once set.

This all works just fine.  the listener program does EXECUTE
'REPORT.GENERATOR'.  Now, so the listener program doesn't need to wait for
the
report to complete before getting another request, I changed it to EXECUTE
'PHANTOM REPORT.GENERATOR'.  it is when i do this i get an error.  the
sendresponse function returns a return code of 111 or unit of work backed
out.

any ideas?

john harris



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to