home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / vms / 17663 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  2.4 KB

  1. Path: sparky!uunet!munnari.oz.au!manuel.anu.edu.au!manuel.anu.edu.au!usenet
  2. From: bear@nuc.anu.edu.au (Bernhard Fabricius)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Task to task decnet problem
  5. Date: 9 Nov 1992 03:11:08 GMT
  6. Organization: Nuclear Physics, ANU
  7. Lines: 43
  8. Distribution: world
  9. Message-ID: <1dkkscINNptf@manuel.anu.edu.au>
  10. References: <DAVIS.92Nov8154006@pacific.mps.ohio-state.edu>
  11. Reply-To: BEAR@NUC.ANU.EDU.AU
  12. NNTP-Posting-Host: 150.203.19.47
  13.  
  14.  
  15. In article <DAVIS.92Nov8154006@pacific.mps.ohio-state.edu>, davis@pacific.mps.ohio-state.edu ("John E. Davis") writes:
  16.  
  17. >   I am trying to write an application which communicates across DECnet from a
  18. >system running VMS 4.7 to one run running VMS 5.4-1.  This purpose of this
  19. >program is to copy files from a unix host via multinet's rcp to the VMS 4.7
  20. >system then copy them to the VMS 5.4-1 system which does not have multinet.
  21. >This part is easy enough.  Here is the hard part.
  22. >
  23. >   The VMS 5.4-1 system has a 3-1/2 in floppy which we access using the
  24. >PCX program to read and write MSDOS files.  Once the copy has been made from
  25. >VSM 4.7 to the 5.4-1 system, I'd like to run PCX to move the files to the
  26. >floppy in an MSDOS format.  However, I'd like to do all of this from the VMS
  27. >4.7 system.
  28.  
  29. [stuff deleted]
  30.  
  31.  
  32. A very simple (but not very elegant) way of doing this would involve letting
  33. the "4.7" nodes' menu system send a mail-message to a special PCX account on
  34. the "5.4-1" node. A low-prio background job on the "5.4-1" node then checks (at
  35. regular intervals) if there is any new mail for the PCX account and runs PCX
  36. with the requested file-name when there is. (You could put the requested
  37. file-name in the "Subject" field of the mail-message).
  38.  
  39. You can use callable mail-routines to do the work. There is an example in the
  40. "Grey Wall" on the callable mail routines that you can use as a template - it
  41. does almost all of what you want (except, of course, running PCX...)
  42.  
  43. This is quick and dirty, but very secure. (And your users need never know...)
  44.  
  45. Cheers
  46.  
  47. Bernhard
  48. --------------------------------------------------------------------------------
  49. Dr Bernhard Fabricius              |
  50. Academic VAX/VMS Support           |  "I am a Bear of Very Little Brain,
  51. Department of Nuclear Physics      |           and long words Bother me."
  52. Australian National University     |
  53.                                    |                           - A.A. Milne
  54. InterNet: BEAR@NUC.ANU.EDU.AU      |
  55.     POSTMASTER@NUC.ANU.EDU.AU      |
  56.  
  57.