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

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!news.gtech.com!noc.near.net!news.Brown.EDU!qt.cs.utexas.edu!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!fractal!mdchaney
  3. From: mdchaney@fractal.ucs.indiana.edu (M Darrin Chaney)
  4. Subject: Re: Help a student in distress....
  5. Message-ID: <C0Hz98.Lw6@usenet.ucs.indiana.edu>
  6. Sender: news@usenet.ucs.indiana.edu (USENET News System)
  7. Nntp-Posting-Host: fractal.ucs.indiana.edu
  8. Organization: Indiana University, Bloomington
  9. References: <20242.2b4c180e@ul.ie>
  10. Date: Thu, 7 Jan 1993 18:55:56 GMT
  11. Lines: 56
  12.  
  13. In article <20242.2b4c180e@ul.ie> 9120092@ul.ie writes:
  14. >Call me a buthead but I've got a few rather simplistic questions to 
  15. >pose to the great VMS minds out there.
  16. >(1) How come DEC manuals have most of their examples in Fortran?
  17.  
  18. I guess that's considered the language of choice on VMS.  DEC has put more
  19. effort into their Fortran compiler than any other (unless things have changed
  20. drastically lately).  And, it's not a bad language.  More on this at the
  21. bottom.
  22.  
  23. >(2) In DEC's RMS who does the FAB and the RAB work, is it much different
  24. >    from the FAT in Messy Dos (TM) ?
  25.  
  26. Absolutely nothing to do with each other.  The FAT (MS-DOS) is per-disk
  27. data structure that describes the logical layout of the file on the disk.
  28.  
  29. In RMS, the FAB and RAB simply keep information about the file that you are
  30. accessing, such as file type, file name, and record type.  The DOS equivalent
  31. is the File Control Block- FCB- which holds file name, record size, and other
  32. information for access.  It is used by DOS interrupt (21h) services such as
  33. 21h, 22h, and 23h (which read, write, and get file size).  That's the new way
  34. of dealing with files, as opposed to handles.  
  35.  
  36. >and more importantly as I require this information soon
  37. >(3) Does anybody have any working examples of SMG's used in Cobol (cough cough)?
  38. >    In particular SMG$CREATE_MENU. I would really appreciate this as the
  39. >    VMS ver 3 manuals that are available to me don't mention a thing
  40. >    about it. I know about it 'cause it's in the Ver 5.? help facility.
  41.  
  42. You're complaining about Fortran examples, but you want COBOL examples?  You're
  43. redeemed only by the (cough cough) comment.
  44.  
  45. I have a VAX COBOL manual, and it doesn't have any SMG examples.  Chapter 17
  46. is devoted to writing terminal applications, although nothing fancy.  You might
  47. want to check it out.  Other than that, dig through the SMG manuals.  They
  48. probably have a COBOL example for you, but I guarantee that it isn't easy to
  49. call routines like that from COBOL.  The calls themselves are wordy.
  50.  
  51. --------------------------------------------------------------------------
  52. Peter O'Brien              |  E-Mail:  in%"9120092@ul.ie"
  53. Computer Systems           |
  54. University of Limerick     |         "Listen now, understand later!"
  55. Ireland.                   |  a U.L Maths Lecturer who shall remain anon.
  56. --------------------------------------------------------------------------
  57.  
  58. Here, I'll help you with homework:
  59.  
  60. There once was a man from Nantucket,
  61. ...
  62.  
  63.     Darrin
  64. -- 
  65.  
  66. mdchaney@iubacs mdchaney@bronze.ucs.indiana.edu mdchaney@rose.ucs.indiana.edu
  67.  
  68. "I want- I need- to live, to see it all..."
  69.