Alashara

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-01-14
05:59
893 views
read a file folder with cobol and write all the files under this file folder in a file
Hi all,
i want to read with cobol for eclipse a file folder and i'll write all of this files (they are copy books files) from this file folder in a file.i need help.
your sincerely
alashara
2 Replies
Chris Glazier

Micro Focus Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-01-15
06:46
Can you please add more detail to your request as to what it is that you are trying to accomplish?
Your request isn't really clear and I am not really sure what it is that you wish to do.
Thanks
Your request isn't really clear and I am not really sure what it is that you wish to do.
Thanks
Gael Wilson

Micro Focus Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-01-16
02:46
Alashara,
Have you looked at the directory scanning calls in the product ?
CBL_DIR_SCAN_START
CBL_DIR_SCAN_READ
CBL_DIR_SCAN_END
You should be able to use those calls to get the contents of a folder and you can use COBOL I-O statements to write the information they return to a file.
Gael
Have you looked at the directory scanning calls in the product ?
CBL_DIR_SCAN_START
CBL_DIR_SCAN_READ
CBL_DIR_SCAN_END
You should be able to use those calls to get the contents of a folder and you can use COBOL I-O statements to write the information they return to a file.
Gael