iSeries Access for Windows Remote Command/Distributed Program Call APIs

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

iSeries Access for Windows Remote Command APIs:

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

iSeries Access for Windows Distributed Program Call API:

The iSeries Access for Windows Distributed Program Call API allows your PC application to call any iSeries 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 iSeries program that was called. If the program fails to run correctly on the iSeries server, the program can send up to ten reply messages.

iSeries 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.
Related reference
Remote Command/Distributed Program Call APIs return codes
iSeries system name formats for connection APIs
OEM, ANSI, and Unicode considerations