HP3000-L Archives

April 2002, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Clogg <[log in to unmask]>
Reply To:
John Clogg <[log in to unmask]>
Date:
Wed, 24 Apr 2002 15:08:22 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
Nope, that didn't work.  Thanks for the suggestion, though.  BTW, the target
file is not a message file.

John

-----Original Message-----
From: Gavin Scott [mailto:[log in to unmask]]
Sent: Wednesday, April 24, 2002 2:40 PM
To: John Clogg; [log in to unmask]
Subject: RE: [HP3000-L] FCOPY and Variable Length Records


John writes:
> FCOPY is writing each record to the target file at its maximum length,

Message files are unique in that they are always internally structured as
variable length files but you can either view them as variable *or* fixed,
depending on how you open the file.

My guess (being to lazy to test it) is that FCOPY specifies fixed records in
its FOPEN with the assumption that a "real" variable length file will
override it.

Try issuing a file equation for the output MSG file explicitly specifying
that you want variable records, as in:

:FILE OUTMSG;REC=,,V

and FCOPY TO=*OUTMSG and see if that works any better.

G.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2