Running the Hello World examples
You can run two “Hello World” examples: HelloWorld and HelloCICSWorld. The HelloWorld example uses only Java™ services and HelloCICSWorld uses JCICS.
Before you begin
About this task
Example | Transaction | Program | Java class |
---|---|---|---|
HelloWorld | JHE1 | DFJ$JHE1 | HelloWorld |
HelloWorld | JHE1 | DFH$JSAM (C program) | N/A |
HelloCICSWorld | JHE2 | DFJ$JHE2 | HelloCICSWorld |
DFH$JSAM is a standard CICS program that could be written in any of the CICS-supported languages. If, for example, you do not have a C compiler, you could write a COBOL version of DFH$JSAM and use it in place of the supplied C version. Alternatively, you can bypass DFH$JSAM altogether by changing the JHE1 TRANSACTION definition to run program DFJ$JHE1. However, if you change the definition, the Java program does not write anything to the terminal; so your only indication that the application has run successfully is the message in the stdout file.