Cobol

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

Business application development

and runtime environment


The COBOL2002 Family

All Rights Reserved. Copyright ©2005, Hitachi, Ltd.


Dynamic Advancement and
Proven Reliability -
The Dual Strengths of COBOL2002
Making optimum use of legacy assets while actively creating new values -- these dual objectives
can be fully realized with COBOL2002. In today's world of ever-evolving business systems, this
capability makes the crucial difference. Hitachi's COBOL2002 supports the specifications of the
latest fourth International Standard for COBOL while inheriting Hitachi COBOL85 that has been
used for many years. Valuable resources such as existing COBOL source code and the skills of
trained COBOL developers can be fully applied.
Through features such as Java™ and XML interoperability, COBOL provides improved support
for Web application development. Interoperability with the collaborative E-business integration
platform Cosminexus and the Integrated systems management Job Management Partner 1 is also
available. Hitachi's advanced and reliable COBOL2002 meets the individual requirements of
your business.

Governments
Government services
Electronic applications
Electronic tender

Clearance
Centers Business
Linking and integrating business processes Partners
Electronic payment
Sales B-to-B

COBOL2002
Development of mission-critical One-stop services
applications (business logic) Intranet
Web system construction B to E B to B
Non-stop businesses Internet
Departments G to B
ERP CRM B to C Homes
and Individuals
EC SCM G to C
Online shopping
Net surfing
ASP/ISP
ASP: Application Service Provider
CRM: Customer Relationship Management
EC: Electronic Commerce
ERP: Enterprise Resource Planning Virtual Malls
ISP: Internet Service Provider
SCM: Supply Chain Management B: Business
C: Consumer
E: Employee
G: Government

1
COBOL2002: Highly advanced

Supporting the specifications of the fourth International Standard for COBOL (the COBOL2002 standard)

COBOL2002 pioneered the support of specifications of the revised International Standard for COBOL published in 2002, and
supports the new principal features of the COBOL2002 standard, including object orientation, conditional compilation, and user-
defined data types, that help improve development efficiency.

Web technology support


Interoperability with the latest Web technology such as JavaTM and XML is provided as a non-optional feature. This enables
COBOL applications to seamlessly integrate with other tools and allows the development of Web applications using the highly
reliable COBOL.
XML: eXtensible Markup Language

Versatile functionality for business applications


COBOL2002 has a number of features for business applications, such as numeric operations with decimal rounding error
control, versatile string handling, and excellent runtime performance.

COBOL2002: Highly reliable

Efficient use of legacy COBOL assets


With COBOL2002, you can continue to make use of valuable assets, such as existing COBOL source code and the skills of
COBOL developers. For example, COBOL applications can be used from a JavaTM application such as a Servlet or JSPTM.

Easy-to-use development tools create a productive environment


COBOL2002 provides powerful and efficient tools, including a COBOL editor supporting the latest language specifications and a
free-form reference format, a test debugger with a new GUI that has become even easier to use, and a coverage tool that can
be invoked with the start of the application to collect coverage information in a distributed environment such as Web servers.

Standards provide future compatibility


The International Standards Organization (ISO), American National Standards Institute (ANSI), and Japanese Industry
Standards (JIS) define the COBOL language specifications, so the COBOL language specifications are not dependent on a
specific vendor. Backwards compatibility is strictly kept in the newer standards so that existing COBOL applications can always
be maintained with confidence.

2
COBOL2002 runs in a variety of
System system operation environments.
Operation
Environment Effectively use COBOL assets in
an advanced web environment.

COBOL2002 provides strong support for Web system environments


that are essential in the age of e-business.

Support for Web system environments


Java™- COBOL interoperability OpenTP1 interoperability
A Java application running on the collaborative E-business
TM
COBOL2002 can run in the Distributed Transaction Manager
integration platform Cosminexus can call a COBOL program OpenTP1 environment. This enables the development of
as a JavaBeansTM or EJBTM instance. The business logic large-scale distributed transaction processing systems in a
portion that is the core of the Web application can therefore Web environment. An application for running on OpenTP1
be developed in COBOL. can be developed using COBOL, and existing online
applications can easily be migrated to a Web environment.

Interaction with Web server


Internet

COBOL Java™ (Servlet,JSP)


application
Web browser

uCosminexus Application Server


Web
server

OpenTP1

COBOL TP1/
application Web
COBOL Web browser
application

3
COBOL2002 runs in a variety of
System system operation environments.
Operation
Environment Effectively use COBOL assets in
an advanced web environment.

