Program Call Markup Language (PCML) examples

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: In order to run these examples, you must sign on with a user profile that has authority to do the following:
  • Call the OS/400 API in the example
  • Access the information being requested
The proper authority for each example varies but may include specific object authorities and special authorities.

License information

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.

DISCLAIMER

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.

COPYRIGHT
5769-JC1 (C) Copyright IBM CORP. 1998, 1999
All rights reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted
by GSA ADP Schedule Contract with IBM Corp.
Licensed Material - Property of IBM