Home > Ask the AS/400 Experts > iSeries PC/Windows Connectivity Questions & Answers > Delphi application error
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Delphi application error

Shahar Mor EXPERT RESPONSE FROM: Shahar Mor

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 28 October 2004
We are running a Delphi application that accesses the iSeries for records. We are now receiving the following error message:

 
From  . :QSQCALL                                        
From procedure  . . . . . . :   CLEANUP                                        
Statement . . . . . . . . . :   24635                                          
To module . . . . . . . . . :   QSQCALL                                        
To procedure  . . . . . . . :   CLEANUP                                        
Statement . . . . . . . . . :   24635                                          
Message . . . . :   An internal object limit has been exceeded.                
Cause . . . . . :   The SQL statement cannot be run successfully because an    
  Internal object limitation has been encountered.  The reason code is 1.  The
  Operation failed for one of the following reasons: 1 - The maximum number of 
  Stored procedures with open result sets has been exceeded. 2 - An internal   
  Space limitation has been reached while processing result sets. Recovery  .  
  . . :   The reason codes and their recovery follow: 1 - Either fetch a       
  Result set or close an open result set for a stored procedure. 2 - Fetch or  
  Close one or more open result sets, or reduce the size of the array result set. 

Any ideas on how to fix this will be greatly appreciated.



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
iSeries PC/Windows Connectivity
Remove character limits from domain or users on RMTUSER
Generically send a text file from the IFS via FTP
Send parameters correctly to the browser when creating a PHP page
Automate Client Access to find files on Windows scheduler
Setting ILE and C+++ compilers to runtime
Configuring Exchange server to allow mail forwarding from AS/400
Saving multiple sessions on IBM iSeries Client Access when using Vista
Use a virtual directory to move a .bmp file from the IFS to a remote server to run a software package
Displaying an image from the AS/400 on a PC, troubleshooting
Running a job on the iSeries after it has been transferred to a PC

FTP
Simplify the process of converting a spool file from iSeries into an Excel spreadsheet
Generically send a text file from the IFS via FTP
Automate Client Access to find files on Windows scheduler
SAVF by FTP on AS/400 -- error "source file not found"
Use a virtual directory to move a .bmp file from the IFS to a remote server to run a software package
Transferring binary files to IFS from a PC via FTP
FTP from AS/400 to PC folder
How to FTP without knowing the file name
IFS folder error
Creating the correct member type in a source physical file via FTP

Physical connections to iSeries
Configure the iSeries v5r4 to open the HTTPS port for incoming connections
"Time" saving programming tips for iSeries
PC/Windows connectivity: Top 10 expert Q&As
Run command on a PC
Working with ODBC and dates
Why is my job taking twice as long?
Problems with new server and PC
Take control of your iSeries network security -- Part 2
The iSeries and MS Office make good partners
Microsoft computing: Integrating the iSeries and Microsoft Office
Physical connections to iSeries Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


The message indicated that you probably connect Delphi and call a stored procedure to get the records (rather then using direct SQL ).

If this is the case, the stored procedure will need to be compiled differently with activation group set to *caller.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

The Best Web Links: Tips, tutorials and more.

PC/Windows connectivity expert Shahar Mor is available to answer your toughest networking questions. Ask Shahar a question or read his previously answered questions here.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts