dimandja wrote:
> Keith wrote:
>
>>Maybe you think "maintain them separately" means "maintain source code separately".
>
>
> What else could it mean, Keith? How could one "maintain object code
> separately"? It doesn't make any sense. And I think Rach writes
> English very well.
>
Oh, I think "maintain object code separately" makes sense. It could mean to generate different object code from the same source by compiling with different options.
>
> Keith wrote:
>
>> I interpret it to mean that he wants to compile the application program once, copy the object files from environment to environment, and only recompile the SQL statements in each new environment.
>
>
> Perhaps.
>
> I think Rach raised many completely different issues in this thread,
> including Guardian hosting vs OSS hosting, module generation, module
> naming, module management, using Pathway, code versioning, compilation
> targeting, etc.
I don't believe there are so many issues. He wants to do something when the object files are stored in Guardian subvolumes that can be done when storing them in OSS directories (either specify a module search list or collocate the modules with the executables). The rest of the points are just setting up the problem or have nothing to do with it.
>
> What I have been saying Keith, is that there isn't one single magic
> bullet to solve all those issues.
Right -- no magic bullet. I expect he cannot do what he wants to do without changing to store the executables in an OSS directory. Then, there probably are two ways to do it. Actually, another possible solution just occurred to me as I was writing. Although he said his processes were Guardian processes, I think he may have been mistaken about that. Assuming they are, in fact, OSS processes, then he could use the OSS environment variable to give a search path for finding modules, and that would let him store the modules in an OSS directory and still store the executables in a Guardian subvol. I'll have to put that in a post of its own, in case he is still looking for an answer.
> The manual does provide solutions
> and suggestions. The problem I see here is,s for various reasons,
> Rach does not like those solutions and suggestions, longing instead
> for the simplicity of SQL/MP.
I don't believe he is longing for the simplicity of SQL/MP. I believe he is longing for an apparently lost capability of SQL/MP. SQL/MX is supposed to be an enhancement over SQL/MP, and losing capabilities is not what you expect with enhanced versions. The capability I mean is the ability to use the same object file in QA, UAT, and PROD, recompiling only the SQL statements.
>
> Anyway, it doesn't help to concentrate on what I wrote or what I
> meant. What matters is for Rach to find a solution to his problems.
I only concentrate on what you wrote to try to understand what you meant when it doesn't seem to match what I see. About solving Rach's problem, I agree -- and since he seems not to have been around here for a day and a half, maybe he found something that works for him. If so, it would be nice to know what it was.