Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Paul, You wrote: >>> Does anyone know if there is an API to do the equivalent of the DSPRDBDIRE command but that can be easily called from an RPG program?. I need to verify that an entry is or is not in the RDB table but would rather not have to output to a spooled file or database file to do the verify. <<< Don't understand why you would need an API. Maybe I'm missing something. In the RDBMS world of DB2, I would say...Why don't you simply use the "EXISTS" function in the WHERE clause of an SQL SELECT against whatever table you wish? You don't have to have any output to a spooled file or database file, only "trap" the results in your program and proceed accordingly. Take care, Dave Odom
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.