IBMi-AS400-PCML Connector

CLI Commands

ol test connection

[module folder]> ol test-connection --host as400.openlegacy.com --code-page 37 --user demo --password 1234
[module folder]$ ol test-connection --host as400.openlegacy.com --code-page 37 --user demo --password 1234

ol add

[module folder]> ol add --source-path ../FININQ2.pcml
[module folder]$ ol add --source-path ../FININQ2.pcml

Properties

--source-path

The path to a local data-source PCML file. The path is used by the CLI ol add command to access the file and parse it to extract its metadata. The property is not required if the input, the output and the program-path properties are populated.

--source-path ../FININQ2.pcml

--host (required)

The AS400 host address

--host as400.openlegacy.com

--program-path

The path to the PCML program on the AS-400 machine. The value takes precedence over the value specified in the PCML file. You can use the property when the asset is ported to a different environment or when the value in the PCML file is incorrect.

--program-path /QSYS.LIB/TEST_OV.PGM

--code-page

The AS400 PCML code page

--code-page 37

--user (required)

User name login credential for the data source

--user demo

--password (required)

Password login credential for the data source

--password 1234