Kbase P87385: Can you directly run an internal procedure that exists in a super procedure on the AppServer from a
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/3/2009 |
|
Status: Verified
GOAL:
Can you directly run an internal procedure that exists in a super procedure on the AppServer from a .NET client?
GOAL:
Can you directly run an internal procedure that exists in a super procedure on the AppServer from a 4GL client?
FACT(s) (Environment):
OpenEdge 10.x
All Supported Operating Systems
Progress 9.x
FIX:
No, you cannot. To accomplish this you need to write a stub procedure which you would call on the AppServer and this stub procedure would then call the internal procedure that exists in a super procedure. For example, assume you have an internal procedure named TestProc which is located in a persistent procedure which is attached to the session handle as a super procedure. To access this from either a .NET or 4GL client you would need to have a stub program similar to the following:
/* Stub Procedure To Call TestProc Internal Procedure In Super Procedure */
.
. Your Input, Output and Input-Output Parameters Go Here
.
RUN TestProc. /* Will Be Found In The Session Super Procedure Stack */
/* And Executed. */