The following is a sample PM/API application based on a sample CLI program. A PM/API application is no more than a CLI application. The only difference between a regular SQL CLI application and a PM/API application is:
- PM/API logs on to a Monitor partition
- SQL logs onto DBC/SQL partition
This sample PM/API application is for an earlier monitor version. You will need to change the monitor version to return needed PM/API fields used in creating and enhancing applications.
For a sample PM/API application that uses the Teradata JDBC Driver, see the sample programs in Teradata JDBC Driver Reference, available at https://teradata-docs.s3.amazonaws.com/doc/connectivity/jdbc/reference/current/frameset.html.