Run the Application

If you were setting up your CICS environment for production, you would now create a PCT entry to associate the name of your program with a CICS transaction id. For this example however, we will use the Micro Focus generic run program CRUN which is useful for testing, and allows you to execute programs on an as-required basis without changing CICS tables.
  1. Start your terminal emulator and clear the screen. Note that you might need to configure your terminal emulator to communicate with the listener port you previously set up, and to connect to the right IP address, which is found on the Home page of Enterprise Server Administration, in the Communications Processes cell for your server.
  2. Enter CRUN progname where progname is the name of your program. This invokes the CICS application which submits the job by writing to the transient data queue defined as the internal reader. If you used the example program provided previously, your output screen will display the JCL submitted.