# Sample IVP Resources

The following tables list the Substation ES sample programs, written in COBOL or C. The source for the COBOL samples is located in the `USERHLQ.COB` library and, for the C samples, in the `USERHLQ.C` library.

## Sample IVP Programs for Invoking Resources for CICS Interface

Description | Resource Name and Type | Program Source and Language
--- | --- | ---
Request or reply application requesting an invocation of a CICS program through the DPL method | `SXCCI001` (program) | `SXCCI001` COBOL
`SXC3I001` (program) | `SXC3I001` C
Request or reply application requesting an invocation of a CICS program through the DPL TSQ method | `SXCCI012` (program) | `SXCCI012` COBOL
`SXC3I012` (program) | `SXC3I012` C
Request or reply application requesting an invocation of a CICS program through the DPL Storage Pointer method | `SXCCI013` (program) | `SXCCI013` COBOL
`SXC3I013` (program) | `SXC3I013` C
Request or reply application requesting an invocation of a CICS program through the DPL Container method | `SXCCI014` (program) | `SXCCI014` COBOL
Request or reply application requesting an invocation of a CICS program through the DPL multiple containers method. | `SXCCI015` (program) | `SXCCI015` COBOL
Substation ES HVT trigger message initiated from within CICS | `SXTF` (transaction) | `SXCCI032` COBOL
`SXT6` (transaction) | `SXC3I032` C
Substation ES trigger message initiated from within CICS | `SXTT` (transaction) | `SXCCI002` COBOL
Sender application requesting an invocation of a CICS program through the XCTL method | `SXCCI003` (program) | `SXCCI003` COBOL
Sender application requesting that a transaction in the CICS region be initiated | `SXTI` (transaction) | `SXCCI004` COBOL
Application publishing a message to the Substation ES requesting that a TDQ entry be written with the message content | `SXQT` (TDQ name) | Substation ES internal function
Application publishing a message to the Substation ES requesting that a TSQ entry be written with the message content | `SXCTSQI1` (TSQ name) | Substation ES internal function
Application displaying the records on the Dead Message Queue with the ability to delete and resend records in the CICS region | `SXTD` (transaction) | `SXCCODMQ` COBOL
Application publishing a message and expecting a reply from Substation ES that invokes a CICS program using DPL Most z/OS COBOL data types are used in this example. | `SXCCI010` (program) | `SXCCI010` COBOL

## Sample IVP Programs for Invoking Resources for RED Interface

Description | Resource Name and Type | Program Source and Language
--- | --- | ---
Request or reply application requesting an invocation of a CICS program through the DPL method | `SXCCI001` (program) | `SXCCI001` COBOL
`SXC3I001` (program) | `SXC3I001` C
Request or reply application requesting an invocation of a CICS program through the DPL Container method | `SXCCI014` (program) | `SXCCI014` COBOL
Request or reply application requesting an invocation of a CICS program through the DPL multiple containers method | `SXCCI015` (program) | `SXCCI015` COBOL
Substation ES RED CICS trigger message initiated from within CICS | `XTC2` (transaction) | `SXXCCI32` COBOL
`XT32` (transaction) | `SXX3CI32` C
Application publishing a message and expecting a reply from Substation ES that invokes a CICS program using DPL Most z/OS COBOL data types are used in this example. | `SXCCI010` (program) | `SXCCI010` COBOL

## Sample Programs for CICS Outbound Requests or Replies

Description | Resource Name and Type | Program Source and Language
--- | --- | ---
CICS-initiated application that sends a request through Substation ES and expects a reply within a period of time | `SXRC` (transaction) | `SXCCIRR1` COBOL
`SXR3` (transaction) | `SXC3IRR1` C
CICS application that processes the request and that replies to the CICS-initiated request or reply transaction | `SXCCIRR3` (program) | `SXCCIRR3` COBOL

## Sample Programs for RED CICS Outbound Requests or Replies

Description | Resource Name and Type | Program Source and Language
--- | --- | ---
RED CICS-initiated application that sends a request through Substation ES and expects a reply within a period of time | `XTR3` (transaction) | `SXX3IRR1` C

## Sample IVP Programs for IMS Interface

Description | Resource Name and Type | Program Source and Language
--- | --- | ---
Application publishing a message and expecting a reply from Substation ES that invokes an IMS Transaction (MPP) through OTMA | `SXICITO1` (transaction) | `SXICIPO1` COBOL
Application publishing a message and expecting a reply and a trigger from Substation ES that invokes an IMS Transaction (MPP) through OTMA | `SXICITO2` (transaction) | `SXICIPO2` COBOL
Version of `SXICITO2` demonstrating the use of a variable-length transaction name (not the first eight characters of the message) | `ITO3` (transaction) | `SXICIPO3` COBOL
IMS BMP Program sending trigger messages through Substation ES to an awaiting subscriber | None | `SXICIPB1` COBOL
IMS conversational | `IVTCB` (transaction) | `SXR3ICV1` C
IMS BMP program using request/reply (synchronous callout or ICAL) | None | `SXICIRR1` COBOL

Copyright © TIBCO Software Inc. All rights reserved.