BLOBVALUE and jdeCallObject

BOster

BOster

Legendary Poster
This may be a really dumb question, but...

Scenario:

C BSFN 1 executes on server and returns a BLOBVALUE (one of the params in the DS is a BLOBVALUE)

C BSFN 2 executes on a client and calls BSFN 1 using jdeCallObject

Question: Will the pointer returned by BSFN 1 in BLOBVALUE.lpValue be a pointer to a memory location on the server or a pointer to a memory location on the client?

In other words does jdeCallObject handle coping the char array to the client from the server and change the pointer in BLOBVALUE.lpValue to the memory location on the client?

If not, what is the proper way to do this inside of the JDE framework.
 
Hi!
As far as I know once a BSFN is submitted to the server (from interactive application or batch) all business functions called by this one start on the server as well. That's why you may not map randomly selected business functions to the server.
Regards:
Gergely Pongrácz
e-Best, Hungary
 
Yes, #1 will return a memory location on the server. This is the primary reason (operationally) for placing numerous functions in the same source.

If you aren't going to do that, you need to map (OCM) these two functions to run in the same place(server or client).
 
Back
Top