home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- 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
- From: mdchaney@fractal.ucs.indiana.edu (M Darrin Chaney)
- Subject: Re: Help a student in distress....
- Message-ID: <C0Hz98.Lw6@usenet.ucs.indiana.edu>
- Sender: news@usenet.ucs.indiana.edu (USENET News System)
- Nntp-Posting-Host: fractal.ucs.indiana.edu
- Organization: Indiana University, Bloomington
- References: <20242.2b4c180e@ul.ie>
- Date: Thu, 7 Jan 1993 18:55:56 GMT
- Lines: 56
-
- In article <20242.2b4c180e@ul.ie> 9120092@ul.ie writes:
- >Call me a buthead but I've got a few rather simplistic questions to
- >pose to the great VMS minds out there.
- >(1) How come DEC manuals have most of their examples in Fortran?
-
- I guess that's considered the language of choice on VMS. DEC has put more
- effort into their Fortran compiler than any other (unless things have changed
- drastically lately). And, it's not a bad language. More on this at the
- bottom.
-
- >(2) In DEC's RMS who does the FAB and the RAB work, is it much different
- > from the FAT in Messy Dos (TM) ?
-
- Absolutely nothing to do with each other. The FAT (MS-DOS) is per-disk
- data structure that describes the logical layout of the file on the disk.
-
- In RMS, the FAB and RAB simply keep information about the file that you are
- accessing, such as file type, file name, and record type. The DOS equivalent
- is the File Control Block- FCB- which holds file name, record size, and other
- information for access. It is used by DOS interrupt (21h) services such as
- 21h, 22h, and 23h (which read, write, and get file size). That's the new way
- of dealing with files, as opposed to handles.
-
- >and more importantly as I require this information soon
- >(3) Does anybody have any working examples of SMG's used in Cobol (cough cough)?
- > In particular SMG$CREATE_MENU. I would really appreciate this as the
- > VMS ver 3 manuals that are available to me don't mention a thing
- > about it. I know about it 'cause it's in the Ver 5.? help facility.
-
- You're complaining about Fortran examples, but you want COBOL examples? You're
- redeemed only by the (cough cough) comment.
-
- I have a VAX COBOL manual, and it doesn't have any SMG examples. Chapter 17
- is devoted to writing terminal applications, although nothing fancy. You might
- want to check it out. Other than that, dig through the SMG manuals. They
- probably have a COBOL example for you, but I guarantee that it isn't easy to
- call routines like that from COBOL. The calls themselves are wordy.
-
- --------------------------------------------------------------------------
- Peter O'Brien | E-Mail: in%"9120092@ul.ie"
- Computer Systems |
- University of Limerick | "Listen now, understand later!"
- Ireland. | a U.L Maths Lecturer who shall remain anon.
- --------------------------------------------------------------------------
-
- Here, I'll help you with homework:
-
- There once was a man from Nantucket,
- ...
-
- Darrin
- --
-
- mdchaney@iubacs mdchaney@bronze.ucs.indiana.edu mdchaney@rose.ucs.indiana.edu
-
- "I want- I need- to live, to see it all..."
-