PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: Aart van Weelden on July 17, 2018, 09:32:34 AM

Title: Error=31 in file splitting
Post by: Aart van Weelden on July 17, 2018, 09:32:34 AM
We received a error=31 when we are splitting a file with 631.500 records into 6 yearfiles.
PxPlus is hanging after that error.
Title: Re: Error=31 in file splitting
Post by: Mike King on July 17, 2018, 10:50:16 AM
What version of PxPlus are you using also are you using the GUI or Text mode of the SplitFile routine to setup the file splitting?

BTW: An error 31 may be due to the memory limits you have set in your application.  Do you issue a START nnn to set the memory limit or take the defaults?

You may get around the problem by setting the 'SZ' system parameter to a larger number of setting 'IZ' to have the system ignore the limitation.  Note that setting IZ can cause OS problems should you have a run away process that take all OS memory.
Title: Re: Error=31 in file splitting
Post by: Aart van Weelden on July 19, 2018, 09:42:32 AM
We use PxPlus V15 (2018) and we use the GUI within the data dictionary maintenance.
We have empty the year files and run our conversion program again and it works fine now.
In the same session we get the error=31 we became some errors 105. Perhaps that was the problem.
Thanks for the reaction.