Re: Help! Converting files from a Cobol app

From: Robert Wagner (spamblocker-robert_at_wagner.net)
Date: 10/27/04


Date: Wed, 27 Oct 2004 03:16:41 GMT

On Tue, 26 Oct 2004 21:40:48 GMT, "Vilco" <t@h.c> wrote:

>The character fields, like the surname and name of the persons,
>are not full-plain text: every some six-to-ten characters there is one inconsistent character, like a german umlaut in the half of
>an otherwise plain italian surname (like "ferraļi" instead of "ferrari").

The file system was extfh and DATACOMPRESS was turned on. It uses two
similar RLL algorithms, which compress strings of repeating
characters. One has two bytes, the first being binary 2-31 and the
second, the character. The other has three bytes, the first being DC4
(ASCII 20, the character shown above), the second is binary 2-255 and
the third, the character. If you read the file via extfh, you don't
need to worry about expansion.



Relevant Pages

  • Re: PC REXX to mainframe REXX I/O
    ... Mainframe files are record oriented; stemming from the days of punched ... into records is integral part of the file system. ... fixed record length (going back to the 80 byte punched card). ... On PC and *nix the files are character oriented; ...
    (comp.lang.rexx)
  • Re: include file rule
    ... except the new-line character and " '. ... inside quotation marks in my source code in #include directives. ... But what if I give you my source to port to some platform where these ... include files and source files when you put them on your file system. ...
    (comp.lang.c.moderated)
  • Re: ReadLine weirdness!
    ... I changed my code to use Read and loop through the line ... reading one character at a time instead of the whole line with Readline and ... > instinct is to suspect your drive or file system. ... >>support this character yet I can see the line as it should be if I open it ...
    (microsoft.public.access.modulesdaovba)
  • Re: two files with exactly the same name in one directory
    ... Bug in the file system. ... characters, ... in a Unicode locale, ... Using Unicode, it is possible to encode the same character ...
    (comp.unix.bsd.openbsd.misc)
  • Re: Beware wildcards in Kill
    ... > the filename as a variable-length character string. ... > You're overlooking the fact that every file in the Windows ... > file system upon which it was loosely based. ... > argued that it would have needlessly complicated programming ...
    (microsoft.public.vb.syntax)