"Vekovius, Jeff" wrote:
> 
> I am having trouble reading files properly using VMS Perl 5.6 on VMS AXP
> 6.2-1h3.  It seems that Perl is loosing some of the NewLines.. ( some NL's
> get changed to a CR/NL... while NL's get dropped entirely...? )  The goal is
> to use Perl to get our reports into an imaging system with recognizable page
> breaks... ( replace the CR/FF with a CR/NL/FF ... s/\r\f/\r\n\f/ ).  A
> 
> File organization:  Sequential
> Record format:      VFC, 2 byte header, maximum 132 bytes, longest 132 bytes

It's not quite so straight forward reading a VFC file.  Pre- and
post-record processing options are stored in that 2 byte VFC header. 
Although this is stored in the file with the record, I don't think it's
returned to the user buffer.  I don't have the documentation here at
home to look up how this works but I'm quite sure the program would have
to indicate to RMS somehow where to return this data.  Without it, you
can't reproduce the correct carriage control.

I'll look this up in the RMS documentation tomorrow if no one beats me
to it.

-- 
tom_p
[EMAIL PROTECTED]
http://www.eclipse.net/~pfau/
Community Gospel Church information at http://www.cgcnb.org/

Reply via email to