(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-02-24 12:36 AM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - Is it possible to read Cobol files with c++ ?
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
Fanker
Posts: 2/2
The Data record description for the Material is:

01 ART001-SATZ.
05 ART001-OB.
10 ART001-WG.
15 ART001-WGN PIC Z(4).
10 ART001-ARTNR.
15 ART001-ARTNRN PIC Z(18).
05 ART001-OB1.
10 ART001-MATCHC1 PIC X(25).
10 ART001-WG1.
15 ART001-WGN1 PIC Z(4).
10 ART001-ARTNR1.
15 ART001-ARTNRN1 PIC Z(18).
15 ART001-BEZ.
20 ART001-BEZ1 PIC X(25).
20 ART001-BEZ2 PIC X(25).

can you give me an example due to these data ? Must I create a data type by struct define - but what about the idx_files?
Cellar Dweller +
Posts: 45/138
Yes, but you will need to find out what the format of the files is. If you have documentation on the format, or can read the Cobol source code, then you're set. As a last resort it is possible to reverse engineer the format. Reverse engineering will greatly aided if you can experiment with the program.

The fact that you have asked the question indicates a lack of experience that will make any of the options difficult.
Fanker
Posts: 1/2
hello,

how can i read cobol files with c++, and is it possible? We have an old cobol - Programm and i will learn c++ to make own material - reports. So i must read the files (.dat and .idx)

Thanks from Bremen

Fanker
Acmlm's Board - I3 Archive - Programming - Is it possible to read Cobol files with c++ ?


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.009 seconds; used 348.89 kB (max 383.07 kB)