Data can be exchanged between COBOL applications


on a Windows® server and client.

Support for client/server system environments


A COBOL application running on a Windows®
server and a COBOL application running on a Support for client/server environment
client can exchange data, which makes it
possible to implement effective load distribution. Server Client
By using a DBMS preprocessor or ODBC COBOL COBOL COBOL COBOL
communication server communication client
interface, the COBOL application on the client library application library application
can perform remote access to a database on
the server. Windows® server

Server
Client
Database
Preprocessor generated
UNIX® server environment
COBOL application
HiRDB, Oracle, UNIFY2000,
etc.
Windows® server environment ODBC COBOL
HiRDB, Microsoft SQL Server, interface application
Oracle, etc.

READ/WRITE COBOL
interface application

*READ/WRITE interface is for HiRDB only


UNIX® Windows® server

Batch processing operations are enabled.

Management of Batch processing operations


Using Integrated systems management Job
Management Partner 1, COBOL2002 running Operation and management using
on a UNIX® or Windows® machine can perform Job Management Partner 1
batch processing of COBOL applications.
Functions such as batch job scheduling on a
Server Client
monthly or weekly basis and large-volume
COBOL server
output of forms for efficient printer operation are application COBOL client
application
supported. Out-of-paper errors, paper jams and
other conditions are also easily managed.
UNIX® Windows® server
COBOL application
on server processes data
Job Management Partner 1
and outputs result to printer Daily/weekly processing
Job Management Partner 1
job scheduler

Printer

4
Development Features and development tools
Support that support smooth application building
Features are provided.

Support for the fourth International Standard for COBOL (the COBOL2002 standard)
leads to easier and faster program development.

Object orientation support User-defined data types


Object-oriented programming is supported, similar to C++ Data types data can be declared. You can freely define and
and JavaTM. The productivity of COBOL applications can be reference data types and easily code data items with the
improved by using universal object-oriented methods such same structure.
as inheritance, polymorphism, and encapsulation.

User-defined functions
Common exception handling
In addition to using the intrinsic functions provided by
In addition to the USE statement for conventional I/O error
COBOL, you can also define your own functions as needed.
processing, various other processing routines for handling
Using such user-defined functions in formulas results in
cases such as data exceptions and numeric size overflow
simple and highly readable applications.
can be specified. Various execution error handling routines
that used to form a large part of COBOL applications can be
separated from the logic part of the application itself, Free-form reference format
thereby improving logic readability.
In addition to the conventional fixed format, a free-form
reference format without sequence number and indicator
Compiler directives (e.g. conditional compilation) areas is also available. This enables coding in a free format
without having to be aware of column positions.
When compiling COBOL source code, special instructions
can be given to the compiler to control its behavior and the
interpretation of statements. This is convenient for
managing all descriptions of platform-specific procedures or
procedures customized for individual users in one source
program.

5
Development Features and development tools
Support that support smooth application building
Features are provided.

Construct Web systems using existing COBOL assets.

Java™-COBOL interoperability
You can use a COBOL application simply by calling
A Java TM application ( Servlet or JSP TM ) the COBOL access Bean from a Java application.
running in the Cosminexus environment can The COBOL access Bean is easily generated with a wizard that Effective use of
is part of COBOL2002 Net Developer. The only information existing COBOL assets
input that is required is the library text (COPY file) that defines
call a COBOL program as a JavaBeansTM the COBOL linkage section data items. COBOL2002 Net Server Runtime
Microsoft®
instance. A COBOL access Bean (JavaBeansTM) Development environment COBOL application runtime environment SQL Server
COBOL application
for calling the COBOL application is created COBOL
Wizard
COBOL Oracle
program Generation access
automatically by the COBOL2002 development Bean
COBOL HiRDB
environment product, which helps in COBOL2002 Net Developer
access Bean
streamlining development tasks. By using Internet COBOL access Bean
Intranet Web runtime environment
JavaTM and COBOL in tandem, systems can be server
Servlet
constructed quickly.
JSP
Web browser
uCosminexus Application Server
Web browser

XML data handling Input/output of XML data corresponding to COBOL records.


