More Related Content
Similar to Easy_COBOL_for_OSOOSOSSODODODOD_2200.ppt
Similar to Easy_COBOL_for_OSOOSOSSODODODOD_2200.ppt (20)
Easy_COBOL_for_OSOOSOSSODODODOD_2200.ppt
- 2. © 2009 Unisys Corporation. All rights reserved. Page 2
Easy COBOL Programming for OS 2200
• A look at Eclipse-2200
• Setting up Eclipse (an overview)
• The OS 2200 project
• The COBOL editor
• Building and fixing
• Debugging the UCS program
• RDMS data access from Eclipse
• Summary and messages
- 3. A Look at Eclipse IDE for OS 2200-
What is an IDE
• My definition:
– An Integrated Development Environment is a single
application that includes many of the tools necessary to
develop an application, and which automates many of the
common tasks in that development.
• Generally includes
– Code Editors
– Builders
– Debuggers
• Often includes
– Deployment assistants
– Administration tools
– Configuration tools
© 2009 Unisys Corporation. All rights reserved. Page 3
- 4. A Look at Eclipse IDE for OS 2200-
History of Eclipse
© 2009 Unisys Corporation. All rights reserved. Page 4
• Eclipse is the foundation of the WebSphere IDE
(now called Rational Application Developer)
• IBM donated Eclipse to the Open Source community
• The Eclipse foundation was established to govern its
distribution
• IBM remains heavily invested
- 5. A Look at Eclipse IDE for OS 2200-
Eclipse Structure
© 2009 Unisys Corporation. All rights reserved. Page 5
- 6. A Look at Eclipse IDE for OS 2200-
Our Philosophy of Development
• OS 2200 Development is based on the work file.
– The connection to the 2200 is configured.
– A 2200 project is associated with a program file on a 2200
– The project’s editable files stay on the 2200.
• Editing is done in Eclipse IDE to the 2200 files.
– CIFS provides connection to the 2200.
– Editing is done in Eclipse IDE the 2200 elements are
changed. No copy is kept on the workbench.
• Builds are user written
• Builds are carried out by a Telnet session.
© 2009 Unisys Corporation. All rights reserved. Page 6
- 7. A Look at Eclipse IDE for OS 2200-
Our Philosophy of Development - 2
© 2009 Unisys Corporation. All rights reserved. Page 7
build and
fix build
errors
Setup Build
Enviroment
(Work Unit,
"Project")
Developer Tools
Developer Chores
Prepare code
for Integration
Edit Code
Test / Debug
fix errors
Get Code
to fix
Prepare
processing
requirements
(build
procedures)
Prepare Test
/Debug
Enviroment
Development Administrator
code
browsers
Code
Generators
Explore
existing
code
maintain Access
information
editors
Customization
- 8. A Look at Eclipse IDE for OS 2200-
What you get
© 2009 Unisys Corporation. All rights reserved. Page 8
Galileo (Eclipse 3.5) JEE Release
A full featured IDE for building enterprise n-tiered Java applications for J2EE platforms. The
IDE is comprised of Eclipse and a set of recommended and tested Eclipse plug-ins. Unisys
extends the IDE with the Unisys Telnet Plug-in, an Eclipse & Plug-in Install Guide, and a
tested Application Development Guide; providing everything needed to build and deploy Java
applications to J2EE systems, including the OS2200.
UNISYS offering for 12.1
Unisys Composite Application (CA) Plug-in
The Eclipse Composite Application (CA) Plug-in simplifies the creation of Java composite
applications that use OS2200 COBOL, C , and Fortran programs. This collection of plug-ins
extends Eclipse with an OS2200 project framework and language editors, and allows users to
create, modify, build , debug, and integrate OS2200 3GL programs with new or existing Java
application programs.
Unisys Java Application Integrator (JAI) Plug-in
The Java Application Integrator (JAI) is a collection of Eclipse plug-ins tailored to developers
who uses Java connection classes to integrate Java applications with OS2200 databases
(DMS, RDMS, BIS), transactions (TIP/HVTIP), and programs. It simplifies the process of
creating, configuring, using and deploying the resource connectors for integrating Java
applications with OS2200 resources
- 9. © 2009 Unisys Corporation. All rights reserved. Page 9
Easy COBOL Programming for OS 2200
• A look at Eclipse-2200
• Setting up Eclipse (an overview)
• The OS 2200 project
• The COBOL editor
• Building and fixing
• Debugging the UCS program
• RDMS data access from Eclipse
• Summary and messages
- 10. Setting up Eclipse IDE for OS 2200-
High level overview
• Latest version available at the Unisys FTP support site:
– ftp://ftp.support.unisys.com/pub/2200/ide/
• Go to the folder of your choice (probably the latest level)
– Download one called “all-in-one”.
– Extract this file to a folder.
• For debugging you will also need the file
Eclipse2200padslib.zip
– Have a drive mapped to os2200 share on host
– Unzip it. It expands to the folder “eclipse2200”
– Copy this folder to the mapped drive
© 2009 Unisys Corporation. All rights reserved. Page 10
- 11. The Demo Part
• Create a COBOL data access program
• Write and test the SQL
• Use amazing and powerful tools for COBOL
• Build the project the push of a button
• Debug the output
• Explore the data base from Eclipse IDE for OS 2200
• Add the DB code rapidly to the program.
© 2009 Unisys Corporation. All rights reserved. Page 11
- 12. The Demo Part-
The Telnet Client
• Bring up Eclipse
• Open a Telnet Session
• Look at CIFS (show the shares)
© 2009 Unisys Corporation. All rights reserved. Page 12
- 13. The Demo Part-
The Telnet Client
© 2009 Unisys Corporation. All rights reserved. Page 13
- 14. The Demo Part-
Connections to the OS 2200
© 2009 Unisys Corporation. All rights reserved. Page 14
OS 2200
PC
Program File
OS 2200Eclipse Project
Element A
Element B
Cobol File A
Cobol File B
CIFS/SMB
Project Build
2200 Command
Line
TELNET
Under the Hood
Connections Between the Eclipse Project and the 2200
Members of the project
are actually
links to elements in the
2200 project file.
Debug Comm Protoco
Debug
Xqtable
- 15. © 2009 Unisys Corporation. All rights reserved. Page 15
Easy COBOL Programming for OS 2200
• A look at Eclipse-2200
• Setting up Eclipse (an overview)
• The OS 2200 project
• The COBOL editor
• Building and fixing
• Debugging the UCS program
• RDMS data access from Eclipse
• Summary and messages
- 16. The OS 2200 Project-
Creation and Update
• The OS 2200 Project Wizard
– Page 1: Shares and Workfile
– Page 2: Build Script and Brkpt files
– Page 3: Picking project elements
© 2009 Unisys Corporation. All rights reserved. Page 16
- 17. The OS 2200 Project-
Creation and Update
© 2009 Unisys Corporation. All rights reserved. Page 17
- 18. The OS 2200 Project-
Creation and Update
© 2009 Unisys Corporation. All rights reserved. Page 18
- 19. The OS 2200 Project-
The Editors
• C editor
• Fortran Editor
• Plus Editor
• Java Editor
• Text Editor
• COBOL Editor
© 2009 Unisys Corporation. All rights reserved. Page 19
- 20. © 2009 Unisys Corporation. All rights reserved. Page 20
Easy COBOL Programming for OS 2200
• A look at Eclipse-2200
• Setting up Eclipse (an overview)
• The OS 2200 project
• The COBOL editor
• Building and fixing
• Debugging the UCS program
• RDMS data access from Eclipse
• Summary and messages
- 21. COBOL-Editor
• Keyword Colors
• Auto-completion
– Templates for:
• Divisions
• Procedures
• Functions
• Entire operations
• Column sensitivity without restrictions
© 2009 Unisys Corporation. All rights reserved. Page 21
- 23. © 2009 Unisys Corporation. All rights reserved. Page 23
Easy COBOL Programming for OS 2200
• A look at Eclipse-2200
• Setting up Eclipse (an overview)
• The OS 2200 project
• The COBOL editor
• Building and fixing
• Debugging the UCS program
• RDMS data access from Eclipse
• Summary and messages
- 24. The OS 2200 Project-
The Build
• Simple stream to complex SSG
• User determined
• Compiler errors are harvested and presented in the
Problem view, in the project, and in the editor.
• An End line summary view shows the build line that start
“END”
© 2009 Unisys Corporation. All rights reserved. Page 24
- 25. The OS 2200 Project-
The Build
© 2009 Unisys Corporation. All rights reserved. Page 25
- 26. OS 2200 Project –
The Build Compiler Errors Display
© 2009 Unisys Corporation. All rights reserved. Page 26
- 27. OS 2200 Project –
The Build End Summary View
© 2009 Unisys Corporation. All rights reserved. Page 27
- 28. © 2009 Unisys Corporation. All rights reserved. Page 28
Easy COBOL Programming for OS 2200
• A look at Eclipse-2200
• Setting up Eclipse (an overview)
• The OS 2200 project
• The COBOL editor
• Building and fixing
• Debugging the UCS program
• RDMS data access from Eclipse
• Summary and messages
- 29. UCS Debugging-
Setup
• Make sure you compile with debug options
• Debug setup page
• Special link
© 2009 Unisys Corporation. All rights reserved. Page 29
- 31. Debugging –
Procedure
• Standard debugging
– Step over
– Step into
– Step out
– Set breakpoints
– Resume
• Display variables
• Change variables
© 2009 Unisys Corporation. All rights reserved. Page 31
- 32. © 2009 Unisys Corporation. All rights reserved. Page 32
Easy COBOL Programming for OS 2200
• A look at Eclipse-2200
• Setting up Eclipse (an overview)
• The OS 2200 project
• The COBOL editor
• Building and fixing
• Debugging the UCS program
• RDMS data access from Eclipse
• Summary and messages
- 33. Data Explorer-
Basics from Connection
• Connect
• Expand connection
• Do sample data
• SQL editor
– Add table
– Add select items
– Add conditions
© 2009 Unisys Corporation. All rights reserved. Page 33
- 36. Exotic Programming.-
More Ways to improve Productivity
• Specialty Templates
– RDMS query
– RDMS Data
• Paste in the query
– Format for COBOL
– Do some editing
• Add the data names
– Split the screen
– Add the” into” clause
• Build and run
© 2009 Unisys Corporation. All rights reserved. Page 36
- 39. © 2009 Unisys Corporation. All rights reserved. Page 39
Easy COBOL Programming for OS 2200
• A look at Eclipse-2200
• Setting up Eclipse (an overview)
• The OS 2200 project
• The COBOL editor
• Building and fixing
• Debugging the UCS program
• RDMS data access from Eclipse
• Summary and messages
- 40. Conclusions –
The Blessed End is Near
• Even in the hands of a rank amateur, Eclipse IDE for OS
2200 can make COBOL programming for the OS 2200
productive.
• Eclipse can be customized for your shop.
• We continue to add productivity enhancements to Eclipse
and the Editor
© 2009 Unisys Corporation. All rights reserved. Page 40