BINARY FILE TYPE
Posted 03 May 2006 - 04:07 PM
I have a problem with a binary file.
I'm using a pro-iv vers 4.6 with unix aix.
I have a update that read and write many records.
When the file dimension is about 2 gb pro-iv return me an error "Error in writing file"
Where is the problem? Unix ? Pro-iv? Binary File?
Thanks in advance
Posted 04 May 2006 - 09:46 AM
We had to unmount and re-mount the file system being used, and specified it as Large File Compatible. It worked fine then.
This was only a temporary transfer directory though. I'm not sure if Large File Compatible file systems have any implications for a live Pro-IV data directory.
Posted 03 January 2007 - 10:11 PM
I had tried to do a cut from one file 2gb dimension
with a second file 2gb, and unix had created a new file from 4gb.
The server is an AIX with o.s. lastets version, and it isn't unlimited files dimension.
The limitation is within PROIV. It uses a 32 bit wordlength for addressing (on 32 bit kernels anyway). The solution is to create two seperate text files i.e. create a function with two cycles containing your driver file and text file and then use SEL-RANGE to select your record sets in these cycles e.g. first cycle selects records from A to M and the second selects N to Z
You can use the same file definition for both text files - just use the alias command to assign the logical to the desired physical.
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users