O'Reilly logo

APIs at Work, Second Edition by Ron Hawkins, Doug Pence, Bruce Vining

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ILE CEE Feedback Error Handling

As mentioned earlier, the ILE CEE APIs do not use the common error-code structure that you have seen with previous APIs. Instead, they use a feedback data structure, as defined in Table 8.6.

Table 8.6. The ILE CEE Feedback Structure
Offset DecimalDescriptionSize
0Message severity, where a 2 corresponds to i5/OS severity 20, 3 corresponds to 30, and 4 corresponds to 40.Binary(2) Unsigned
2Message number, which is a hex value representing the message ID.Binary(2) Unsigned
3Flags which are further defined in the ILE Concepts manual.Char(1)
4Facility ID, which corresponds to an i5/OS message ID prefix such as CPF, CEE, or MCH.Char(3)
5Additional information that, if non-zero, represents the message reference key of the error ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required