home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20738 < prev    next >
Encoding:
Text File  |  1993-01-11  |  2.3 KB  |  51 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!stanford.edu!kronos.arc.nasa.gov!butch!iscnvx!news
  3. From: marshall@NEBULA.SSD.LMSC.LOCKHEED.COM (Bob Marshall)
  4. Subject: Re: SUBMIT help please.
  5. Message-ID: <1993Jan11.172949.25692@iscnvx.lmsc.lockheed.com>
  6. Sender: news@iscnvx.lmsc.lockheed.com (News)
  7. Reply-To: marshall@NEBULA.SSD.LMSC.LOCKHEED.COM
  8. Organization: LMSC, Sunnyvale, California
  9. References: <1993Jan10.224954.21329@npal.rn.com>
  10. Date: Mon, 11 Jan 93 17:29:49 GMT
  11. Lines: 38
  12.  
  13. In article <1993Jan10.224954.21329@npal.rn.com>, sbrant@npal.rn.com writes:
  14. >        Anyway,  I have an EXE program that runs with no problem.
  15. >        The program does not require any input from a user. It is simply
  16. >        a special file processing program.  
  17. >
  18. >        When I start the .com file with the following commands, all
  19. >               works well.
  20. >
  21. >        $ define/exec sys$input sys$command
  22. >        $ run/error=nla0:/output=nla0: dua1:[data.sweep]scanit
  23. >
  24. >        Now the problem arises.  I want to SUBMIT this com procedure
  25. >        so we can schedule the execution of the .exe program.
  26. >
  27. >        Submitting the com program causes a failure. Nothing works.
  28.  
  29. As Carl Lydick has pointed out, you haven't supplied nearly enough
  30. information, so all we can do is guess. If your .COM file is comprised of
  31. only the above two lines, then I would guess that the program is failing
  32. due to the fact that you have not SET DEFAULT to DUA1:[DATA.SWEEP] (or
  33. wherever it is you need to be. This is often the answer when someone says 
  34. "it works fine when I run it interactively, but it fails when I try to 
  35. SUBMIT it". Like I said, this is just a guess, which is all I can do 
  36. based on the above information.
  37.  
  38. Also, if the program does not require any input from the user, why are
  39. you redirecting SYS$INPUT?
  40.  
  41. Also, maybe if you didn't direct your errors to the null device you might
  42. have some clue as to why it's not working.
  43.  
  44. =============================================================================
  45. Bob Marshall                     \\     "Women aren't as smart as they
  46. Lockheed Missiles & Space Co.     \\     think they are; they think we
  47. Sunnyvale, CA                      \\    men know a lot more than we
  48. marshall@force.ssd.lmsc.lockheed.com\\   really do."
  49. "I tell the truth 'cept when I lie"  \\     - Tim the Toolman
  50. =============================================================================
  51.