Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!hc!whitfill From: whitfill@hc.DSPO.GOV (Jim Whitfill) Newsgroups: comp.os.vms Subject: Re: VMS global symbols Message-ID: <14274@hc.DSPO.GOV> Date: 7 Apr 88 13:25:49 GMT References: <1181@csun.UUCP> Organization: Los Alamos National Laboratory Lines: 32 in article <1181@csun.UUCP>, mst@csun.UUCP (Mike Temkin) says: > > I have a few programs that need command line parameters passed to them. > The documentation that comes with them (not much there) shows that a global > symbol ( :== ) should be used. I have tried to get them to work, but > I see no difference between typing 'RUN PROGRAM' and setting a global > symbol like 'PRG :== RUN PROGRAM 'P1 'P2' then typing 'PRG param1 param2'. > > Can anyone tell me what I am doing wrong? > > Thanks in advance, > Mike Temkin What you need is a command file, PROGRAM_RUN.COM, that contains: $ RUN PROGRAM 'P1' 'P2' Then define PGM :== @PROGRAM_RUN To envoke program with parameters, type PGM X Y ======================================= Jim A. Whitfill Los Alamos National Laboratory (LANL) Group MEE-10, MS J580 Los Alamos, NM 87545 (505) 667-9282 (ARPAnet ==> whitfill%meediv.xnet@lanl.gov) =======================================