Ok, I see where you are headed now. Thank you, Sharon -----Original Message----- From: c400-l-bounces+swintermute=billsoft.com@xxxxxxxxxxxx [mailto:c400-l-bounces+swintermute=billsoft.com@xxxxxxxxxxxx]On Behalf Of Brian Lewis Sent: Monday, January 22, 2007 12:11 PM To: c400-l@xxxxxxxxxxxx Subject: Re: [C400-L] C Service Program 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.