Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Programming. |
Acmlm's Board - I3 Archive - Programming - Is it possible to read Cobol files with c++ ? | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
Fanker Newcomer Since: 02-27-06 From: Germany, Bremen Last post: 6698 days Last view: 6698 days |
| ||
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 |
|||
Cellar Dweller + Red Koopa Since: 11-18-05 From: Arkansas Last post: 6351 days Last view: 6342 days |
| ||
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 Newcomer Since: 02-27-06 From: Germany, Bremen Last post: 6698 days Last view: 6698 days |
| ||
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? |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - Programming - Is it possible to read Cobol files with c++ ? | | |