Skip to main content
Skip table of contents

AS/400 PCML

This adapter calls programs on AS/400 systems (IBM eServer iSeries or System i) via the Program Call Markup Language (PCML) and returns the results of the executed programs as an XML document.

Properties

Operation

Determines which operation the adapter executes

Possible values: Execute: Execute adapter

Parameters

Adapter

Main class of the adapter (do not change!)

Possible values: en.softproject.integration.adapter.PCMLAdapter: Main class (default)

systemName

Host name of the AS/400 system

Possible values: Any host name (e.g. localhost)

userId

Username for server authentication

Possible values:

  • Any string
  • *CURRENT: call up current user ID
password

Password for server authentication

Possible values: Any string

encoding

Character encoding of the input and output XML document

Possible values: Any valid character encoding (e.g. UTF-8)

Status values

1The operation was executed successfully.
-1The operation failed due to a technical error.

Input

This adapter expects an adapter-specific input XML structure. Each <program> element corresponds to a program, each <data> element therein defines a field, and each <structure> element can serve as a data structure element or an argument for a program:

HTML/XML
<pcml version="1.0">
   <program>
      <data></data>
      <struct>
          <data></data>
      </struct>
   </program>
</pcml>

Output

The successfully executed PCML adapter returns an XML document with the following pattern:

HTML/XML
<pcml>
   <program_name>
      <data_values></data_values>
      <struct_name1></struct_name1>
   </program_name>
</pcml>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.