× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: API documentation
  • From: rob@xxxxxxxxx
  • Date: Tue, 6 Feb 2001 11:47:24 -0500


Turns out it was my problem.  I was confused in this error code and had my
bytes provided and bytes available crossed.  My apologies to IBM.  It was
an attempt to clean up a bad example given in Notes Document   176369.


Rob Berendt

==================
Remember the Cole!


                                                                                
                                       
                    rob@dekko.com                                               
                                       
                    Sent by:                 To:     RPG400-L@midrange.com      
                                       
                    owner-rpg400-l@mi        cc:                                
                                       
                    drange.com               Subject:     Re: API documentation 
                                       
                                                                                
                                       
                                                                                
                                       
                    02/05/01 12:59 PM                                           
                                       
                    Please respond to                                           
                                       
                    RPG400-L                                                    
                                       
                                                                                
                                       
                                                                                
                                       





I've opened up pmr 66243,500 with IBM.  We'll see where that goes.  And
you're right, I should have complained, (scratch that), brought this to
IBM's attention first and allowed them the opportunity to correct the flaw.
I just hope I don't hire someone in the future who won't use API's because
he heard somewhere that some of them are buggy.  It's amazing the number of
people here who will use DSPFFD to an outfile versus just reading the file
QADBIFLD because I let it slip that I had to run RCLSTG *DBXREF once.

Rob Berendt

==================
Remember the Cole!



                    "Simon Coulter"
                    <shc@flybynight.c        To:     RPG400-L@midrange.com
                    om.au>                   cc:
                    Sent by:                 Subject:     Re: API
documentation
                    owner-rpg400-l@mi
                    drange.com


                    02/02/01 06:43 PM
                    Please respond to
                    RPG400-L






M
Hello Rob,

You wrote:
>Let me say this.  I eat up API's all the time.  Use them alot.  I feel
that
>some of them are buggy.  For example the QWDRSBSD api.  I use that to
check
>if a subsystem has any jobs running under it, (is my domino server down
>yet?).  If you call it on a nonexistent subsystem you would think that it
>should update the error code data structure.  After all, what is the error
>code data structure for?  However it will abort with an error message.  I
>chose to set up my program to monmsg for this stupid error message and
then
>move that to the error code message parameter.

I agree that sounds like a bug.  If an error code structure is specified
that is where any error should be returned -- although there is an arguable
case that only those messages listed in the Error Message section of the
API
should be returned in the error structure.

If you think an API is broken then you should open a PMR with IBM support
and complain until it is fixed.  If you simply don't like the way it works
then you should open a Design Change Request (DCR).

I know it is a painful process but if everybody simply works around the API
flaws then we end up with APIs that are broken and can't be changed for
fear
of breaking backwards-compatibility.

Regards,
Simon Coulter.

«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
«» FlyByNight Software         AS/400 Technical Specialists       «»
«» Eclipse the competition - run your business on an IBM AS/400.  «»
«»                                                                «»
«» Phone: +61 3 9419 0175      Mobile: +61 0411 091 400           «»
«» Fax:   +61 3 9419 0175      mailto: shc@flybynight.com.au      «»
«»                                                                «»
«» Windoze should not be open at Warp speed.                      «»
«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---



+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---



+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.