XML data can be processed as records in XML data COBOL record
COBOL programs. Your COBOL programming <Order-form> COBOL application
<Product>
know-how is sufficient to develop XML data <Product-name>Facial-soap</Product-name>
Order-form
<Number-of-units> 10</Number-of-units> Product
processing applications. Depending on the </Product> Product-name Number-of-units
application processing, the required range for <Product>
Facial-soap 10
<Product-name>Shampoo</Product-name>
XML data (arbitrary XML element) can be <Number-of-units> 5</Number-of-units> Shampoo 5
</Product> Rinse 5
matched to COBOL records. <Product>
<Product-name>Rinse</Product-name>
<Number-of-units> 5</Number-of-units>
</Product>
</Order-form> Document Type Definition file COBOL record definition
<!DOCTYPE Order-form[
<!ELEMENT Order-form(Product)*> 01 Order-form.
<!ELEMENT Product (Product-name, Number-of-units)> 05 Product OCCURS 10.
<!ELEMENT Product-name (#PCDATA)> 10 Product-name PIC X(30).
<!ELEMENT Number-of-units (#PCDATA)>]> 10 Number-of-units PIC 9(9).

COBOL-SOAP interoperability
Automatic generation of routines for
This feature provides environments for Web communication and SOAP message analysis.
service application development and
Server side (Web service provider) Client side (Web service consumer)
operation. It reduces the need of creating
COBOL server source program COBOL server source program
complex routines for communication SOAP message COBOL program for
processing and enables efficient service conversion program accessing Web service

development using COBOL. Both the server


and client applications of Web services can SOAP message conversion Data conversion program for
accessing Web service
program (generated) (generated)
be developed with COBOL.
SOAP: Simple Object Access Protocol
SOAP message
IIS*+ .NET Framework .NET Framework
(XML data)

*Microsoft Internet Information Server


6
Tools and a compiler are provided for
Development every step of the process, from panel and
Environment form design to testing and debugging.
Smooth development is supported.

Web system construction support


Integration of COBOL applications with the latest Web technology is made easy by interoperability features for Java, XML,
and SOAP. This lets you build sophisticated Web applications in a highly reliable environment.

Development manager
This is the front end for the COBOL development environment, where all tools come together. The manager lets you keep
track of development resources, display dependency structures, and control automated compiling.

Design Panel definition


CUI panels can be defined easily using panel images. From the defined panels, it is then possible to
generate the COBOL source code for WINDOW SECTION or SCREEN SECTION.

File and record definition


From the defined file and record specifications, the COBOL source code for FILE SECTION and
WORKING-STORAGE SECTION is generated.

ODBC record definition


From information about tables created by database applications, the record definition can be created,
and the resulting record definition can be used as the COPY library.

Programming COBOL manuals


Documentation such as the Language Reference, User's Guide, and Operation Guide manuals can be
accessed online. Efficient search features help speed up development work.

COBOL editor
Color highlighting of reserved terms and constants, automatic numbering, and syntax check, are just
some of the features provided by the editor that is tailor-made for COBOL. Templates for all COBOL
statements are supplied. Debugger and compiler errors are linked, to ensure efficient source editing.

Compilation Compiler
The compiler includes optimization features to get the most out of the hardware. Runtime performance
is improved, enabling the development of high-performance applications. Test command templates
can also be created easily.

Testing Test debugger


and
Debugging Simulation (for main/sub programs, files, databases, DC, etc.) and other powerful stand-alone testing
tools are provided. Batch execution enables efficient execution of high-volume test data.

Coverage
Test progress can be monitored quantitatively for easy schedule management and assessment of test
adequacy.

7
Customize your development environment
Optional for even better results.
Features
Convenient optimization features are provided.

Easily transfer current transaction processing to the Web.

Java™-TP1/COBOL interoperability*
Mission-critical transaction processing (OpenTP1) can be transformed to the Web. A JavaTM application running in the
Cosminexus environment can access an existing COBOL application in the Distributed Transaction Manager OpenTP1
server environment. Changes to your server environment or to the COBOL application are not necessary. A TP1/COBOL
access Bean (JavaBeansTM) for calling the COBOL application is created automatically by the development environment
product. Requires the separately available TP1/COBOL adaptor for Cosminexus
*
Internet
Intranet
OpenTP1 server

TP1/ uCosminexus uCosminexus


COBOL TP1 TP1/
Servlet access COBOL
Web Connector Client/J
Web browser Bean Application
server
JSP

TP1/COBOL Extended
Run Time System for
Cosminexus Version 2
uCosminexus Application Server DB

DB
Web browser Transaction synchronization is possible with 2-phase-commit

Easy-to-use libraries and utilities are provided for the Windows® environment.

Libraries and utilities for the Windows® environment


COBOL communication library Business library
A communication tool is provided using the TCP protocol. This Functions often used by business applications are provided as
makes it easy to create COBOL applications that perform data a library. This includes routines for image data processing and
exchange with applications running the other machines. Japanese character conversion (Shift-JIS to JIS and vice
versa).
Business utility
This utility provides features for file conversion (sequential to
CSV/ txt, ISAM to CSV, etc.) as well as file editing and updating.

Wide-ranging software interoperability

Various interoperability features facilitate development of


COBOL applications for Windows®.
OLE automation feature Spreadsheet software interoperability
COBOL application procedure statements can be used to Files, such as CSV format files, created by spreadsheet
control applications that support the COM interface software such as Microsoft® Excel can be handled with the
(Microsoft® Office, etc.), enabling automation of tasks such READ/WRITE statement for input and output.
as spreadsheet operations.
Multi-thread support
Database access
COBOL2002 enables the creation of applications that
By using a DBMS preprocessor or ODBC interface, access support a multi-thread environment in which parallel
to various databases such as HiRDB, Oracle, or processing places fewer demands on the hardware than in
Microsoft® SQL Server is available. a multi-process approach. This facilitates integration of
existing assets into a multi-thread environment.

8
COBOL2002 Product Information
Only the Japanese version of the COBOL2002 product is available.

COBOL2002 Program Products (for Windows®)


Product Name Outline Supported OS
Windows® Server™ 2003
Windows® 2000 Server
Development environment product consisting of the following components: COBOL2002 compiler, development manager, Windows® 2000 Professional
COBOL2002 COBOL editor, test debugger, coverage tool, ODBC record definition, panel definition, file record definition, Java™-COBOL Windows NT® 4.0 Server
Net Developer interoperability (development runtime environment), COBOL-XML interoperability (development runtime environment),
*1 COBOL-SOAP interoperability (development runtime environment), COBOL2002 runtime library, COBOL ISAM, COBOL
Windows NT® 4.0 Workstation
Windows® XP
SORT 2
* Windows® Me
Windows® 98
Runtime environment product (for PC servers) consisting of the following components: COBOL2002 runtime library, Java™- Windows® Server™ 2003
COBOL2002
COBOL interoperability (runtime environment), COBOL-XML interoperability (runtime environment), COBOL-SOAP Windows® 2000 Server
Net Server Runtime
*
3
interoperability (runtime environment), COBOL ISAM, COBOL SORT 2
* Windows NT® 4.0 Server

Windows® 2000 Professional


Runtime environment product (for PC clients) consisting of the following components: COBOL2002 runtime library, Java™- Windows NT® 4.0 Workstation
COBOL2002
COBOL interoperability (runtime environment), COBOL-XML interoperability (runtime environment), COBOL-SOAP Windows® XP
Net Client Runtime interoperability (runtime environment), COBOL ISAM, COBOL SORT 2
* Windows® Me
Windows® 98
Product suite (for PC servers) consisting of the following components: COBOL2002 compiler, development manager,
COBOL editor, test debugger, coverage, ODBC record definition, panel definition, file record definition, Java™-COBOL Windows® Server™ 2003
COBOL2002
interoperability (development runtime environment), COBOL-XML interoperability (development runtime environment), Windows® 2000 Server
Net Server Suite
**
3 4
COBOL-SOAP interoperability (development runtime environment), COBOL2002 runtime library, COBOL ISAM, COBOL
SORT 2
Windows NT® 4.0 Server
*
Product suite (for PC clients) consisting of the following components: COBOL2002 compiler, development manager, COBOL Windows® 2000 Professional
COBOL2002 editor, test debugger, coverage, ODBC record definition, panel definition, file record definition, Java™-COBOL Windows NT® 4.0 Workstation
interoperability (development runtime environment), COBOL-XML interoperability (development runtime environment), Windows® XP
Net Client Suite
*4 COBOL-SOAP interoperability (development runtime environment), COBOL2002 runtime library, COBOL ISAM, COBOL Windows® Me
SORT 2 Windows® 98
*
*1:2: To put applications into actual operation, COBOL2002 Net Client Suite or COBOL2002 Net Server Suite is required.

*3: COBOL ISAM and COBOL SORT provide ISAM and SORT functionality in a COBOL2002 environment.

*4: IfThis
multiple CPUs are installed, additional CPU licenses are required.
product can be used for development and actual operation.
*
COBOL2002 Program Products (for UNIX ® )
Product Name Outline Supported OS
Development and runtime environment products consisting of the following components: COBOL2002 compiler and
COBOL2002 AIX 5L
command-based test debugger, runtime library, JavaTM -COBOL interoperability (runtime environment), COBOL-XML 6
Net Server Suite interoperability (development runtime environment), COBOL ISAM, COBOL SORT 5
*
HP-UX 11i v2 (IPF)
*
COBOL2002 Runtime environment products consisting of the following components: COBOL2002 runtime library, JavaTM -COBOL AIX 5L
interoperability (runtime environment), COBOL-XML interoperability (runtime environment), COBOL ISAM, COBOL SORT 5
Net Server Runtime * HP-UX 11i v2 (IPF) 6
*
5: COBOL ISAM and COBOL SORT provide ISAM and SORT functionality in a COBOL2002 environment.
* 6: JavaTM -COBOL interoperability is not supported.
* If multiple CPUs are installed, additional CPU licenses are required.

COBOL2002 Family
Product Name Outline Supported OS
COBOL communication library Provides TCP protocol communication features Windows®

Business utility Version 3 Provides various file handling features for applications Windows®

Business library Comprises often used processing for business use Windows®

TP1/COBOL adaptor for Cosminexus Version2 Provides JavaTM -TP1/COBOL interoperability (development environment) Windows®

TP1/COBOL Extended Server Run Time System for Cosminexus Version 2 Provides JavaTM-TP1/COBOL interoperability (runtime environment) Windows®

TP1/COBOL Extended Run Time System for Cosminexus Version 2 Provides Java -TP1/COBOL interoperability (runtime environment)
TM
AIX 5L

COBOL2002 Related Products


Product Name Outline Supported OS
Windows®
Cosminexus Collaborative E-business integration platform AIX 5L
7
HP-UX 11i v2 (IPF)
*
Windows®
OpenTP1 Distributed transaction management AIX 5L
HP-UX 11i v2 (IPF)

Windows®
Job Management Partner 1 Integrated systems management AIX 5L
HP-UX 11i v2 (IPF)
Windows®
HiRDB Scalable database AIX 5L
HP-UX 11i v2 (IPF)
Windows®
EUR Forms system construction support AIX 5L
HP-UX 11i v2 (IPF)

*7: COBOL2002 does not support Java -COBOL interoperability.


TM

9
Business applica
and runtime envi
The COBO

AIX is a trademark of the International Business Machines Corp. in the U.S.


HP-UX is a product name of Hewlett-Packard Company.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.
Microsoft is a registered trademark of Microsoft Corp. in the U.S. and other countries.
Windows is a registered trademark of Microsoft Corp. in the U.S. and other countries.
Windows NT is a registered trademark of Microsoft Corp. in the U.S. and other countries.
Microsoft, Windows Server are registered trademarks or trademarks of Microsoft Corp. in the U.S. and other countries.
Microsoft Excel is a product name of Microsoft Corp.
Microsoft SQL Server is a product name of Microsoft Corp.
Windows 2000, Windows XP, Windows 98 and Windows Millennium Edition are product names of Microsoft Corp.
The official name of Microsoft Windows Server 2003 is Microsoft®Windows Server™ 2003.
ODBC is Microsoft's strategic interface for accessing databases.
OLE is the name of a software product developed by Microsoft Corporation and the acronym for Object Linking and Embedding.
ORACLE is a registered trademark of Oracle Corporation.
SOAP is an XML-based protocol for sending messages and making remote procedure calls in a distributed environment.
Sun is a trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries.
UNIFY2000 is a product name of Unify Corp.
UNIX is a registered trademark of The Open Group in the United States and other countries.
The official name of Windows NT®is Microsoft® Windows NT® Operating System.
The official name of Windows® is Microsoft® Windows® Operating System.
The official name of Windows® Me is Microsoft® Windows® Millennium Edition.
Other product and company names mentioned in this document may be the trademarks or registered trademarks of their respective owners.

Hitachi participates in the COBOL Consortium of COBOL2002 has been developed under a quality
Japan to actively provide users with information. assurance system approved by ISO9001 and TickIT.

Information service
Information on Hitachi Open Middleware is available at the following website: http://www.hitachi.co.jp/soft-e/

Hitachi, Ltd.
Hitachi Ltd., Software Division
5030 Totsuka-cho,Totsuka-ku,Yokohama-shi, Kanagawa-ken, 244-8555 Japan
E-mail : WWW-mdc@itg.hitachi.co.jp

July, 2005 All Rights Reserved. Copyrig

You might also like