home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!spool.mu.edu!agate!ucbvax!NSCVAX.PRINCETON.EDU!dragon
- From: dragon@NSCVAX.PRINCETON.EDU (Mighty Firebreather)
- Newsgroups: comp.os.vms
- Subject: RE: SUBMIT help please.
- Message-ID: <0096671E.C2F7D4E0.27@nscvax.princeton.edu>
- Date: 11 Jan 93 14:53:52 GMT
- Sender: usenet@ucbvax.BERKELEY.EDU
- Organization: The Internet
- Lines: 57
-
-
- Steven B. Brant sbrant@npal.rn.com writes:
- >
- >
- > I know I have seen this here before, and I can not seem to
- > find the info wherever I have placed it, so I could find it
- > when I needed it. ( you know how it goes!)
- >
- > Anyway, I have an EXE program that runs with no problem.
- > The program does not require any input from a user. It is simply
- > a special file processing program.
- >
- > When I start the .com file with the following commands, all works
- > well.
- >
- > $ define/exec sys$input sys$command
- > $ run/error=nla0:/output=nla0: dua1:[data.sweep]scanit
- >
- > Now the problem arises. I want to SUBMIT this com procedure
- > so we can schedule the execution of the .exe program.
- >
- > Submitting the com program causes a failure. Nothing works.
- >
- > If I remember correctly, I think I need to use the loginout
- > program to do this, but as I said, I can not find the info
- > on how to do this.
- >
-
- The RUN command you are using creates a detached process! Is that
- what you meant to do?
-
- Why are you using a /EXECUTIVE_MODE in your define? I don't think
- it hurts but neither do I see how it can possibly help. For that matter,
- why are you defining it at all? Since "The program does not require any
- input from a user" this seems unnecessary. For a batch job, SYS$INPUT and
- SYS$COMMAND would be identical anyway.
-
- Why are you directing SYS$ERROR and SYS$OUTPUT to NLA0:? Why are
- you surprised when nothing happens and you get no error messages?
-
- Try:
-
- $! DEFINE /USER NLA0: SYS$OUTPUT
- $! DEFINE /USER NLA0: SYS$ERROR
- $ RUN DUA1:[DATA.SWEEP]SCANIT
-
- If you *really* want to suppress output and/or error messages, you
- can uncomment the DEFINES for SYS$OUTPUT and/or SYS$ERROR.
-
- *************************************************************************
- * *
- * Here, there be dragons! *
- * dragon@nscvax.princeton.edu *
- * *
- * Richard B. Gilbert *
- *************************************************************************
-
-