IBM i Access for Windows Remote Command/Distributed Program Call APIs

The IBM® i Access for Windows Remote Command/Distributed Program Call APIs allow the PC application programmer to access IBM i functions. User program and system commands are called without requiring an emulation session. A single IBM i program serves commands and programs, so only one system job is started for both.

IBM i Access for Windows Remote Command APIs:

The IBM i Access for Windows Remote Command application programming interfaces (APIs) enable your PC application to start non-interactive IBM i commands and to receive completion messages from these commands. The IBM i command can send up to ten reply messages.

IBM i Access for Windows Distributed Program Call API:

The IBM i Access for Windows Distributed Program Call API allows your PC application to call any IBM i program or command. Input, output and in/out parameters are handled through this function. If the program runs correctly, the output and the in/out parameters will contain the data returned by the IBM i program that was called. If the program fails to run correctly on the system, the program can send up to ten reply messages.

IBM i Access for Windows Remote Command/Distributed Program Call APIs required files:

Header file Import library Dynamic Link Library
cwbrc.h cwbapi.lib cwbrc.dll

Programmer's Toolkit:

The Programmer's Toolkit provides Remote Command and Distributed Program Call documentation, access to the cwbrc.h header file, and links to sample programs. To access this information, open the Programmer's Toolkit and select either Remote Command or Distributed Program Call > C/C++ APIs.

Note: By using the code examples, you agree to the terms of the Code license and disclaimer information.