From the side of the appserver, I want to know the name of the remote program that are calling the program that the appserver are currently running..
Thanks in advance
If you're running a suitably modern version of Progess (V10 or later) I think, then there is an attribute called INSTANTIATING-PROCEDURE. This is valid for all sorts of system handles, including THIS-PROCEDURE. This might well get what you want.
If you're running a suitably modern version of Progess (V10 or later) I think, then there is an attribute called INSTANTIATING-PROCEDURE. This is valid for all sorts of system handles, including THIS-PROCEDURE. This might well get what you want.
Flag this post as spam/abuse.
As Mike siad, when I use INSTANTIATING-PROCEDURE I just get a number...
As Mike siad, when I use INSTANTIATING-PROCEDURE I just get a number...
Flag this post as spam/abuse.
Someone from Progres development here that would be able to comment on the INSTANTIATING-PROCEDURE handle of the procedure ran on the server?
Is it intended that the FILE-NAME is blank - or a bug?
You are correct that this feature wasn't meant for an AppServer. It is meant in the context of super procedures. Right now, I know that this data is not sent over the wire when executing a procedure on an AppServer.
Thanks for clarifying this!
In a way it makes sense as relying on this might give you the implication of being able to call back into the instantiating procedure. And what about open clients? It would be inconsistent with them.
If you need to know this in your application, check the OERA whitepapers. Implement a Service Adapter as the only piece of code on the client that talks to the AppServer. That way you can pass whatever context you need to the Service Interface on the AppServer.=