info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: RE: Re: binary file's import & checkout


From: Martin Eismann
Subject: RE: RE: Re: binary file's import & checkout
Date: Fri, 27 Jul 2001 19:08:08 +0200 (MEST)

Hello Larry!

Thanks for answering...

> Martin Eismann writes:
> > 
> > At this point this checked out file was corrupt when invoking my
> > Form-Editor!
> [...]
> > As you can see the file has been stored with keyword substitution "b"
> > (meaning binary, or not?) ! 
> > 
> > So I wonder why my frm-file is not useable any more...?!?!
> 
> VMS has record structured files rather than the byte stream files that
> CVS was designed for.  Most likely, the actual record structure of form
> files is significant (at least to the form editor) and CVS doesn't
> preserve it.

I think that's the reason why...! 
Following ANALYZE/RMS-command on VMS shows the differences between the
original and the checked-out file:
--- Analysis of the checked-out-file :
Check RMS File Integrity                     27-JUL-2001 18:50:53.81   Page
1
LZO_ROOT_DEVICE:[000000.LZOSRC.NVE]NVE_DIA.FRM;1
RMS FILE ATTRIBUTES

        File Organization: sequential
        Record Format: stream-LF
        Record Attributes:  carriage-return
        Maximum Record Size: 0
        Longest Record: 32767
        Blocks Allocated: 9, Default Extend Size: 0
        End-of-File VBN: 5, Offset: %X'0186'
        File Monitoring: disabled
        Global Buffer Count: 0

--- Analysis of the original file:
Check RMS File Integrity                     27-JUL-2001 18:54:45.19   Page
1
LZO_SOURCE_DEVICE:[NVE]NVE_DIA.FRM;2
RMS FILE ATTRIBUTES

        File Organization: sequential
        Record Format: variable
        Record Attributes:  carriage-return
        Maximum Record Size: 0
        Longest Record: 510
        Blocks Allocated: 54, Default Extend Size: 0
        End-of-File VBN: 5, Offset: %X'01EE'
        File Monitoring: disabled
        File Length Hint (Record Count):    -1 (invalid)
        File Length Hint (Data Byte Count): -1 (invalid)
        Global Buffer Count: 0

As you can read above: There are differences in the file-structure....  This
means that VMS-Clients are still having problems in handling binary files,
or not?

As a result I would recommend that future versions of (VMS-)clients should
be adapted to handle such actions correctly. In VMS you can open files in
almost every record-structures...

SHOULD THIS BEHAVIOUR BE HANDLED AS A CVS-BUG?

> Isn't there a way to save form definitions in a text
> format?
> 
Yes! This would be a work-around.
Another way would be to convert a checked-out binary form-file to the
original structure with VMS-command CONVERT....

> -Larry Jones
> 
> It COULD'VE happened by accident! -- Calvin
> 

-- 
Martin Eismann
Oracle Rdb DBA & Developer
Cretschmar Logistik GmbH, Duesseldorf,
Germany

GMXler aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne
Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung!
http://puretec.de/index.html?ac=OM.PU.PU003K00717T0492a




reply via email to

[Prev in Thread] Current Thread [Next in Thread]