Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Shayla Robinson
CICS/390 Level 2 Support
December 1, 2005
Some Benefits
Simple and fast to program
Robust
Portable
Easier application deployment and management
CORBA IIOP 1.0 Inbound only IIOP 1.1 (inbound and outbound)
CORBA 2.1 stateless objects
CORBA IIOP
IBM VisualAge for Java v4 Enterprise Edition WebSphere Studio Application Developer or
Enterprise Developer V4 or V5
Development
Platform
IBM SDK 1.4.1 for z/OS – exploits JVM shared IBM SDK 1.4.2 for z/OS
class cache Service Oriented Architecture (SOA) exploitation
HPJ support (migration only) SOAP 1.1 and 1.2
Java JCICS – new and enhanced classe s Web services support
JDBC support WS-Security capability
Common Client Interface (CCI) Connector 1.0 WS-Atomic Transaction
XML capability for COBOL and PL/I WS-Coordination
SOAP for CICS WS-I Basic profile 1.0a
WebSphere V4 & V5 AAT or WebSphere Studio WebSphere Application Server v5.x ATK
EJB 1.1 session beans only EJB 1.1 session beans only
EJB Toleration of EJB 2.0 Java Archives Toleration of EJB 2.0 Java Archives
IIOP 1.2 - enhanced authentication & encryption HTTP 1.1 support (includes outbound API & URIMAPs)
CORBA 2.3 stateless objects CORBA 2.3 stateless objects
CORBA IIOP
JNDI z/OS
Serv er
tnameserv
CICS TS
J2EE RMI/IIOP
EJB
Client
SQ L/JDBC
DB2
JCICS COBOLCCI
Prog
PL/I Program
EXCI SQ L/JDBC
Client COBOL Prog Java
DPL Program
•Allocated to
a tas k
Availabl e for
reuse Allocate JVM from set by
J8 TCB J9 TCB
match with JVMProfile and
JVM 5
EXECKEY
JVM 3
DFHJVMPR
User Key DFHJVMCD
•Allocated to
User Key
CEMT and SPI commands
a tas k JVM 4 Availabl e for
J9 TCB
USERJVM1
reuse CEMT INQUIRE JVMPOOL
J9 TCB
CICS Key
CEMT SET JVMPOOL
•Allocated to
a tas k CEMT INQUIRE JVM
J8 TCB
JVMs in CICS
Master JVM using a JM TCB
• One per CICS region
• Can be started at CICS startup
• Initializes and owns the shared class cache and JIT compiled code
Worker JVM using J8/J9 TCBs
• Run Java applications and continuously reused
• Uses the classes loaded in the shared class cache
• Working storage for objects, static variables and non-shareable
classes
• Reduced storage footprint, startup time, and time for JVM reset
Activated via CLASSCACHE=YES in JVM Profile
Shared
JVM 6 class
JVM 10
cache
USERJVM2
CICS Key
DFHJVMPC
User Key SIT Parameters
Availabl e for
•Allocated to JVMCCSIZE=xx
a tas k Master
reuse
J9 TCB JVM JVMCCSTART=AUTO|YES|NO
J8 TCB
DFHJVMCC
User Key
JVM 9 JVM 7
USERJVM1 DFHJVMPC
CEMT and SPI Interface
JM TCB
CICS Key User Key
CEMT PERFORM CLASSCACHE
•Allocated to JVM 8 Availabl e for
a tas k reuse CEMT INQUIRE CLASSCACHE
DFHJVMPR
J8 TCB User Key J9 TCB
CEMT SET CLASSCACHE
•Allocated to
a tas k
J9 TCB
JVM has single heap structure and does not undergo reset
processing
Create JVM Prog 1 Destroy JVM … Create JVM Prog n Destroy JVM
Reinitialized
on Reset
A NYHEAP(4K,8176,,A NY,FREE)
BELOWHEA P(4096,2048,FREE)
HEA P(4M,1M,A NY,FREE,0K,4080)
CICS LIBS(8,900,FREE) LE
STACK(128K,128K,A NY,KEEP)
STORA GE(,,,0K)
<AF[7]: Allocation Failure. need 16400 bytes, 770 ms since last AF>
<AF[7]: managing allocation failure, action=3 (114624/9697792)>
<GC(8): need to expand mark bits for 13761024-byte heap>
<GC(8): expanded mark bits by 63488 to 215016 bytes>
<GC(8): need to expand alloc bits for 13761024-byte heap>
<GC(8): expanded alloc bits by 63488 to 215016 bytes>
<GC(8): need to expand FR bits for 13761024-byte heap>
<GC(8): expanded FR bits by 126976 to 430036 bytes>
<GC(8): expanded heap by 4063232 to 13761024 bytes, 30% free>
<AF[7]: completed in 1 ms>
<AF[7]: Allocation Failure. Need 524 bytes, 1894 ms since last AF>
<AF[7]: managing allocation failure, action=3 (1962672/3471872)>
<GC(53): GC cycle started Fri Jun 6 07:13:12 2003
<GC(53): freed 114688 bytes from Transient Heap 96% free (507376/523776) and>
<GC(53): freed 247144 bytes, 62% free (2078744/3340800), in 6 ms>
<GC(53): mark: 5 ms, sweep: 1 ms, compact: 0ms>
<GC(53): refs: soft 0 (age <= 32), weak 0, final 0, phantom 0>
<AF[7]: completed in 7 ms>
In Summary
CICS continues to extend support for Java workloads
CICS options
• WORK_DIR – location of this regions home directory
• STDIN, STDOUT, and STDERR
• CLASSCACHE setting
• JVM Reset values: REUSE={YES|NO|RESET}
Java options
• JVMPROPS – HFS file containing JVM properties
• Storage Heap settings