home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / vms / 12758 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  2.5 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!uwm.edu!linac!att!ucbvax!cdclu1.genrad.com!dongray
  2. From: dongray@cdclu1.genrad.com (Derek Dongray)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Librarian bug?
  5. Message-ID: <9207231705.AA23140@genrad.com>
  6. Date: 23 Jul 92 17:05:40 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Organization: The Internet
  9. Lines: 41
  10.  
  11. > In article <9207220947.AA02928@genrad.com> dongray@cdclu1.genrad.com (Derek Dongray) writes:
  12. >>Jerry writes:
  13. >>>     In response to an earlier question, Arne Vajhxj writes:
  14. >>>     > Librarian bug or undocumented feature!?
  15. >>>     >
  16. >>>     > $ LIBRARY/INSERT text_library  help_library
  17. >>>     > $ LIBRARY/EXTRACT=help_library/OUTPUT=help_library.hlb  text_library
  18. >>>     > $
  19. >>>     > $ LIBRARY/LIST help_library.hlb
  20. >>>     > %LIBRAR-F-OPENIN, error opening RC$:[STANE]HELP_LIBRARY.HLB;1 as input
  21. >>>     > -LBR-E-ILLFMT, illegal library format
  22. >
  23. > I sense some confusion, or I've missed something in the posting.
  24. > My experience is this:  the library will extract a .hlp file, not a .hlb one.
  25. > .hlp is a text file, .hlb is a library format, so when you try to do
  26. > a LIBRARY/LIST, you get an error, as it's text file, not a library file.
  27. > At least that's what I'm seeing.
  28. >
  29. >  Brian D. Reed    bdr@cbnewsg.cb.att.com
  30.  
  31. You have missed something.
  32.  
  33. The point is that the librarian will put *any* sequential file into a text
  34. library and library files are sequential files. So you can put a help library
  35. file (.HLB) into a text library file (.TLB). Of course, when its extracted it
  36. always comes out as sequential with variable length lines, which is ok for
  37. text, but library files (and .EXE files) have fixed length records so you need
  38. to use convert to fix things up.
  39.  
  40. On the VAX Forum on CompuServe, it's common practice to store packages in text
  41. libraries created with the /DATA=REDUCE option (to save space). The library
  42. file can contain almost anything, text files (documents, command files or
  43. source), object files, executables or libraries. The format is used,
  44. presumably, because the librarian and convert are available on any Vax running
  45. VMS. Any other archive format (e.g. Zip, Zoo, etc.) needs another utility.
  46. --------------------------------------------------------------------------------
  47. Name : Derek Dongray, Systems Manager, GenRad Ltd.
  48. Phone : 061 486 1511 ext 166
  49. PSS : 234261600119::Dongray                 UKnet : Derek.Dongray@GenRad.co.uk
  50. InterNet : Dongray@cdclu1.GenRad.com        CompuServe : 70374,2745
  51. Address : Monmouth House, Monmouth Road, Cheadle Hulme, Cheshire, SK8 7AY, UK.
  52.