|
I am a bit further now..... Userspaces I just created an userspace before I am working on the api (qtmhgetenv). it retrieves more, still however with the messages, so I have to fine-tune that prog. Also have to check ptf for userspaces... If anyone has an other idea, i hope to hear from it.. Thanks, Henk. -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On Behalf Of Mel Rothman Sent: vrijdag 30 juli 2004 0:57 To: web400@xxxxxxxxxxxx Subject: [WEB400] Re: CGI-programming..... Yes, worst case is some of the message data gets cut off. Mel Brad Stone wrote: > Ahah! You're right... I've used that for so long, I > haven't looked back. I must have misinterpreted it... > > Worst case scenario, some of the message gets cut off I > would assume. > > Also, don't click that link if you're using Mozilla... IBM > sites really know how to hose it up good. :) > > Brad > > On Thu, 29 Jul 2004 16:11:55 -0500 > Mel Rothman <mel@xxxxxxxxxxxxxx> wrote: > >>Brad, INZ(40) for eBytesP is incorrect. >> inz(%size(WPError)) is always correct. >> >>Bytes provided is not the number of bytes provided for >>exception data. It is the size of the entire data >>structure, which, in WPerorr's case, is 56. >> >>For details, see IBM's documentation (especially the >>"Example: receiving the error code with the exception >>data"), at >> > > http://publib.boulder.ibm.com/infocenter/iseries/v5r3/ic2924/index.htm?info/ apis/api.htm > >>According to the Information Center, the QtmhGetEnv API's >> interface did not change from V5R2 to V5R3. I don't >>believe it has changed since it was introduced around >>V3R2 (CISC) and V3R6 or V3R7 (RISC). >> >> >>Mel Rothman, CGIDEV2 Author >>Mel rothman, Inc. >> >>Brad Stone wrote: >> >>>Here's what I use for error parms on every API I call.. >>>never done me wrong. I have it in some of my software >> >>that >> >>>is running on V5R3 and so far things look good: >>> >>> D WPError DS >>> D EBytesP 1 4B 0 INZ(40) >>> D EBytesA 5 8B 0 >>> D EMsgID 9 15 >>> D EReserverd 16 16 >>> D EData 17 56 >>> >>>Also, if you aren't following the thread on the RPG list >> >>(I >> >>>didn't see that you had moved it here) you may want to >>>consider checking out my eRPG Software Development Kit. >> >> It >> >>>really makes all of this a lot easier, and like CGIDEV2 >>>takes advantage of templates. >>> >>>It's has a lighter footprint and testing shows it also >>>executes faster than CGIDEV2... right now it's in beta >>>testing and so far the users love it. A couple are >>>switching over from CGIDEV2 to use it.. >>> >>>www.erpgsdk.com >>> >>>Hope this helps. >>> >>>Brad >>>www.bvstools.com _______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
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.