Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!MITRE.ARPA!art From: art@MITRE.ARPA.UUCP Newsgroups: mod.computers.vax Subject: (none) Message-ID: <8702271433.AA22014@mitre.ARPA> Date: Fri, 27-Feb-87 09:33:12 EST Article-I.D.: mitre.8702271433.AA22014 Posted: Fri Feb 27 09:33:12 1987 Date-Received: Sun, 1-Mar-87 09:41:36 EST Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The MITRE Corp., Washington, D.C. Lines: 40 Approved: info-vax@sri-kl.arpa If I understand your question to be, "How can I pass a value back from a program image to DCL?" There are several answers: 1)create a logical name or symbol from within the image and set it to the value you want. 2)use LIB$STOP with it optional status code to pass a value out that with will be stored in $STATUS and can be checked. Note that the low 2 bits will be checked for success, warning, error, severe error!! If on the otherhand you really want to look at a process register of another processes space, I do not know how you can do it. * *---Art * *Arthur T. McClinton Jr. ARPA: ART@MITRE.ARPA *Mitre Corporation MS-Z305 Phone: 703-883-6356 *1820 Dolley Madison Blvd Internal Mitre: ART@MWVMS or M10319@MWVM *McLean, Va. 22102 DECUS DCS: MCCLINTON * =-=- This note is in response to yours which follows -=-= to : INFO-VAX@SRI-KL.ARPA from : John F. Rovert ( jrovert@nswc-g ) Re : checking a register from DCL I have a problem! Is there a command which will allow me to determine the value of a register that is returned from a foreign process. I am running a "C" program and want to check the value of register 0 upon returning to DCL program that called the "C" program. Any help will be greatly appreciated. John F. Rovert ARPA : jrovert@nswc-g