Re: Cobol convert program Job Request



On Feb 22, 3:44 pm, jacode...@xxxxxxxxx wrote:
available). I'm hoping tiny/open/free/gnu Cobol will be able to read
microfocus files.

Microfocus Cobol can write several different formats of INDEXED
files. If the file is 'Level II' format then it may be readable as a
sequential file by many systems as it will be fixed records in the
data file. If the file is C2 or other then this may be more difficult
to get another system to read it.

I got this from the rebuild program:

b-sketch.mst /i
Rebuild successful - records read = 7396

File : B-SKETCH.MST
Record length - 826
Organization - Indexed
Recording mode - Fixed
Record length - 826
Keys description :
Key Start Length
0: 1 +21

Does that help? It says fixed "recording length", I'm hoping thats a
fixed length record of 826 bytes. And.. hopefully.. a Level II file
that will be useable.

A hexdump of the first couple of Kb would show the format. What OS is
this on, what version of Microfocus ?


It seems to me that PT-END may indicate the number of PT-TABLE used
and thus should be in the range 1 - 200. Or perhaps to the next
available 2-201.

I have other documentation about what the different fields mean. If I
can get the data into csv I can use it from there.

What would be an easy way to test this. I can zip up the files and
put them some place if anyone wanted to write a test program to see if
they can be read. Or, with a little help, I'd be happy to install
tiny/open cobol and try something myself. (Or whatever cobol you
prefer... I know nothing :-) )

Did you want each CSV record to have 200 X and Y fields, less
depending on PT-END or one line per X/Y pair ?


.



Relevant Pages

  • Re: Cobol convert program Job Request
    ... microfocus files. ... A hexdump of the first couple of Kb would show the format. ... tiny/open cobol and try something myself. ... Version 3.4.23 Copyright 1985-1996 Micro Focus Ltd. ...
    (comp.lang.cobol)
  • Re: locale doesn format
    ... I want to format values to the german form eg. 1.034,56 but ... Here is a little test program: ... I don't think you want to be using '%s' to format numbers in your ... format strings. ...
    (comp.lang.python)