× 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.



Peter,

Read the API manuals that explain the error datastructure.

http://as400bks.rochester.ibm.com/pubs/html/as400/v5r1/ic2924/info/apis/erro
r.htm

Kind regards,
Paul

-----Original Message-----
From: Peter Colpaert [mailto:Peter.Colpaert@honda-eu.com]
Sent: 05 March, 2002 13:08
To: rpg400-l@midrange.com
Subject: RE: API prototypes in /COPY member



This is what confuses me: it looks as if there are different lengths
possible, because I assume that both data structures are valid.

Is there an explanation for this?

Peter Colpaert
Application Developer

Honda Europe NV
Langerbruggestraat 104
B-9000 GENT
Peter.Colpaert@honda-eu.com
Tel: +32 9 2501 334
Fax: +32 9 2501 231
----------
"Captain, I cannot believe my ears!" - Spock
----------


Please respond to rpg400-l@midrange.com

Sent by:  rpg400-l-admin@midrange.com



To:   "'rpg400-l@midrange.com'" <rpg400-l@midrange.com>
cc:

Subject:  RE: API prototypes in /COPY member


Peter,

For the error code description have look at page 2-8 in System Api
Concepts:
http://publib.boulder.ibm.com/html/as400/v5r1/ic2924/books/c4158000.pdf

I'm always using this data structure in a /COPY member:

*************************************************
** Error Datastructure
*************************************************
D Error           DS
D Er_BytesPr              1      4B 0
D Er_BytesAv              5      8B 0
D Er_MsgID                9     15
D Er_Reserv              16     16
D Er_MsgDta              17    272
*************************************************

<<< snip>>>

kind regards,
Geert Van Landeghem






"Gwiazdowski Wojciech" <gwiazdowski@mmi.pl>@midrange.com on 05/03/2002
12:27:09

Please respond to rpg400-l@midrange.com

Sent by:  rpg400-l-admin@midrange.com


To:   <rpg400-l@midrange.com>
cc:

Subject:  RE: API prototypes in /COPY member


 * ----- Error code data structure
D ErrCod          DS                  INZ
D  BytPro                 1      4B 0 INZ(0)
D  BytAva                 5      8B 0
D  MsgID                  9     15
D  Rsrv1                 16     16
D  MsgDta                17    256

Wojciech Gwiazdowski




_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.




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.