You can use any ODBC-compliant application to execute OS/400 remote commands via CONNX, provided that the application supports the SQLExecDirect or SQLPrepare/SQLExecute API call sequence. The application used in the following examples is InfoNaut™, but any ODBC-compliant application may be used.
Create a library = CNXTEST.
If the remote command succeeds, the InfoNaut application displays the following dialog box:
Copy the file NULLID/TESTNULLS to CNXTEST/TESTNULLS.
Delete the library CNXTEST.