Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbatt!ucbvax!edison.ge.COM!uucp From: uucp@edison.ge.COM.UUCP Newsgroups: comp.os.vms Subject: Submission for mod-computers-vax Message-ID: <8704280645.AA19936@edison.GE.COM> Date: Tue, 28-Apr-87 02:45:51 EDT Article-I.D.: edison.8704280645.AA19936 Posted: Tue Apr 28 02:45:51 1987 Date-Received: Thu, 30-Apr-87 06:39:04 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 23 Path: edison!uvacs!virginia!umd5!brl-adm!seismo!rutgers!mit-eddie!genrad!decvax!ucbvax!TRINCC.BITNET!OPER10 From: OPER10@TRINCC.BITNET (Pete Bradley) Newsgroups: mod.computers.vax Subject: DCL from high level languages Message-ID: <8704261349.AA04362@ucbvax.Berkeley.EDU> Date: 26 Apr 87 00:53:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 12 I'm trying to find the quickest way possible to do a DCL command (eg. SHOW USERS, etc); from within a FORTRAN program. I know about LIB$SPAWN, but it tends to involve a lot of overhead. LIB$DO_COMMAND does what I want, except that it is effectively the last line in the program, as no more code is executed once it is called. Is there any fast way to do this? I can dela with FORTRAN, BASIC, and Pascal, and I don't mind calling MACRO, though I don't know enough MACRO to program in it. Any light that can be shed on this problem would be greatly appreciated. Pete Bradley OPER10@TRINCC