Download
Abstract
CPI-C for Rust is a code development package that provides the CPI-C API definitions for a Rust application to implement APPC LU6.2 transactions with a partner application. Typically, this is to a host application like CICS or IMS where record retrieval and record updates are done over APPC calls using CPI-C APIs. This package provides similar support found for CPI-C for Java on the Communications Server for Data Center Deployment product.
Download Description
Overview Version 1.0:
The Communications Server for Data Center Deployment V7.1.1 installation on Linux server and Remote API client platforms, along with Windows Remote API client platforms includes the CPI-C for Rust source and documentation provided in the package described below. The installation for the server and the client product will include a "samples" directory in the installation directory that has the "rustaping" and "rust_tp" sub-directory. The CPIC_for_RUST_Implementation Guide_V1.1.pdf is included in the "samples" directory.
This package below contains a .zip file package that includes a document describing the supplied CPI-C for Rust include file, cpic.rs. It also contains the source code for 2 example programs. First, a RUSTAPING program, written in Rust, that sends multiple "pings" over APPC using the CPI-C APIs. Second, a RUST_TP program, written in Rust, that is a Transaction Program receiving "pings" over APPC. The example code comes in a Rust Cargo directory format for building the Rust programs.
- Package Contents:
CPI-C for Rust Version 1.0 contains:
CPI-C for Rust Version 1.0 contains:
CPIC_for_RUST/CPIC_for_RUST_Implementation_Guide_V1_1.pdf - Documentation for implementing example Rust programs
Linux sub-directory:
RUSTAPING_V1_0_s390x_ppc64le_cargo.tar - Example APING code for Linux on IBM Z and Power
RUSTAPING_V1_0_x86_64_cargo.tar - Example APING code for Linux on x86_64
RUST_TP_V1_0_s390x_ppc64le_cargo.tar - Example Transaction Program code for IBM Z and Power
RUST_TP_V1_0_x86_64_cargo.tar - Example Transaction Program code for Linux on x86_64
Windows sub-directory:
RUSTAPING_V1_0_windows_cargo.zip - Example APING code for Windows
RUST_TP_V1_0_s390x_ppc64le_cargo.zip - Example Transaction Program code for Windows
Prerequisites
- Minimum level of Communications Server for Data Center Deployment is V7.1.0.0
- Rust Cargo installed
Installation Instructions
Follow the instructions in the CPIC_for_RUST_Implementation_Guide_V1_1.pdf file provided to unpack and install the CPI-C for Rust example code. The "src/cpic.rs" file is the Rust module file that contains the Rust definitions for calling the CPI-C APIs.
Download Package
Download the .zip file for the CPI-C for Rust package.
Change History
Added minimum Communications Server for Data Center Deployment level information.
Off
[{"Type":"MASTER","Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSKK8Z","label":"Communications Server for Data Center Deployment"},"ARM Category":[{"code":"a8m0z0000001jSmAAI","label":"Comm Server DSD Linux V7"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.1.0"}]
Was this topic helpful?
Document Information
Modified date:
09 June 2023
UID
ibm16606675