Some examples of using Program Call Markup Language to call OS/400 APIs are listed below. The explanation of each example links to a page that shows the PCML source followed by a Java program.
Note: The proper authority for each example varies but may include specific object authorities and special authorities. In order to run these examples, you must sign on with a user profile that has authority to do the following:
IBM grants you a nonexclusive license to use these as examples from which you can generate similar function tailored to your own specific needs. These samples are provided in the form of source material which you may change and use.
This sample code is provided by IBM for illustrative purposes only. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. All programs contained herein are provided to you "AS IS" without any warranties of any kind. ALL WARRANTIES, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE EXPRESSLY DISCLAIMED.
Your license to this sample code provides you no right or licenses to any IBM patents. IBM has no obligation to defend or indemnify against any claim of infringement, including but not limited to: patents, copyright, trade secret, or intellectual property rights of any kind.