On Mon, 22 Jan 2007 12:05:59 -0600 Sharon Wintermute <SWintermute@xxxxxxxxxxxx> wrote:
This is the same basic problem. You cannot specify stgmdl(*teraspace) on the RPG module like you can on the C. When you try to bind the C Service progam with the RPG module (the storage module is single) it doesn't work.
Right, that's why the lame "bridge" is needed. A C program would use the service program. No problem there, since the storage model can be specified during the module creation (I guess). An RPG program compiled with CRTRPGMOD and CRTPGM with STGMDL(*TERASPACE) would perform unbound calls to the C program. The RPG program isn't trying to use the service program directly, but it's teraspace enabled, so maybe it would work.