01.01.2013 Views

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1. We started the <strong>CICS</strong> TG on z/OS as a started task from SDSF using the<br />

command /S SCSCTG5. Having started the job, we noticed this caused several<br />

temporary tasks to be invoked. <strong>The</strong>se tasks were called SCSCTG5n, where n<br />

was a number from 1 to 9. However, once the <strong>CICS</strong> TG had started the<br />

original job SCSCTG5 was left running but paged out, and a child process<br />

SCSCTG55 was left running and paged in. SCSCTG55 is the UNIX Systems<br />

Services JVM process that is executing the <strong>Gateway</strong> daemon. This is shown<br />

in Example 7-9.<br />

To stop the <strong>CICS</strong> TG, we simply use the MVS cancel command against the<br />

original started task: /C SCSCTG5. Eventually, the second task will end as well,<br />

though you can cancel it too.<br />

Example 7-9 <strong>CICS</strong> TG started tasks in SDSF<br />

SDSF DA SC66 SC66 PAG 0 SIO 322 CPU 7/ 6 DATA SET DISPLAYED<br />

COMMAND INPUT ===> SCROLL ===> CSR<br />

NP JOBNAME StepName ProcStep JobID Owner C Pos DP Real Paging SIO<br />

SCSCTG55 *OMVSEX STC11097 CTGUSER IN F7 25T 0.00 0.42<br />

SCSCTG5 SCSCTG5 *OMVSEX STC12191 CTGUSER LO FF 283 0.00 0.00<br />

2. Once the <strong>CICS</strong> TG had started we checked the log file<br />

/ctg/scsctg5/logs/ctg.stdout for the message CCL6524I, indicating the TCP<br />

protocol handler had successfully started (Example 7-10).<br />

Example 7-10 Successful start of <strong>CICS</strong> TG as seen in ctg.stdout<br />

----------------------------------------------------------------<br />

Set up environment variables for Java<br />

----------------------------------------------------------------<br />

PATH reset to /usr/lpp/java/<strong>IBM</strong>/J1.3/bin:/bin:.<br />

JAVA_HOME reset to /usr/lpp/java/<strong>IBM</strong>/J1.3<br />

CTG6111I File 'ctgenvvar' found. Using the configuration in script 'ctgenvvar'<br />

to start up the application.<br />

06/24/02 : 17:51:48:792 : <strong>CICS</strong> <strong>Transaction</strong> <strong>Gateway</strong>, Version 5.0.0, 5724-D12.<br />

Build Level c000-20020621.<br />

06/24/02 : 17:51:48:799 : (C) Copyright <strong>IBM</strong> Corporation 1999, 2002. All rights<br />

06/24/02 : 17:51:48:946 : CCL8400I: Using ini file /ctg/scsctg5/CTG.INI.<br />

06/24/02 : 17:51:48:973 : CCL6577I: Java version is 1.3.1.<br />

06/24/02 : 17:51:49:012 : CCL6502I: Initial ConnectionManagers = 10, Maximum<br />

ConnectionManagers = 90,<br />

06/24/02 : 17:51:49:030 : CCL6502I: Initial Workers = 10, Maximum Workers = 90,<br />

tcp: Port = 2006<br />

06/24/02 : 17:51:49:038 : CCL6574I: Connection logging has been disabled.<br />

06/24/02 : 17:51:50:431 : CCL6505I: Successfully created the initial<br />

ConnectionManager and Worker threads.<br />

06/24/02 : 17:51:53:828 : CCL6524I: Successfully started handler for the tcp:<br />

protocol.<br />

Chapter 7. TCP connections to the <strong>Gateway</strong> daemon on z/OS 159

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!