© gfi [ the e -process company ] cskl - cics serves, knowing legacy (is still making most profit...

18
© GFI [ THE e-PROCESS COMPANY ] CSKL - C ICS S erves, K nowing L egacy (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 three-tiered separation-of- concern approach. Advantages and drawbacks of short-living TCP connections used in this approach. Set- up and configuration of the CSKL.

Upload: taylor-leach

Post on 26-Mar-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

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 three-

tiered separation-of-concern approach. Advantages and drawbacks of short-living TCP connections used in this

approach. Set-up and configuration of the CSKL.

Page 2: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© 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?

Page 3: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

GFI-Adelior

[ THE[ THE ee- PROCESS- PROCESS COMPANY ]COMPANY ]

WELKOM - BIENVENUE - WELCOME

Page 4: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

History

adelior benelux

2006

2006

Java / J2EE

GFI

EMD1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998

1998 1999 2000 2001 2002

2002

NAT SYSTEMS (FR)

COGNICASE (CAN)

ADELIOR (FR)

19941993

1995 1996 1997 1998 1999 2000 2001 2002 2003 2004

Aquisition NAT Systems

Application Engineering Project Development

Withdraw from Europe

Integration into Adelior

Page 5: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

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

management...

Page 6: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

NatStar Development Environment

InformationInformationModellingModelling

ProcessProcessModellingModelling

GUIGUIBuilderBuilder

RepositoryRepository

AP

IA

PI

NCLNCL

Page 7: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

Separation of concern

Application

uses

Pre

sen

tati

on

S

ervi

ces

Dat

a S

ervi

ces

Ap

plic

atio

n

Ser

vice

s

GU

I Ser

vice

s

DB

MS

Ser

vice

s

Operating System Services

Communication Services

Page 8: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

Generation

• NCL for all Application Objects• Generation of ANSI C code• Specific to target platform• Compilation on required targets

Code

Desktop to Mainframe

Page 9: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

CICS TCP/IP

• Different flavours nowadays

• We use “TCP/IP Socket Interface for CICS”– “Vanilla” TCP socket programming

Page 10: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

Listener

• CSKL - The Concurrent Server

• Child Servers– Take Socket

CICS

Client

CSKL

Child servers

Client

Client

Page 11: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

EBCDIC

• Extended Binary-Coded-Digit Interchange Code

• Code Pages

• Little/Big Endian

• Data Conversion is an issue

Page 12: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

Client application

NSW2COMT

NSW2TCPX

TCP/IP stack

NT

VTAM

TCP/IP stack

DB2

CICS

CSKLDSNC

NSSIPTS2

THINGCOM

Server application library

Libraries Classes

zOS

NSCOM.INI

0 connect1 trancode

2 start tran

3 give socket4 take socket

5 question6 EXEC CICS LINK

7 Things_Register_Library8 Return

9 EXEC CICS RETURN

10 reply11 disconnect

The way to the forum...

Page 13: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© 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”

Page 14: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

Set-up & Configuration

• EZAC

• Define resources (mainly the listener)

• Tuning (RTFM!)

• Default values are not too bad

Page 15: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

Some resources

• The listener– CSKL Transaction– EZACIC02 Program

• Configuration– EZAC Transaction

• Operation– EZAO Transaction

• netstat

Page 16: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

Hints & Tips

• Design is ever so important

• Know what to expect both ways

• RTFM!

Page 17: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

The F...ine Manual

• That’s in the Communications Server Bookshelf

z/OS Communications Server

IP CICS Sockets Guide

Version 1 Release 5

Document Number SC31-8807-02

Program Number 5694-A01 and 5655-G52

Page 18: © GFI [ THE e -PROCESS COMPANY ] CSKL - CICS Serves, Knowing Legacy (is still making most profit for the organization). How Nat System switched from APPC

© GFI [ THE e-PROCESS COMPANY ]

Questions

• Questions?

• Comments?

• Remarks?

• Thoughts?

• Considerations?

• Issues?

• Anxieties?