Git Product home page Git Product logo

cics-java-jcicsx-samples's Introduction

JCICSX-Samples

This repository contains samples to show different scenarios of how you might use the JCICSX API. These will not work out of the box, as you will require valid CICS resources eg CICS Programs and Libraries for them to use. Each sample is contained within a web application which can be packaged as a WAR in a CICS bundle and deployed to CICS using the CICS bundle Maven plugin or the CICS bundle Gradle plugin. If you're just interested in the Java code, this can be found in src/main/java.

Full documentation on Java development using the JCICSX API can be found in the IBM Knowledge Center.

Prerequisites

  • CICS TS V5.6 or later
  • Java SE 1.8 or later on the z/OS system
  • Java SE 1.8 or later on the workstation

This sample shows how you can create a channel. It then creates a container in that channel, which can contain CHAR data. Additional CHAR data is then appended to the container, and it then gets the combined data from the channel as a string output.

This sample walks through how to use the JCICSX API to perform a LINK to a CICS Program. During the LINK, it passes through a BIT container containing a temperature in Celcius, and then receives BIT data as the output from the CICS Program containing the temperature converted to Fahrenheit.

This sample takes a string and links to a COBOL program with a channel and input CHAR container. The COBOL program reverses the string and returns it to the Java program in an output CHAR container.

This sample mimics the existing JCICS cics-java-liberty-restapp sample, but is updated to use JCICSX instead of JCICS to show the similarities and differences. It creates a RESTful application that takes a string as an input and reverses it, and get the date and time from CICS.

This sample shows how to get data from BIT containers, and how to test the core logic of your application by using Mockito to mock the JCICSX calls.

Licence

This project is licensed under the Eclipse Public License, Version 2.0.

cics-java-jcicsx-samples's People

Contributors

sophiegreen avatar ind1go avatar tom-latham avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.