Path: utzoo!mnetor!uunet!husc6!hao!ames!pasteur!ucbvax!VENUS.YCC.YALE.EDU!LEICHTER From: LEICHTER@VENUS.YCC.YALE.EDU ("Jerry Leichter ", LEICHTER-JERRY@CS.YALE.EDU) Newsgroups: comp.os.vms Subject: re: question on chaining images Message-ID: <8803131809.AA05515@ucbvax.Berkeley.EDU> Date: 12 Mar 88 21:18:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 13 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. I just want the SAME process to start executing a second image. I'm sure I'm overlooking something obvious... LIB$DO_COMMAND LIB$RUN_PROGRAM -- Jerry