I've glanced at ILE Concepts manual.  Looking at page 56, it looks like it's
possible to have single level storage model module and teraspace enabled
service program, as long as service program is compiled with ACTGRP(*NEW)
instead of *CALLER.  This makes sense, as you don't want to mix activation
groups between two storage models (can't anyways).

Here is the relevant excerpt:

"The target service program must run in a distinct activation group. For
example, the target service program cannot have the ACTGRP(*CALLER)
attribute. It is not possible to mix storage models within a single
activation group."

So, you'll need to create your C service program with *NEW and your RPG PGM
with STGMDL(*SNGLVL).  I don't think PGM's activation group setting matters.

I think it's worth a try. Let us know how it goes.


Celebrating 10-Years of SQL Performance Excellence

-----Original Message-----
[] On
Behalf Of Sharon Wintermute
Sent: Monday, January 22, 2007 12:06 PM
To: C programming iSeries / AS400
Subject: Re: [C400-L] C Service Program

This is the same basic problem.

You cannot specify stgmdl(*teraspace) on the RPG module like you can on the
When you try to bind the C Service progam with the RPG module (the storage
module is single) 
it doesn't work. 

This thread doesn't give an answer, or at least I didn't see it. 


-----Original Message-----
[]On Behalf
Of Elvis Budimlic
Sent: Monday, January 22, 2007 12:02 PM
To: 'C programming iSeries / AS400'
Subject: Re: [C400-L] C Service Program

Sharon, check this thread out:

Nothing's ever easy :)

Celebrating 10-Years of SQL Performance Excellence

-----Original Message-----
Subject: Re: [C400-L] C Service Program

Thats where the error hits. 

Says the progam is teraspace while the module is not.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.