CSKL - CICS Serves, Knowing Legacy is still making most
Download
Report
Transcript CSKL - CICS Serves, Knowing Legacy is still making most
CSKL - CICS Serves, Knowing Legacy (is
still making most profit for the organization).
How Nat System switched from APPC over SNA to sockets
over TCP/IP for the communication between client
(Windows application) and server (CICS on z/OS), using the
IBM-provided CSKL listener transaction by implementing a
"child server" process, thereby leveraging its original threetiered separation-of-concern approach. Advantages and
drawbacks of short-living TCP connections used in this
approach. Set-up and configuration of the CSKL.
© GFI [ THE
e-PROCESS COMPANY ]
Agenda
•
•
•
•
Who am I and where do I come from?
NatStar is just as dead as the mainframe ;-)
CICS and TCP/IP
What did we use it for and how?
© GFI [ THE
e-PROCESS COMPANY ]
GFI-Adelior
[ THE
e- PROCESS COMPANY ]
WELKOM - BIENVENUE WELCOME
© GFI [ THE
e-PROCESS COMPANY ]
History
Aquisition NAT Systems Withdraw from Europe
COGNICASE (CAN)
1998 1999 2000 2001 2002
NAT SYSTEMS (FR)
EMD
1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998
Application Engineering
Project Development
Integration into
Adelior
Java / J2EE
adelior benelux
1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004
1993
2006
ADELIOR (FR)
© GFI [ THE
e-PROCESS COMPANY ]
2002
2006
GFI
What we do
• Information systems: designing and building,
integration and implementation - the whole system
life cycle
• Manage large and complex projects
• BPM
• Technologies: Java, web services, web semantics,
Client/Server...
• Infrastructure services: Linux, Microsoft
• Business intelligence: BO, Cognos…
• Application software solutions: accounting, time
e
management...
© GFI [ THE
-PROCESS COMPANY ]
NatStar Development
Environment
NCL
Information
Modelling
Process
Modelling
API
Repository
© GFI [ THE
GUI
Builder
e-PROCESS COMPANY ]
Separation of concern
Application
uses
Communication
© GFI [ THE e-PROCESSServices
COMPANY ]
DBMS Services
Data
Services
Application
Services
Presentation
Services
GUI Services
Operating System Services
Generation
•
•
•
•
NCL for all Application Objects
Generation of ANSI C code
Specific to target platform
Compilation on required targets
Code
Desktop to Mainframe
© GFI [ THE
e-PROCESS COMPANY ]
CICS TCP/IP
• Different flavours nowadays
• We use “TCP/IP Socket Interface for CICS”
– “Vanilla” TCP socket programming
© GFI [ THE
e-PROCESS COMPANY ]
Listener
• CSKL - The Concurrent Server
• Child Servers
CICS
Client
– Take Socket
CSKL
Client
Child servers
Client
© GFI [ THE
e-PROCESS COMPANY ]
EBCDIC
• Extended Binary-Coded-Digit Interchange
Code
• Code Pages
• Little/Big Endian
• Data Conversion is an issue
© GFI [ THE
e-PROCESS COMPANY ]
The way to the forum...
zOS
VTAM
CICS
NT
DSNC
CSKL
2 start tran
0 connect
1 trancode
Client application
3 give socket
4 take socket
NSW2COMT
NSCOM.INI
NSSIPTS2
DB2
9 EXEC CICS RETURN
6 EXEC CICS LINK
TCP/IP
stack
5 question
THINGCOM
TCP/IP stack
8 Return
7 Things_Register_Library
10 reply
11 disconnect
Server application library
Libraries
NSW2TCPX
Classes
© GFI [ THE
e-PROCESS COMPANY ]
Short-living TCP connections
+ Perfect match for short-living transactions
+ Eliminates effect of user “think-time”
+ Great for automatic fail-over
+ Server is stateless
- Server is stateless
- Overhead of connection set-up
- “TIME_WAIT”
© GFI [ THE
e-PROCESS COMPANY ]
Set-up & Configuration
•
•
•
•
EZAC
Define resources (mainly the listener)
Tuning (RTFM!)
Default values are not too bad
© GFI [ THE
e-PROCESS COMPANY ]
Some resources
• The listener
– CSKL Transaction
– EZACIC02 Program
• Configuration
– EZAC Transaction
• Operation
– EZAO Transaction
• netstat
© GFI [ THE
e-PROCESS COMPANY ]
Hints & Tips
• Design is ever so important
• Know what to expect both ways
• RTFM!
© GFI [ THE
e-PROCESS COMPANY ]
The F...ine Manual
z/OS Communications Server
IP CICS Sockets Guide
Version 1 Release 5
Document Number SC31-8807-02
Program Number 5694-A01 and 5655-G52
• That’s in the Communications Server Bookshelf
© GFI [ THE
e-PROCESS COMPANY ]
Questions
•
•
•
•
•
•
•
Questions?
Comments?
Remarks?
Thoughts?
Considerations?
Issues?
Anxieties?
© GFI [ THE
e-PROCESS COMPANY ]