On 10/11/2018 3:20 PM, Mohan Eashver wrote:
Thank you for your response David & Mark.
But this is what I get after expanding. The 1st message data value should
have been 16. But is showing some strange character.
BYTESPROVIED OF APIERROR = 256
BYTESAVAIL OF APIERROR = 35
ERRORID OF APIERROR = 'CPF4AA7'
ERRORRSVD OF APIERROR = '0'
ERRORINFO OF APIERROR =
1 ' ■*MIXCASE1 '
61 ' '
121 ' '
181 ' '
Look at the message field data for CPF4AA7 ... the first 4 bytes are a
binary value that coresponds to the reason code. The next 15 bytes are the
If you look at APIERROR.ERRORINFO in hex, you'll see the binary value.
IBM i on Power Systems: For when you can't afford to be out of business!
I'm riding 615 miles (Yes, you read that right) in the American Diabetes
Association's Tour de Cure to raise money for diabetes research, education,
advocacy, and awareness. You can make a tax deductible donation to my ride
by visiting https://lsteml.diabetessucks.net.
See where I get my donations from ... visit
https://lsteml.diabetessucks.net/map for an interactive map (it's a geeky
I may have diabetes, but diabetes doesn't have me!
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
Please contact support@xxxxxxxxxxxx for any subscription related
Help support midrange.com by shopping at amazon.com with our affiliate