Boris, 
Fact that you deleted the service program and your program still works tells
me that your program must not be dependent on the service program.  In other
words, you are probably binding all the necessary modules statically into
the program.  
You can easily verify if this is the case using DSPPGM command.  Just keep
hitting Enter to see all the associated displays.  Ones you want to pay
attention to are bound modules and dependent service programs.
If statically bound, it wouldn't matter that you have updated your service
program unless you've also recompiled the program and its associated
modules.

If your program has no service program dependencies, you can distribute it
to your client without the service program.

Elvis

-----Original Message-----
Subject: [C400-L] Newbie to ILE C - distributing ILE project

Hi all
Sorry for this question, I believe it is too trivial to many of you. But I
just can't understand it (after hours and hours of reading ILE manuals). I
guess I'm just stupid.

I had a program and a service program. Now, I deleted the service program.
Why is the program still running? I thought it is because the service
procedures are statically binded (or copied?) to the program. But then, why
by updating the service I make the changes to the program without
recompiling it? If my program can run without the service, do I have to
distribute the service program when I send it to the client?

Thanks in advance.
Boris.




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 here. If you have questions about this, please contact [javascript protected email address].