From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e6262f02d713541c X-Google-Attributes: gid1164f8,public From: oberman@icaen.llnl.gov Subject: RE: VMS help needed Date: 1996/01/18 Message-ID: <4dlsgg$qum@lll-winken.llnl.gov>#1/1 X-Deja-AN: 135621705 references: organization: Lawrence Livermore National Laboratory newsgroups: comp.sys.dec In Article af877@FreeNet.Carleton.CA (Harry Dodsworth) writes: > > > I'm new to VMS and have what seems to be a simple problem that >I can't solve. > > I have variable length records, 461 bytes long that I want to >print. The PRINT command prints 132 characters and the rest is >lost. > When I display them on the screen with a TYPE command, they >wrap fine. I used TYPE and saved them to a file but the system >was smart enough to know they were 461 byte records so no print! > > So how do you print all of records longer than 132 characters? > >One of them displays with part of the record offset by five bytes; >I think it might have a TAB or similar control character in a >character field; how do I display a record in hexadecimal so I can >see what is really there? This is kind of messy. Width is set in several places. First, for serial printers, the terminal specification set maximum record length. (Show/Set Terminal.) For parallel printers, see SHOW/SET PRINTER. Finally and probably most importantly, the queue form setup defines how the print symbiont handles long records. It can wrap or truncate at any line length. See DEFINE/FORM. You can define various forms of different widths and other characteristic and specify the one to use in the PRINT command. If you are using DECprint, things are done with "LAYUP" files, but I suspect you are not using DECprint. R. Kevin Oberman Energy Sciences Network (ESnet) National Energy Research Supercomputer Center (NERSC) Internet: oberman@es.net +1 510-422-6955