|
Thanks Simon. That fixed it. I should have recalled that one. I was lulled into a false sense of security because the other APIS (access, close, write etc.) didn't require that binding directory when I was progressively building up the code. So how do I know which APIs require which binding directory, or if they require a binding directory at all? And why isn't the __errno function mentioned in the manual? -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Simon Coulter Sent: Thursday, 13 July 2006 2:42 PM To: RPG programming on the AS400 / iSeries Subject: Re: __error in Scott Klement's e-Book On 13/07/2006, at 11:42 AM, Mike Pantzopoulos - ((H/O)) wrote:
Is this just a bad typo or have I missed something fundamental?
Did you specify the QC2LE binding directory? H BNDDIR('QC2LE') or specify it on the CRTRPGMOD or CRTBNDRPG or CRTPGM commands. __errno is exported from the QC2UTIL1 service program. Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software AS/400 Technical Specialists http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 \ / X ASCII Ribbon campaign against HTML E-Mail / \ --------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.