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.

144 <strong>CICS</strong> <strong>Transaction</strong> <strong>Gateway</strong> <strong>V5</strong><br />

specified in the <strong>CICS</strong> TG started task and in the <strong>CICS</strong> region was an alias.<br />

Security failed when the <strong>CICS</strong> TG accessed the actual data set name. Defining<br />

the actual data set name solved our problem.<br />

We also had a problem when running with security enabled on the <strong>CICS</strong> TG. <strong>The</strong><br />

EciI1 example would give us dirty address space errors when attempting to<br />

access module DFHXCSVC in the SDHFLINK library. Marking<br />

<strong>CICS</strong>TS22.<strong>CICS</strong>.SDFHLINK as program controlled solved this problem.<br />

Allow read access to program controlled libraries<br />

If your z/OS system has defined the BPX.SERVER FACILITY class profile within<br />

RACF, then the user ID under which the <strong>Gateway</strong> daemon runs must be<br />

permitted to this profile. <strong>The</strong> following example shows the PERMIT command<br />

assuming the user ID of the server is CTGUSER:<br />

PERMIT BPX.SERVER CLASS(FACILITY) ID(CTGUSER) ACCESS(READ)<br />

PERMIT BPX.FILEATTR.PROGCTL CLASS(FACILITY) ID(CTGUSER) ACCESS(READ)<br />

If the BPX.SERVER FACILITY class is not defined, the <strong>CICS</strong> TG user ID must be<br />

defined with a UID of 0 (that is, be a root user).<br />

Remove address space sharing from ctgstart<br />

We specified that the ctgstart script should not share its address space with any<br />

other processes. This is to ensure that the calling address space is not<br />

contaminated by a non-program-controlled load module. To force the JVM to use<br />

its own non-shareable address, we used the following UNIX System Services<br />

command:<br />

extattr -s /usr/lpp/ctg500/bin/ctgstart<br />

This command should be performed from the owner ID or superuser.<br />

Example 7-4 on page 145 shows the result of this command. <strong>The</strong> ctgstart<br />

module does not have an “s” in the second column, which is the desired effect of<br />

the above command.<br />

<strong>CICS</strong> TG started task user ID<br />

We ran our <strong>CICS</strong> TG as a started task, using the user ID CTGUSER. <strong>The</strong> user ID<br />

under which the <strong>CICS</strong> TG started task runs should:<br />

► Have an OMVS segment defined<br />

► Be in a group that has an OMVS segment<br />

► Be defined without a password<br />

► Have READ access to the RACF profile that protects the<br />

TCPIP.STANDARD.TCPXLBIN data set. This data set contains translate<br />

tables for translating from ASCII to EBCDIC and from EBCDIC to ASCII.

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

Saved successfully!

Ooh no, something went wrong!