Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 Introduction : Examples of Using the COBOL Copybook Palette

Examples of Using the COBOL Copybook Palette
The COBOL Copybook palette can be used to either send data to or retrieve data from a COBOL application. This section describes examples of using the COBOL Copybook palette to accomplish either goal.
Figure 2 illustrates a process that receives a JMS queue message containing COBOL data. The ParseCopybookData activity is used to convert the data into XML, and the data is passed to the HandleIncomingData subprocess.
Figure 2 Receiving data from a COBOL Application
Figure 3 illustrates data received from an incoming HTTP request and then passed to the HandleIncomingData subprocess. The data is then passed to the RenderCopybookData activity so that COBOL data can be created to send to a COBOL application. The data is then sent to the COBOL application by way of a JMS Queue Sender activity.
Figure 3 Sending data to a COBOL application
The examples above illustrate the basic usage of parsing, rendering, sending, and receiving. Your integration project could be more complex and require any combination of parsing, rendering, sending, or receiving COBOL data in the same process definition.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved