so I found this great link
_________________________________________________________________________________
https://community.microfocus.com/microfocus/cobol/rm_cobol/w/knowledge_base/6937.recovery-encounters-cobol-io-error-2402.aspx
Recovery encounters COBOL I/O Error 24,02
This article explains how to resolve an Index File Recovery Utility 24,02 COBOL I/O Error.
Problem:
When using the RM/COBOL Index File Recovery Utility with a large file, it can fail with a COBOL I/O Error 24,02. This error indicates that there is not enough room left to write to the file. How is this resolved?
Resolution:
This error is caused by the fact that the Index File Recovery Utility opens index files in binary sequential mode. Therefore, in order to resolve this issue, you will need to create a configuration file that enables the use of large sequential files (over 2 GB). The steps to create the configuration file are as follows:
Create a text file named runcobol.cfg in the same directory as the Runtime executable (runcobol).
Add the following configuration record: RUN-SEQ-FILES USE-LARGE-FILE-LOCK-LIMIT=YES
Save the file.
The configuration file will be loaded automatically and will allow you to successfully recover your index file.
_________________________________________________________________________________
Then I just ran "runcobol.exe" and showed me this:
Configured for 10 users.
Copyright (c) 1985, 1986-1999 by Liant Software Corp. All rights reserved.
Registration Number: NE-0000-05800-0010
Usage: RUNCOBOL name [options]
Options: [A=arguments] [B=buffersize] [C=configfile] [D] [I] [K]
[L=libname] [M] [S=switches] [T=sortsize] [X=configmod]
Do you see it? the "C" option
so then i ran
c:\>runcobol recover2 C=runcobol.cfg
and I got my 3 GB Exported file!!!! Yes over the 2 GB Limit
You can see now it exported almost 800K records not just 242K as the initial screen
I hope this help you


No hay comentarios.:
Publicar un comentario