turbo tpf scripting engine - t2se for ibm alcs

20
Turbo TPF Scripting Engine T2SE Najmi Mansoor Ahmed Principal Architect PSS (IBM ALCS v241 under z/OS 2.1)

Upload: najmi-mansoor-ahmed

Post on 09-Feb-2017

104 views

Category:

Technology


12 download

TRANSCRIPT

Page 1: Turbo TPF Scripting Engine - T2SE for IBM ALCS

Turbo TPF Scripting EngineT2SE

Najmi Mansoor AhmedPrincipal Architect PSS (IBM ALCS v241 under z/OS 2.1)

Page 2: Turbo TPF Scripting Engine - T2SE for IBM ALCS

Fact

Over many decades, IT organizations have invested billions of dollars in business logic and data housed in mainframes and within the environment.

Despite the age of these systems, the mainframe and ALCS/TPF continue to provide the most scalable, reliable, and cost-effective platform upon which to conduct critical business operations.

Page 3: Turbo TPF Scripting Engine - T2SE for IBM ALCS

A Typical Business Transaction

Page 4: Turbo TPF Scripting Engine - T2SE for IBM ALCS

I don’t know what you

are talking

No. Talk in my

language

Entire world understand me why I learn your language

I am the future

You are nothing

without me

The language barrierI don’t know either what

you are talking

Talk in my language

Learn my language

I am the future

No. You are nothing

without me

Page 5: Turbo TPF Scripting Engine - T2SE for IBM ALCS

How to solve this language barrier

Today's business environment requires an IT solution that will transform existing systems into flexible building blocks to enable a component-based, process-centric, and cross-platform integration environment.

Page 6: Turbo TPF Scripting Engine - T2SE for IBM ALCS

How to solve this language barrier

Mainframe to learn other languages Non-mainframe systems to learn mainframe

commands/entries Build an interpreter

By adding an integration platform based on a service-oriented architecture, organizations can unlock critical mainframe resources and leverage data and business logic as services, allowing an organization to create a more flexible, dynamic, and agile infrastructure .

Page 7: Turbo TPF Scripting Engine - T2SE for IBM ALCS

Challenge

The challenges presented by most current approaches is to implement Web services to integrate with the mainframe 

Page 8: Turbo TPF Scripting Engine - T2SE for IBM ALCS

I don’t know what you

are talking

No. Talk in my

language

Entire world understand me why I learn your language

I am the future

You are nothing

without me

The language barrierI don’t know either what

you are talking

Talk in my language

Learn my language

I am the future

No. You are nothing

without me

Interpreter

Page 9: Turbo TPF Scripting Engine - T2SE for IBM ALCS

The language barrier

Interpreter

Page 10: Turbo TPF Scripting Engine - T2SE for IBM ALCS

Turbo TPF Scripting Engine T2SE

Interpreter

T2SE

Page 11: Turbo TPF Scripting Engine - T2SE for IBM ALCS

The solution Turbo TPF Scripting Engine – T2SE

• Uses IBM’s MQ bridge• Creates transparency layer around ALCS applications• Interface based on structure data• Translates formats from/to XML• New functionalities to end users without changes to ALCS

applications• Script can be created by non-ALCS programmers• Decode / encode SOAP messages format • Script repository

Page 12: Turbo TPF Scripting Engine - T2SE for IBM ALCS

Turbo TPF Scripting Engine T2SE

T2SE

Mainframe LPAR

ALCS

Application

Server / Middle ware

Page 13: Turbo TPF Scripting Engine - T2SE for IBM ALCS

The Solution

Application

Request

Response

Server / Middle ware

Mainframe LPAR

T2SE scripting engine

Application

ALCS

SOAP XML over MQ / TCPIP

Request

Response

Script Data base

SOAP XML

Page 14: Turbo TPF Scripting Engine - T2SE for IBM ALCS

Script Maintenance and de-bugging

Application

Request

Response

webservice

Mainframe LPAR

T2SE scripting engine

Application

ALCS

SOAP XML over MQ / TCPIP

Request

Response

Script Data base

Syntax / debugger / s

tep / save

T2SE script editor

SOAP XML

Session Manager

(ALCS App)

Page 15: Turbo TPF Scripting Engine - T2SE for IBM ALCS

Service bus integration

Application

Request

Response

Server / Middle ware

Mainframe LPAR

T2SE scripting engine

