Testing your scenario
If you have configured your identity mapping correctly, you can now run the ECIDateTime application successfully to test the scenario and verify that the application is being run with the correctly mapped RACF® ID.
- On CICS®, start CEDX debugging
on the CSMI mirror transaction on the CICS server
by issuing the following CEDX CSMI command:
This switches on the debug tool.CEDX CSMI
- On IBM® WebSphere® Application
Server, run the ECIDateTime application. To do this, start launchClient
from the command line by issuing the following command:
app_server_root/bin/launchClient path/ECIDateTime.ear
Whereapp_server_root/bin/launchClient path/ECIDateTime.ear
path
is the path to the ECIDateTime.ear file. - On IBM WebSphere Application
Server, when prompted for a user name and password, provide the user
name and password defined in the LDAP server:
On CICS, when the transaction starts, CEDX intercepts the program and displays the program initiation screen until you press the Enter key. You can now examine the task ID number before the transaction completes:uid=CTGuser1,ou=TMS,dc=CTGTest,o=COMPANYCTG
Figure 1. Program initiation screen - On CICS, use a second sign-on
to log on to the server and run CEMT INQ TASK on the CSMI task:
Figure 2. CEMT INQ task screen The
Use
field contains the RACF ID to which the distinguished name maps. The RACF ID in this scenario isTESTID
and is evidence that the scenario is operating correctly. - On CICS, unlock the CEDX
session by pressing the PF3 key. On IBM WebSphere Application
Server, the launchClient returns the date and time:
WSCL0014I: Invoking the Application Client class com.ibm.ctg.samples.jee.ECIDateTimeClient CICS Date/Time=27/10/09 15:48:45
WSCL0014I: Invoking the Application Client class com.ibm.ctg.samples.jee.ECIDateTimeClient CICS Date/Time=27/10/09 15:48:45