Skip to main content

Hello

I need to read and write files larger than 4 Gb on V6 Enterprise.  I opened an incident but still no joy.  I can work around this by processing the files as splits in and out and putting them back together in Unix, but I really don't want the next guy to have to know Unix and COBOL to figure out what I did.  Is there a flag or something that will let me work around this?

Hello

I need to read and write files larger than 4 Gb on V6 Enterprise.  I opened an incident but still no joy.  I can work around this by processing the files as splits in and out and putting them back together in Unix, but I really don't want the next guy to have to know Unix and COBOL to figure out what I did.  Is there a flag or something that will let me work around this?

Hi Dannynicholas

You Can use the File Handler Configuration parameter FILEMAXSIZE=8.

This can be done in two steps

1) Setting up the EXTFH environment variable

set EXTFH=c:\\mydir\\extfh.cfg

2) Second step is place below contents in the file

Contents of extfh.cfg should be

[XFH-DEFAULT]

IDXFORMAT=8

FILEMAXSIZE=8

Let me know if this works for you !!


Hello

I need to read and write files larger than 4 Gb on V6 Enterprise.  I opened an incident but still no joy.  I can work around this by processing the files as splits in and out and putting them back together in Unix, but I really don't want the next guy to have to know Unix and COBOL to figure out what I did.  Is there a flag or something that will let me work around this?

This is probably the right idea, but I'm in Unix (Solaris) not Windows.  In my shop the answer was

to create /etc/microfocus/cobol6/etc/exfth.cfg and put the contents in that then EXTFH=/etc/microfocus/cobol6/etc/extfh.cfg;export EXTFH.  This lets me write 10 GB but I can still only read 4GB.


Hello

I need to read and write files larger than 4 Gb on V6 Enterprise.  I opened an incident but still no joy.  I can work around this by processing the files as splits in and out and putting them back together in Unix, but I really don't want the next guy to have to know Unix and COBOL to figure out what I did.  Is there a flag or something that will let me work around this?

Hi Dannynicholas,

Sorry about the Path. I should have explained rather than just floating idea.


Hello

I need to read and write files larger than 4 Gb on V6 Enterprise.  I opened an incident but still no joy.  I can work around this by processing the files as splits in and out and putting them back together in Unix, but I really don't want the next guy to have to know Unix and COBOL to figure out what I did.  Is there a flag or something that will let me work around this?

I wouldn't feel too bad about that.  It took about 45 minuites on the phone and remote connection with support to figure this on out.  For anyone else reading, this little "trick" increases the maximum file size from 4 GB to 1 EB (That's an Exabyte or the next step up from Terabytes).


Hello

I need to read and write files larger than 4 Gb on V6 Enterprise.  I opened an incident but still no joy.  I can work around this by processing the files as splits in and out and putting them back together in Unix, but I really don't want the next guy to have to know Unix and COBOL to figure out what I did.  Is there a flag or something that will let me work around this?

Thanks dannynicholas

Agree with you.