× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Stu

Right, the exit program replaces CRTBNDRPG/CRTRPGMOD with a CMD named
CRTRPG.
the CPP of this CRTRPG Cmd calls the "pre-compiler" and then executes
CRTBNDRPG/CRTRPGMOD .(and then calls "post-copiler")

I got the idea, I'm going to drop the CRTRPG Cmd and move the required
logic to
the exit program itself.

Will keep you posted.

Thanks
Gad

I see your point
On Mon, Jan 25, 2016 at 9:15 PM, Stuart Rowe <rowestu@xxxxxxxxx> wrote:

Gad,

You said:
The Exit program is indeed called (judging by the relevent QZRCSRVS job's
joblog)
But it fails to replace the original CMD
(CRTBNDRPG/CRTRPGMOD) with the special CMD that fires the CPP to execute
the "pre-compiler" .

Are you saying that your exit program is intended to REPLACE the command
string being executed with another? You'll never be able to do that, since
(as Michael pointed out) the RDi server-side program runs in the *SYSTEM
state and IBM will not allow you to alter the command string in that case.
The exit program will run, but you will NEVER be able to replace the
command string on output. You should probably be executing your
pre-compiler from within the exit program, then letting the command "just
happen". Do you need to generate temporary source members and all that,
then create your objects, or is it just library list manipulations? It
matters. Library list manipulations you can do in-line, no biggee, but
switching source members on the fly wil require altering the command string
(which you cannot do).

Stu




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2024 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].

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