Re: Cobol convert program Job Request
- From: "Richard" <riplin@xxxxxxxxxxxx>
- Date: 21 Feb 2007 19:48:01 -0800
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 ?
.
- Follow-Ups:
- Re: Cobol convert program Job Request
- From: jacodeguy
- Re: Cobol convert program Job Request
- References:
- Cobol convert program Job Request
- From: jacodeguy
- Re: Cobol convert program Job Request
- From: Richard
- Re: Cobol convert program Job Request
- From: jacodeguy
- Cobol convert program Job Request
- Prev by Date: Re: Cobol convert program Job Request
- Next by Date: Re: Creating tab delimited files
- Previous by thread: Re: Cobol convert program Job Request
- Next by thread: Re: Cobol convert program Job Request
- Index(es):
Relevant Pages
|