Application

ALCS

SOAP XML over MQ / TCPIP

Request

Response

Script Data base

Syntax / debugger / s

tep / save

T2SE script editor

SOAP XML

ESB

JSON/REST

SOAP

SOAP XMLSession Manager

ALCS APP

Page 16: Turbo TPF Scripting Engine - T2SE for IBM ALCS

Service bus integration

Application

Request

Response

Webservice

Mainframe LPAR

T2SE scripting engine

Application

ALCS

Request

Response

Script Data base

Syntax / debugger / s

tep / save

T2SE script editor

ESB

XML

SOAP

SOAP XML

Session Manager

ALCS APP

JSON

SOAP

Page 17: Turbo TPF Scripting Engine - T2SE for IBM ALCS

Script data base in ALCSUSCR0005I 09.12.26 Script Database

Script GRP V Script Description

Name S No.

MKMQUEUE RES 0 000008 MICKY MOUSE QUEUE 21/12/04 18.38

MKMDISPLY RES 0 000009 MICKY MOUSE display driver 28/03/13 09.43

MKMDISPLY RES 9 000009 MICKY MOUSE display driver 06/07/10 16.34

MKMZUKAR TCH 0 000010 MICKY MOUSE HELP FILE 07/10/13 09.40

MKMZUSCR TCH 0 000011 MICKY MOUSE help 09/12/03 15.55

MKMZUSEC TCH 0 000012 MICKY MOUSE help 09/12/03 15.55

MKMZUTXR TCH 0 000013 MICKY MOUSE help 09/12/03 15.58

MKMUPDATE RES 0 000014 MICKY MOUSE MODIFICATION 06/12/16 19.16

Scripts Average Size Unit1 12,367 bytes

Page 18: Turbo TPF Scripting Engine - T2SE for IBM ALCS

Sample Script code

*----------------------------* * START OF MAIN SCRIPT CODE * *----------------------------* * PARSING / VALIDATION OF THE INPUT XML MESSAGE * *-----------------------------------------------* ))''INPUTMSG''&&V&&F001001SYS=&&R''IND_SYSTEM''&&V''SYSTEM''001006004<< MOVE SYSTEM CODE))''INPUTMSG''&&V&&F000000TYP=&&R''IND_RQTYPE''&&V''RQTYPE''001006006<< MOVE REQUEST TYPE))''INPUTMSG''&&V&&F000000<RLC)&&R''IND_RLOC''&&V''RLOC''001006$<$<< MOVE RECORD LOCATOR ))IF''IND_SYSTEM''=FALSE&&C<< IF SYESTEM CODE NOT FOUND ))GOTOERR_01&&C<< SEND ERROR MESSAGE BACK ))ENDIF&&C<< ))IF''IND_RQTYPE''=FALSE&&C<< IF REQUEST TYPE NOT FOUND ))GOTOERR_02&&C<< SEND ERROR MESSAGE BACK ))ENDIF&&C<< ))Y&&V&&V''RTRVL''001001EOM<< INDICATE RETRIEVAL OF MOUSE REQUIRED ))IF''SYSTEM''='‘MICKY MOUSE''&&C<< More...

<RQMSG SYS=“MICKY MOUSE"><RQ TYP="DISMICKY" NBR="1">

<RLC>MOUSE</RLC></RQ>

</RQMSG>

Page 19: Turbo TPF Scripting Engine - T2SE for IBM ALCS

Source Systems

Www.Airline.come

Travel Assistant System

ALCS

RESERVATION Application

T2SE scripts

Application interface GUI

Multiple MQs based on systems or functionalities

ESB

Session manager ALCS Applications

Business integrity system

DEPARTURE Control

Application

TCP/IP for HTTP

JSON/REST

SOAP XML

Typical integration

Page 20: Turbo TPF Scripting Engine - T2SE for IBM ALCS

Conclusion Turbo TPF Scripting Engine, an innovative solution widely

known as T2SE scripting tool, facilitates high performance transaction capabilities with ALCS-based reservations and departure system, delivering booking, fare and availability to B2C interfaces and other satellite applications.

It offers structured data interface with ALCS by building transparency layer around, hides ALCS application's syntax/format dependencies and extends new functionalities to end users without changes to ALCS applications.

Script can be created by non-ALCS / non-assembler programmers thus brings in agility and shrinking time to market for interface and/or integration associated solutions.