24
This is the first peek at the soon to be released CICS® emulation environment for Linux®, UNIX®, and Windows®. Built to be friendly to mainframe programmers and UNIX® system administrators, OpenKicks takes a fresh look at emulating CICS® on UNIX®. Four concepts set OpenKicks apart from other emulation environments: * Available source code to allow on-site customization/extension. * Built on a database for trusted data integrity. * Good support vendor support to avoid compiler and database 'lock-in.' * Backward compatible to allow painless porting back to the mainframe. OpenKicks is a product of Replatform Technologies, LLC and not affiliated with IBM®. IMPORTANT NOTE: This presentation has several demos which do not convert well to slides. If you are unable to attend the presentation, please contact me to arrange another time. OpenKicks: The CICS® API on Linux

Open Kicks Print

Embed Size (px)

Citation preview

Page 1: Open Kicks Print

This is the first peek at the soon to be released CICS® emulation environment for Linux®, UNIX®, and Windows®.

Built to be friendly to mainframe programmers and UNIX® system administrators, OpenKicks takes a fresh look at emulating CICS® on UNIX®.

Four concepts set OpenKicks apart from other emulation environments:

* Available source code to allow on-site customization/extension. * Built on a database for trusted data integrity. * Good support vendor support to avoid compiler and database 'lock-in.' * Backward compatible to allow painless porting back to the mainframe.

OpenKicks is a product of Replatform Technologies, LLC and not affiliated with IBM®.

IMPORTANT NOTE: This presentation has several demos which do not convert well to slides. If you are unable to attend the presentation, please contact me to arrange another time.

OpenKicks: The CICS® API on Linux

Page 2: Open Kicks Print

OpenKicks: The CICS API on Linux

Michael PotterReplatform Technologies, LLC

Page 3: Open Kicks Print

OpenKicks

OpenSource?

Page 4: Open Kicks Print

Designed to port back to mainframe

• Round trip conversion.

• Good for development.

• What fails on mainframe fails in OpenKicks.

• What succeeds on mainframe succeeds in OpenKicks.

• What is unpredictable behavior on mainframe, fails in OpenKicks.

Page 5: Open Kicks Print

COBOL Programmer Friendly.

• Debugging features:

• Electric Fence (memory debugger).

• MicroFocus Animator support.

• core dumps.

• Easy to read logs.

Page 6: Open Kicks Print

UNIX sysadmin Friendly

• Sits on top of a database.

• Every transaction runs as a fresh independent process.

• Every transaction runs as the user who owns the process.

• Region can be described as daemon processes and file structures.

Page 7: Open Kicks Print

Enterprise Friendly

• Choice of compiler.

• Choice of database.

• Structured to allow one region to run on multiple machines.

• TN3270 Protocol.

• Web interface for configuration.

• Structured for continuous uptime.

Page 8: Open Kicks Print

Database

okstartdok3270d

okruntranoktcpd

okidcamsokimportokexport

abstraction

Page 9: Open Kicks Print

Demo of ok3270d

Page 10: Open Kicks Print

COBOLAIX Linux zLinux

MicroFocus

OpenCOBOL

IBMCOBOL

A - Actively DevelopedT - TestedC - Committed and Confidentc - Committed, not ConfidentW - Willing and Confidentw - Willing, not Confidentn - Not Supported

A

A

n nT

CC

C C

Page 11: Open Kicks Print

COBOLAIX Linux zLinux Win Solaris HPUX OS X

MicroFocus

OpenCOBOL

IBMCOBOL

Fujitsu

AccuCOBOL

WC

C W

nnT

A

A

n n n n

n

n

n

n n n

w w w w ww

C

C

c

C C

C C

CW W

Page 12: Open Kicks Print

compile diagram

src/cbl/INVMENU.cbl src/bms/MENMAP.bmssrc/cpy/MENCPY.cpy

bms/MENMAP.load

srcpp/cpy/MENMAP.cpy

lib/INVMENU.so

srcpp/cbl/INVMENU.cbl

okcbl okasm

okasmcob

Page 13: Open Kicks Print

src/cbl/INVMENU.cbl

src/bms/MENMAP.bms

src/cpy/MENCPY.cpy

src/rdo/INSTALL.rdo

src/data/CUSTOMER.s39

standardized zip file

src/bat/NUMEDIT.cbl

Page 14: Open Kicks Print

Demo of mass compiling

Demo of changing a map

Page 15: Open Kicks Print

BMS is just assembler COPY COLORSG GBLC &MODE GBLC &N COPY COLORSS&MODE SETC 'INOUT'&N SETC '1' AIF ('&SYSPARM' EQ 'MAP').INLOAD&MODE SETC 'IN'.INLOAD ANOP*MAPSET&N DFHMSD TYPE=&SYSPARM, C MODE=&MODE, C LANG=COBOL, C CTRL=FREEKB, C STORAGE=AUTO, C EXTATT=YES, C TIOAPFX=YES.RERUN ANOPTHEMAP&N DFHMDI COLUMN=1, C HEADER=NO, C JUSTIFY=FIRST, C LINE=1, C SIZE=(22,80), C COLOR=DEFAULT TOPLINE VERSION='1'PROG&N DFHMDF POS=(04,10), C LENGTH=8,INITIAL='........',ATTRB=FSET, C COLOR=&CLRKEYBIGMSG&N DFHMDF POS=(06,01),OCCURS=3, C LENGTH=20,INITIAL='....................',ATTRB=FSET, C COLOR=&CLRNRMSMLMSG&N DFHMDF POS=(05,22), C LENGTH=6,INITIAL='......',ATTRB=FSET, C COLOR=&CLRNRM AIF ('&SYSPARM' EQ 'MAP').GOEND AIF ('&N' EQ '2').GOEND&N SETC '2' AGO .RERUN.GOEND ANOP DFHMSD TYPE=FINAL END

Page 16: Open Kicks Print

Demo of oktcpd

Page 17: Open Kicks Print
Page 18: Open Kicks Print

VSAM emulated in Database

123456CARAUL

112233CAANNE123455OHCHRIS

CA

123456

112233OH123455CA

Primary Alternate Data

Page 19: Open Kicks Print

Demo of okidcams

Page 20: Open Kicks Print

Intended to be extended

• Primarily C

• POSIX C as extensively as possible

• Coding standard is enforced so there is no “Cowboy Code”.

• Instructions for anticipated maintenance.

Page 21: Open Kicks Print

Demo: Steps to extend OpenKicks

Page 22: Open Kicks Print

Improvements continue

• Implement hot-patch subsystem.

• Dramatically expand regression tests.

• Implement thread “unsafe” code finder.

Page 23: Open Kicks Print

Do you want to help?

• Send sample code to me.

• Ask me to port your application.

• Discuss your concerns with me.

• Give me access to hw and sw.

Page 24: Open Kicks Print

Michael Potter

Replatform Technologies, LLC

+1 630 926 8133 [email protected]

Call or email during the conference.