BYTES-RETURNED field of RDQM0100 while call of QMHRDQM

5 pts.
Tags:
QMHRDQM
RDQM0100
Can anyone let me know what value is returned in the BYTES-RETURNED field of RDQM0100.I want to predict the value that may come in this even before I call QMHRDQM ?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Most of the IBM i APIs use a standard error code structure, in which details are returned about any errors that occurred when calling the API (if there were any). So, on a successful call, you’d be testing for the BytesReturned value to be 0. If not 0, then you may want to have your program interrogate the error code structure so that the nature of the error could be handled in the program or reported back up to its caller, etc.

<a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apiref/errorcodeformat.htm”>Here’s a link to IBM’s documentation</a> for some specifics.

CWC
———————-

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following