Program Call Markup Language
Overview
Program Call Markup Language (PCML) is a tag language that helps you call AS/400 programs, but with writing
less Java code. PCML is based upon the Extensible Markup Language (XML), a tag syntax you write to describe
the input and output parameters for AS/400 programs. PCML enables you to define tags that fully describe
AS/400 programs that will be called by your Java application.
Benefits
Ordinarily, in the Java environment, you have to write additional lines of code in your Java applications
to construct AS/400 Toolbox for Java class objects for connecting to and retrieving information from an
AS/400 and for performing the appropriate data translation.
However, by using PCML, your calls to the AS/400 with the AS/400 Toolbox for Java classes
are automatically handled by the PCML class objects. The PCML class objects are generated from the PCML
tags, the PCML-coded description of AS/400 programs, helping minimize the
amount of code you need to write in order to call
AS/400 programs from your application.
You use the
AS/400 distributed program call (DPC) server, an established generalized server,
to support your remote requests to call programs on an AS/400.
Platform requirements
While PCML was designed to support distributed program calls to AS/400 program objects from a Java
platform, you can also use PCML to make calls to an AS/400 program from within an AS/400
environment as well.
Topics for more information
Refer to the following topics on how to use PCML:
- Call programs with the help of PCML
- Build program calls with PCML tags
- A PCML example
[ Legal | AS/400 Glossary ]