Path: utzoo!mnetor!uunet!husc6!think!ames!pasteur!ucbvax!CPSWH.CPS.MSU.EDU!rang%cps45x From: rang%cps45x@CPSWH.CPS.MSU.EDU (Anton Rang) Newsgroups: comp.os.vms Subject: question on chaining images Message-ID: <8803140242.AA04755@cps45x> Date: 14 Mar 88 02:42:13 GMT References: <8803130902.AA21589@cpswh.cps.msu.edu.cps.msu.EDU> Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 16 The LIB$DO_COMMAND run-time library routine will let you pass a command to DCL to be executed. It won't do what you want, though, because it causes your (user mode) program to exit first (control flow will not return to the first image). There is an undocumented system service--I forget its name, but it was in the STARLET file a while ago anyway--which maps another image into virtual memory. I've seen one or two programs which use it, but never done anything with it myself. This would probably work (though image initialization etc. might be screwed up). As a last resort, look in the fiche at DCL to see how it does it. Of course, it's running in supervisor mode, but... Anton Rang Graduate student, Michigan State All opinions & mistakes are my own.