KB Article 10428
2014/04/08

Close
X
Contact Tech Support

 Email Tech Support
 (250) 655-1766
 [7:30 - 5:00 PST]
Your Meeting ID will be Provided by a Rep.
Tech Support
Tech Support Home
Software Updates
Knowledge Base Search
Recent KB Articles
Product FAQs
Code Samples
Documentation
Tech Blog
System Requirements
Installation Instructions
Support Testimonials
Contact us to...
Create a Ticket
Request a Free Demo
Suggest a New Feature
Submit Feedback
Upload a Large File
Other Services
Software Training
Professional Services

Where can I find a reasonably comprehensive list of possible return values or error codes that I'd find in pgmf_lasterror and pgmf_sqlcode?

Product: WebSmart ILE Type: Frequently Asked Question

The WebSmart program fields pgmf_lasterror and pgmf_sqlcode can be used to monitor for program errors of different kinds. We occasionally have customers asking for information on what the possible range of return codes or valus are. 

You can find a list of SQL return codes at the IBM site, at https://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Frzala%2Frzalaccl.htm

The WebSmart error message file is XL_WEBSPT/PW_RTMSGF, but many of the errors come from here:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fapis%2Funix14.htm

We have also supplemented these with a few others for piping, etc. 

If you have a question about a specific code, error or situation with a program, please contact Technical Support!

 

Rate This Article

Did this example help you to achieve your goal?
 Yes  No  Don't Know

Enter additional comments below.   If you want to hear back from us, include your contact information.

Email Address:
Comments:
Please enable JavaScript in order to rate this page.