Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
-----Original Message-----
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of John Allen
Sent: Wednesday, February 17, 2010 12:54
Subject: Embedded SQL no record retrieved error handling
I am new to using embedded SQL, and am trying to learn it in
baby steps.
I did get my first program with embedded RPG to work fine. It
retrieves a
single value from a database record in a physical file.
Compiled, works fine as long as the record is found.
If the record is not found I get error: SQLSTT = 58004 SQLCOD = -901
Is it normal to get these when no record is retrieved by the SQL
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.