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