Sharon, 

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.

Elvis

Celebrating 10-Years of SQL Performance Excellence

-----Original Message-----
From: c400-l-bounces+ebudimlic=centerfieldtechnology.com@xxxxxxxxxxxx
[mailto:c400-l-bounces+ebudimlic=centerfieldtechnology.com@xxxxxxxxxxxx] 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
C. 
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. 

Sharon


-----Original Message-----
From: c400-l-bounces+swintermute=billsoft.com@xxxxxxxxxxxx
[mailto:c400-l-bounces+swintermute=billsoft.com@xxxxxxxxxxxx]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:  

http://archive.midrange.com/midrange-l/200505/msg01643.html

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.

Sharon



This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 by midrange.com 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].