asna.com Sign In
Receiving Record or File is busy error when attempting to open a file 

SUMMARY

When attempting to open a file using DataGate for iSeries, you receive an error that the record or file is busy.

DETAILS

When attempting to open a file using DataGate for iSeries, you receive an error that the record or file is busy.  There are no locks on the file, and the iSeries job log provides the following detail:

The requested heap space operation is invalid.

The pointer parameter passed to free or realloc is not valid.

CAUSE

The system value "QALWUSRDMN" (Allow User Domain Objects) is missing one or more of the required libraries for DataGate for iSeries to properly open files. 

The Allow User Domain Objects (QALWUSRDMN) system value specifies which libraries are allowed to contain user domain objects of type *USRSPC, *USRIDX, and *USRQ.   By default, this value is *ALL.

DataGate for iSeries uses *USRPSPC objects extensively for its cache file information and print files.

RESOLUTION

If the system value must be changed from the default *ALL, then you must specify the following libraries in the QALWUSRDMN system value:

  • DG8_VCAT46
  • DG8_VCAT50
  • DG8_VCAT72
  • ASNA_DG8
  • DG8_40
  • The library that DataGate for iSeries is installed to.
  • Any library that contains a DataGate print file.

Please note:  One or more of these libraries may not exist on your system, depending on what version of DataGate you have installed. 

Related Articles
Article Downloads
 
Keywords:
"record is busy"  "file is busy"
Article ID: 498 
Category: ASNA Visual RPG; ASNA DataGate : ASNA DataGate for System i 
Applies To:  
Article Date: 5/12/2011