Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!nrl-cmf!ukma!rutgers!galaxy!laidlaw From: laidlaw@orion.rutgers.edu Newsgroups: comp.os.vms Subject: Re: Need help with sys$sndjbcw... Message-ID: <716@galaxy> Date: 2 Aug 88 21:18:49 GMT Sender: news@galaxy Organization: Rutgers University CCIS Lines: 34 In article <8808022020.AA10361@ucbvax.berkeley.edu>, spector@VX2.GBA.NYU.EDU (David HM Spector) writes... > > >Help! I need some advice from any job control gurus who may be around. > >Here's what I am trying to do: I am writing and lpd-like object that gets >spawned by the MultiNet (or TWG) version of inetd. The program listens on >port 515 for print requests, just like lpd, etc. Everything works OK until >I attempt to submit the job to the job controller for printing. I am >using sys$sndjbcw(); the job controller doesn't return an error, but the >job is never entered in the queue or printed. The program runs as SYSTEM >and has no problems with privs. A small test version of the program runs >fine when executed from a terminal, it only fails when run from from the >server process... > >Any ideas? I am stumped. > [more stuff deleted] This is A fussy call make sure that the detatched process actually has CMKRNL turned on. If not it will fail silently or at least has on my VMS 4.4 system. Good Luck Angus laidlaw@orion.rutgers.edu laidlaw@cancer.bitnet Real soon now: laidlaw@draco.rutgers.edu laidlaw@draco.bitnet PS: I would be interested in a copy of your program when you get it working. We are working on a print symbiont that will send jobs via lpr and will be implementing the receiver soon.