Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!necntc!ames!sdcsvax!ucbvax!LBL.GOV!nagy%warner.hepnet From: nagy%warner.hepnet@LBL.GOV (Frank J. Nagy/VAX Guru) Newsgroups: comp.os.vms Subject: Re: Creating a Detached process with a CLI (running DCL) Message-ID: <871014042502.01o@Lbl.Arpa> Date: Wed, 14-Oct-87 07:25:01 EDT Article-I.D.: Lbl.871014042502.01o Posted: Wed Oct 14 07:25:01 1987 Date-Received: Fri, 16-Oct-87 01:36:52 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 22 > Does anyone know how to run a program detached AND have it attached with a > CLI (specifically, VMS). So far, we have been unable to do so. This > prevents us from using the spawn and do_command system services from a > detached job. HELP! To create a detached process running DCL, use the following parameters in the $CREPRC: - the image to be executed is SYS$SYSTEM:LOGINOUT - the following flags are set in the $CREPRC flags longword: PRC$M_NOUAF - bypass login verification PRC$M_DETACH - makes it a detached process PRC$M_NOPASSWORD - no prompt for username/password = Frank J. Nagy "VAX Guru" = Fermilab Research Division EED/Controls = HEPNET: WARNER::NAGY (43198::NAGY) or FNAL::NAGY (43009::NAGY) = BitNet: NAGY@FNAL = USnail: Fermilab POB 500 MS/220 Batavia, IL 60510