150 likes | 326 Views
T PF to T PF F unction S erver ( zTTFS ) Overview. The Problem. z/TPF transactions aren ’ t simple They involve multiple systems and networks And the transactions need to access data from remote resources for successful completion Example:
E N D
The Problem • z/TPF transactions aren’t simple • They involve multiple systems and networks • And the transactions need to access data from remote resources for successful completion • Example: • Middle of the reservation transaction – we need Credit card authorization • Need to send data (credit card number, name, expiry date etc.) • Need to receive data (authorization code)
The Solution • Allows Client VPARS to communicate with Server VPARS – which has access to the network • Without special scheduling • Without changing test systems TPF to TPF Function Server T S F T S T F T
Benefits of zTTFS • End-users don’t have to compete for systems that have connectivity • z/TPF installations with zTTFS can provide N number of client VPARS with unlimited external connectivity without any physical network attached • zTTFS provides ability to share critical network resources across multiple VPARS
z/TPF System request response Current Transaction Flow External System Reservation transaction – which requires Credit Card authorization in the middle Complete Reservation Initial Reservation Credit Card Authorization
Client 1 Server zVM Repository High Level Overview External System • Configuration tables from repository copied to client and server • Transaction initiated • Check Intercept table for condition • If condition is satisfied send the request to Server • Server processes the request • Response is sent to client & transaction completes • Response to user
Developer VPARS Server zVM VPARS Client 1 Repository High Level Overview: Request-Reverse Context Table External System
Specifications • Client VPARS connects to Server VPARS • Server VPARS connects to all external networks • zTTFScode executes on the client VPARS and the Server VPARS • User exits provided for customization
Configuration Tables • Configuration tables are required to control the Message traffic flow between client and server VPARS. • Using configuration tables customer can specify certain rules to control message traffic at different layer of message traffic
Configuration Tables • Intercept Name Table • Name of the intercept • Scripts to be invoked • Owner VPARS • Destination VPARS • Conditions to be satisfied • Example: R9 + 100 + 300 + 500 = C’BA’ • Resides in centralized repository (zVM) Intercept Table 1 Intercept Table n
Configuration Tables • Script Name Table • Name of the script • Segment to be invoked in z/TPF • Resides in centralized repository (zVM) Script Table
Scripts • Once the message traffic is intercepted in client, Scripts are required to exchange relevant data between client and server, before we continue to run the transaction in server or VISA VERSA • Scripts are unique and can be coded to cater for specific message traffic • Scripts are to be coded at the customer place • Scripts have the capability to exchange: • Data block • Data in ECB memory • Data from heap memory • File and file chain • User exits (extensions) provided at the time of send and receive part of the script
Script Structure VPARS Server Send Data Level Set Data Level VPARS Client Send Heap Set Heap Set File Chain Send File Chain
Client Requirement • Subject Matter Expertise • Knowledge of current intercepts • What needs to be sent across • What needs to be received • Etc. • List of Intercepts • Program / Macro to intercept • Data to send the other side • Conditions to trap the intercept