[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

880.0. "Document transfer strips out lines > 512 characters" by COMICS::BARHAM (Norbert:) Wed Jun 17 1992 12:17

    ALL-IN-1 v3.0
    
    Is there any way to transfer, in its entirety, a text file with lines
    bigger than 512 characters long into ALL-IN-1 ? 
    
    If you use Gold Get or DT RV, the result is that lines longer than 512
    characters are stripped out altogether.
    
    If you $convert/doc the .txt file to .dx and get the .dx file into
    ALL-IN-1, it doesn't strip the lines out but it does truncate them to
    512 characters and adds a load of control blocks which doesn't help.
    
    I have a test file on SCOTMN::TEXTFILE.TXT with DX file TEXTFILE.DX and
    results of DT SV after DT RV called TEXTOUT.TXT.
    
    Is a 1 block buffer (512 bytes) used by DT RV and Gold Get or is it
    simply a restriction of the WPS-PLUS editor ?
    
    Thanks
    
    Clive  
         
T.RTitleUserPersonal
Name
DateLines
880.1Don't know of any solutionSHALOT::WARFORDRichard Warford @OPA DTN 393-7495Wed Jun 17 1992 12:255
    It's a restriction on the ASCII DSAB which is reading the file during
    conversion. (I haven't checked the WPS-PLUS DSAB to see what its limit
    is).
    
    Rick
880.2IOSG::WDAVIESThere can only be one ALL-IN-1 MailWed Jun 17 1992 15:3811
    Hi Clive,
    
    How about creating an ASCII document and then at VMS level renaming
    thebig record to filename ?
            
    Mind you I don't think that will do much good - you won't be able to
    read it I shouldn't think.
            
    WPS+ is 2048 I believe.
      Winton
                              
880.3Would VMS Convert help?HOTAIR::MADDOXPoliticians say the darnedest thingsWed Jun 17 1992 19:524
Can you create an FDL with 512 char. records defined and then use the VMS
Convert utility to create a readable ASCII file?

Joe
880.4Editor and Text Dataset limitsIOSG::NEWLANDRichard Newland, IOSG, REO1-D/4AThu Jun 18 1992 15:0151
    
>    Is there any way to transfer, in its entirety, a text file with lines
>    bigger than 512 characters long into ALL-IN-1 ? 

It depends on exactly what you mean by 'transfer into ALL-IN-1'.  You can
store a file of any format in the ALL-IN-1 file cabinet as a FOREIGN format 
using DT RVC.

    
>    If you use Gold Get or DT RV, the result is that lines longer than 512
>    characters are stripped out altogether.
    
If you are using GOLD Get then you are using an editor and will also be
subject to any restrictions the editor might impose.  The maximum width of
a WPS-PLUS ruler is 256 characters, but I haven't tested what affect this
has when gold-getting files with longer lines.  EDT/DPE has a maximum line
length of 255.  I'm not sure what the TPU limit is but I tried about 950
characters and it worked. 

When you do a GOLD-GET from an integrated ALL-IN-1 editor the file will be 
read through the ALL-IN-1 text dataset mechanism so that if necessary it 
can be converted into the format required by the editor.  The ALL-IN-1 text 
dataset has a maximum record length of 512 characters.

With EDT/DPE and TPU you can also include text files directly, which
bypasses the ALL-IN-1 text dataset mechanism.  Using this you could use the
editor TPU and include a text file with lines longer than 512 characters. 

DT RV will by default create a document in the format used by your default
editor.  Therefore again you may be subject to editor limits as described
above. 


>    If you $convert/doc the .txt file to .dx and get the .dx file into
>    ALL-IN-1, it doesn't strip the lines out but it does truncate them to
>    512 characters and adds a load of control blocks which doesn't help.

The DX format also has it's own line length limit.  This appears to be 512
characters.  It's probable that the truncation of long lines was done when
the DX file was created.  Since the 512 character lines from the DX file
don't exceed the 512 character text dataset limit the DX file was read
through the text dataset mechanism without lines being discarded.

    
>    Is a 1 block buffer (512 bytes) used by DT RV and Gold Get or is it
>    simply a restriction of the WPS-PLUS editor ?
    
Each file format, internal format and editor has it's own limit.


Richard