160 likes | 458 Views
The Future of COBOL. Debra L. Chapman Spring 2001. Isn’t COBOL Dead???. 200 Billion Lines of Existing Code 2-5 Billion New Lines Each Year 60% of the World’s Code 9.5 Million Applications 2.5 Million Programmers. COBOL ?????. Y2K Bug?. A Design Deficiency
E N D
The Future of COBOL Debra L. Chapman Spring 2001
Isn’t COBOL Dead??? • 200 Billion Lines of Existing Code • 2-5 Billion New Lines Each Year • 60% of the World’s Code • 9.5 Million Applications • 2.5 Million Programmers COBOL ?????
Y2K Bug? • A Design Deficiency • Showed the Robustness of COBOL Applications • Encouraged the Development of Additional Enhancements and Extensions
New COBOL Functionality • Reuse of Existing Applications • Supports a GUI approach • Access on Remote Servers • Run COBOL Applications from Web Site • Supports OOP • Goal: Dedication to Making COBOL run on ANY Platform
Net Express Software • Object Z Publishing • Educational Grant • University Edition • COBOL IDE to Focus On: • User Interface Redesign • Defragmentation of Applications • Extension of Application Functions
Net Express A Development Tool • Language for Development is COBOL • Comparable to other IDE’s • Easy to Use • Powerful • Debugger • Internet Application Wizard • Form Designer • Script Assistant • Event Handlers • Validation Functions
Basic Components of A Web Based COBOL Application • HTML Screens • One Input Screen, Multiple Output Screens • Generate CGI • COBOL with Embedded HTML • Can be Modified as Needed • Web Shares for Application Portability
CGI Development • Server-Side Program written in COBOL • Generated from CGI Template • Name/Value Pairs will Carry Over from Input Screen to Output Screen • Must Supply code for the Process-Business-Logic section • Symbol Use Limitations
Application Development Options • Symmetrical Applications • Asymmetrical Applications • Multiple CGI’s • Hidden Inputs (passwords, carry over values) • Cookies
Legacy COBOL Code • Conversion to Web Based • Based on Typical File Access • Application Wizard creates • Input Page • Output Page • Basic CGI • Additional Capabilities • Subroutine reuse • Data Validation (JavaScript)
Accessing Relational Databases • HTML Screens for Existing Database • SQL Wizard • SQL Server Access • ODBC Connections using Embedded SQL statements in the COBOL Code • Translated at Compile-Time • Allows for Adds, Updates, Deletions in Database
Sample Application • In-Class Instructional Project – Video Rental Database Customer Inventory Rents Checks Rental Information
The Future of COBOL? “COBOL is as strong today as it ever has been” “It will continue to be around for many, many years to come” Dr. Pamela Coker CEO Acucorp, Inc.
References • Price, Wilson; Elements of COBOL Web Publishing, Object Z Publishing, 1999 • Coker, Dr. Pamela; “A View from the Top”; CobolReport, 1999. • Yancey, Todd; “COBOL is the Enterprise”; CobolReport, 1999. • Software Productivity Research Inc. 1998 data • Mistry, Suketu; Student Project, Fall 2000