140 likes | 292 Views
EP107 Sybase XJS/390 MScript Rapid Access to Mainframe CICS Resources. Dan Smith XJS/390 Architect Enterprise Solutions Division dsmith@sybase.com. Extracting data to web applications. Existing methods: CICS Web Interface 3270 Bridge FEPI “Screen Scraping”.
E N D
EP107Sybase XJS/390 MScript Rapid Access to Mainframe CICS Resources • Dan Smith • XJS/390 Architect • Enterprise Solutions Division • dsmith@sybase.com
Extracting data to web applications. Existing methods: CICS Web Interface 3270 Bridge FEPI “Screen Scraping”. These methods have major flaws: Dependency on existing CICS applications. Requires a CICS programmer to modify returned data. VSAM and DB2 data is treated differently. The Problem
Your client-side/web developers could obtain their own data? Changes in business requirements did not require modifications in CICS application code? Data from diverse sources such as DB2 and VSAM could be returned in one cohesive unit? What if -
XJS/390 supports: Mainframe Script (“MScript”) - Javascript like syntax. Access to DB2 tables and VSAM datasets. CICS Temp Storage support. MQ Series support. Access to existing CICS application programs. User Defined Objects - Roll your own. The answer: Sybase XJS/390!
Example:Extract data from a VSAM file described by a COBOL copybook:
The XJS/390 development client:All tasks can be done by the client-side developer Download the copy member with the FTP tool:
Convert the copy member to an MScript map object description:
MScript functions are deployed by using the “Build RPC” function of the GUI tool. This creates a standard SYBASE RPC that can be executed by applications created with SYBASE development tools such as: JConnect Open Client Enterprise Portal Deploying the script
Additional Mainframe Platforms – “Native” OS/390 region. IMS MScript – External function calls. MQ Series “trigger support”. CICS Transient Data support. CICS “Function Shipping”. API to allow user created objects HTTP as a protocol Future Enhancements
Future Enhancements Development Client – • Toolbar. • Improved Debugging. • Multithreading of mainframe requests. • Popup Menus. • Status bar with line/column indicator. • New Rad objects. • MScript syntax editing. • XML syntax editing. • Microsoft Com Object