Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access file size greater than 4GB in COBOL

Status
Not open for further replies.

sandipan9

Programmer
Dec 6, 2011
1
ZA
Hello All,

Recently we encountered an issue with COBOL WRITE not able to read/write a file more than 4GB..
You can check a similar forum where this problem was discussed -

We use a unix system which executes the binary created by complilation of the cobol file.

So the script which executes the binary was modified to include the path for EXTFH.cfg.
Set as :-
export EXTFH=/output_path/extfh.cfg

This is a configuration file located at the output path.
The content of the configuration file "extfh.cfg" is -
[XFH-DEFAULT]
FILEMAXSIZE=8

This solved our problem :)

All the best folks!!

Sandipan Das
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top