From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,c526864a3fae7f71,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,c526864a3fae7f71,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-05-21 14:34:37 PST Xref: gmd.de comp.sys.dec:7824 comp.os.vms:23940 Newsgroups: comp.sys.dec,comp.os.vms Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!netcomsv!butch!rapnet!news From: cupak@rapnet.sanders.lockheed.com (John J Cupak Jr CCP) Subject: How do I compile over net? Message-ID: <1993May21.203141.1533@Rapnet.Sanders.Lockheed.Com> Sender: cupak@rapnet (John J Cupak Jr CCP) Reply-To: cupak@rapnet.sanders.lockheed.com (John J Cupak Jr CCP) Organization: Lockheed Sanders, Inc. Date: Fri, 21 May 93 20:31:41 GMT I am developing a Pascal system under VAX/VMS, and am having problems trying to compile across the network. The workstation I use is connected to a cluster with all of the latest DECset tools (LSE, SCA, MMS, PCA, and DTM), but without a Pascal compiler. I would like to use LSE to edit the Pascal source file on the workstation, then use the LSE COMPILE command to submit the Pascal source file for compilation on a *different node* which has the Pascal compiler. This is *somewhat* like submitting a batch job to perform a compilation: 1. The REMOTE_COMPILE.COM command file: $! REMOTE_COMPILE.COM $! $! CREATE BATCHFILE WITH FILENAME AND OPTIONS $! $ OPEN /WRITE BATCHFILE BATCHFILE.COM $ WRITE BATCHFILE "$ PASCAL ",P1," ",P2 $ CLOSE BATCHFILE $! $! SUBMIT JOB TO SYS$BATCH $! $ SUBMIT/NOPRINT/DELETE BATCHFILE.COM $! $! WAIT UNTIL BATCH JOB COMPLETES $! $ SYNCHRONIZE BATCHFILE 2. In the buffer Test.pas, use the COMPILE editor command: LSE> COMPILE @REMOTE_COMPILE 3. The COMPILE command caused the Editor to write Test.pas to the disk, then spawn a subprocess the execute the following DCL command: @REMOTE_COMPILE Test.pas /DIAGNOSTICS 4. The procedure will create the BATCHFILE.COM command file containing the following DCL command: $ PASCAL TEST.PAS /DIAGNOSTICS The procedure will also submit BATCHFILE.COM to run in batch. If Anyone has figured out how to submit a compilation on one machine to run on another machine, please e-mail me your solution. Thanks, John -- John J. Cupak, Jr., CCP Lockheed DECNet: MERVAX::CUPAK Lockheed Sanders, Inc. Internet : cupak@rapnet.sanders.LOCKHEED.COM 95 Canal Street / NCA15-221 CompuServe : 72411,3176 Nashua, NH 03061-0868 Telephone : (603) 885-2134 FAX: 885-8033