Skip to main content

Hello,
I received some files cobol
Without FD / Select

Came only IDX file
Inside the IDX file I think it has data and indices

How to convert this file to TXT with fields

I have in my computer NetExpress 5.1 and Acucobol 8.0

Need to convert to a txt with columns

How to do this?


#idx
#convert

Hello,
I received some files cobol
Without FD / Select

Came only IDX file
Inside the IDX file I think it has data and indices

How to convert this file to TXT with fields

I have in my computer NetExpress 5.1 and Acucobol 8.0

Need to convert to a txt with columns

How to do this?


#idx
#convert
There should be a data file the same name as the .IDX which contains the actual data. The .IDX contains only the keys, eg primary/secondary etc. There is no point trying to extract the keys without the data file which holds the file records.

Hello,
I received some files cobol
Without FD / Select

Came only IDX file
Inside the IDX file I think it has data and indices

How to convert this file to TXT with fields

I have in my computer NetExpress 5.1 and Acucobol 8.0

Need to convert to a txt with columns

How to do this?


#idx
#convert
Assuming that this is not an IDXFORMAT"8" file which does store both data and keys in a single file you would need the actual .DAT portion of the file to do something with it as buggerall points out.

You could determine if this is a complete file by opening up a Net Express command prompt on your system and running the command:
rebuild <filename> -f

If it is a complete file then it will give you the specs for the file such as record length, key definition, etc so that you could then write your own select and fd to access it in a COBOL program.

Without the original definition though you would have no idea how the individual fields within the record are laid out but you could convert it to a text file using the rebuild command:

For indexed file infile.dat to create text file outfile.txt use:

rebuild infile.dat,outfile.txt /o:ind,lseq

Hello,
I received some files cobol
Without FD / Select

Came only IDX file
Inside the IDX file I think it has data and indices

How to convert this file to TXT with fields

I have in my computer NetExpress 5.1 and Acucobol 8.0

Need to convert to a txt with columns

How to do this?


#idx
#convert
I'm not sure.
Whoever sent me the files does not know Cobol.

If this file were an IDXFORMAT "8"
I could convert it as?

With net-express? Acucobol? VisualCobol?

Hello,
I received some files cobol
Without FD / Select

Came only IDX file
Inside the IDX file I think it has data and indices

How to convert this file to TXT with fields

I have in my computer NetExpress 5.1 and Acucobol 8.0

Need to convert to a txt with columns

How to do this?


#idx
#convert
i try use net-express 5.1 rebuild ms-dos command.

rebuild X.IDX /f

return:
rebuild aborted - invalid command line

Hello,
I received some files cobol
Without FD / Select

Came only IDX file
Inside the IDX file I think it has data and indices

How to convert this file to TXT with fields

I have in my computer NetExpress 5.1 and Acucobol 8.0

Need to convert to a txt with columns

How to do this?


#idx
#convert
Sounds like this is not an idxformat"8" file as it is not being recognized. You will need the corresponding .dat file to pair with it. MF Indexed files use a .idx extension for the key file. Acu use .vix, I believe so the rebuild with either Net Express or Visual COBOL will most likely work once you have the .dat portion as well.

Hello,
I received some files cobol
Without FD / Select

Came only IDX file
Inside the IDX file I think it has data and indices

How to convert this file to TXT with fields

I have in my computer NetExpress 5.1 and Acucobol 8.0

Need to convert to a txt with columns

How to do this?


#idx
#convert
The data portion need not be suffixed with .dat it depends on the filename in the creating program.

Hello,
I received some files cobol
Without FD / Select

Came only IDX file
Inside the IDX file I think it has data and indices

How to convert this file to TXT with fields

I have in my computer NetExpress 5.1 and Acucobol 8.0

Need to convert to a txt with columns

How to do this?


#idx
#convert
Some Files not Micro Focus Cobol Format have only one type of file. Couldo you send me an example file to see if I can help you...?? TKS.

Hello,
I received some files cobol
Without FD / Select

Came only IDX file
Inside the IDX file I think it has data and indices

How to convert this file to TXT with fields

I have in my computer NetExpress 5.1 and Acucobol 8.0

Need to convert to a txt with columns

How to do this?


#idx
#convert
Are archives rm cobol
I do not work with rm, I'm going to see with the client