Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.UUCP (Rahul Dhesi) Newsgroups: comp.os.vms Subject: Re: re: chaining of programs Message-ID: <2439@bsu-cs.UUCP> Date: 22 Mar 88 16:46:41 GMT References: <8803211450.AA00192@ucbvax.Berkeley.EDU> Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 20 >>> I am looking for a system service or run-time library routine that >>> will allow me to execute a second image. I want to do this in such a >>> way that the flow of control will pass entirely to the second image, >>> and will return to the first image at the calling point after the >>> second image completes. Neither CREPRC nor LIB$SPAWN seem to do this, >>> which makes sense since their purpose is to create another process >>> altogether. This is a contradictory request. If you want control to return to the first image after the call, you are effectively asking that the context of the first image be saved. This means that you wish to create a new context for the second image. This means that you wish to create a new process. This means that you wish to use CREPRC or LIB$SPAWN. -- Rahul Dhesi UUCP: !{iuvax,pur-ee,uunet}!bsu-cs!dhesi