june 5–9 orlando, florida ibm innovate 2011 why every ibm® system i® developer should use ibm®...

45
June 5–9 Orlando, Florida IBM Innovate 2011 Why Every IBM® System i® Developer Should Use IBM® Rational® Developer for Power Systems™ Kenny Smith & Matthew Hardin Strongback Consulting [email protected] [email protected] PWR-1728

Upload: shannon-ball

Post on 26-Dec-2015

227 views

Category:

Documents


2 download

TRANSCRIPT

June 5–9 Orlando, Florida

IBM Innovate 2011 Why Every IBM® System i® Developer Should Use IBM® Rational® Developer for Power Systems™

Kenny Smith & Matthew HardinStrongback [email protected]@strongback.usPWR-1728

The Premier Event for Software and Systems Innovation

2© 2011 IBM Corporation

Agenda

What is RDP and why do you have yet another acronym?

Why do I care? (a.k.a the business proposition)

What's new in version 8 for RPG / COBOL tools

The Demo

Integrations: Compilers Team Concert RAD, RBD, and Brittany Spears

A bonus Demo (aren't you lucky!)

Best Practices – taming the wild beasts in your garden

The Premier Event for Software and Systems Innovation

3© 2011 IBM Corporation

What is IBM® Rational® Developer for Power Systems Software and why is it important?

Rich IDE for RPG and COBOL development

Productivity

Modernization of tool sets & processes

Integration with other tools

Productivity Integration

ModernizationDevelopment

The Premier Event for Software and Systems Innovation

4© 2011 IBM Corporation

ADTS, PDM/SEU – Yesterday's Tools

ADTS/PDM/SEU are stabilized

– (i.e. don't expect any more features) As of V6R1

You cannot take advantage of new COBOL/RPG/ILE language features in V7R1

New RPG Features NOT in PDM/SEU – RDP ONLY!! MERGE, Array Support, Global Variables, and consuming

result sets in RPG and COBOL

RPG Open Access – redirect RPG IV native I/O operations to other devices

Green screen development ?!? – a Commodore 64 had a better interface!

No cut/paste/copy, text search, or content assist

Poor or no integration with other tools

The Premier Event for Software and Systems Innovation

5© 2011 IBM Corporation

Productivity – why its important

Productivity: The measure of output from a process, such as output per labor-hour.

¹ Based on IBM customer study, “Making a Business Case for IBM Rational Developer for i”

20% BoostIn developer Productivity1

HigherProfit

MoreOutput

JobSatisfactionGrowth

CostEffectiveness

The Premier Event for Software and Systems Innovation

6© 2011 IBM Corporation

20% or more improvement in developer productivity¹• Integrated search / edit / compile / debug• Rich, compiler-aware source editing features• Visual analysis tools, UI designers, …

Leverage existing skills and implementations in modern solutions• Attract and retain new developers• Lower learning curve for other technologies

• Learn RD Power, then use similar Eclipse based tools for Java, Web, EGL, XML, or PHP development (or vice-versa)

Common development tools across multiple platforms• Rational Developer for Power (for RPG, C/C++, COBOL)• Rational Application Developer (for J2EE)• Rational Business Developer (for EGL)• Rational Developer for Z (for COBOL, Java, … for

mainframe)• Rational Software Architect (for designing with UML,

BPMN, Sketching, Deployment Planning and Automation)

Why Rational Developer for Power Systems Software?Developer productivity + innovation through modernization

The Premier Event for Software and Systems Innovation

7© 2011 IBM Corporation

Customer ROI With RD Power

Cost Savings of Raising Basic Developer Productivity

Assumptions for this example: 20% productivity gain after initial 30% productivity hit, loaded cost per developer of $150K, team of ten adopting RDi SOA:

Revenue and Strategic Value of Modernization

The ability to leverage existing developer skills to leverage existing Power-based application assets – the core business rules -- in modern solutions is incalculable but very real

It consists of productivity/throughput/speed-to-market advantages of being able to leverage existing code in new solutions

The Premier Event for Software and Systems Innovation

8© 2011 IBM Corporation

Key Features

The Premier Event for Software and Systems Innovation

9© 2011 IBM Corporation

Remote Systems Explorer

The Remote System Explorer (RSE) is the primary component of Rational Developer for Power Systems Software. It provides the view of your IBM® Power Systems™ and provides access to all their development resources. You can think of it as an enhanced and more flexible workstation version of the Programming Development Manager (PDM). You can also use it to effectively manage and organize all of the Power Systems resources and applications needed by application developers in an easy and user-friendly way.

The RSE offers a comprehensive set of services for viewing IBM i system objects and source members. It is a workbench perspective that consists of several workbench views. Each view accomplishes one purpose. The views all have tabs and can be moved from place to place within the perspective. Figure 1 shows the default layout of the RSE perspective falsely colored to distinguish between the major views.

The Premier Event for Software and Systems Innovation

10© 2011 IBM Corporation

IBM I Projects

Allow for disconnected development.

Move source files from remote system to local project

Connect only when code updates or builds are needed

Can use a source control manager (SCM) supported by Eclipse

Easier paradigm to use for new developers

The Premier Event for Software and Systems Innovation

11© 2011 IBM Corporation

LPEX Editor

ProxyPassReverse /dev01/wps/ https://devtama.winnebagoind.com/dev01/wps/

Language parsing = automatic indenting, color, & text effects

Emphasizes language keywords, logic structures, and comment lines.

Free-form C specification cursor positionAutomatic IndentD Specification cursor positionRepeat previous operation codeRepeat previous specification typeAutomatic closure of control block

The Premier Event for Software and Systems Innovation

12© 2011 IBM Corporation

Application Diagram The Application Diagram provides a graphical view of the different resources in an

IBM i native application and their relationships to each other. There are two different diagrams that you can look at in the Application Diagram view: a Source Call Diagram and a Program Structure Diagram. The Source Call Diagram takes ILE RPG, ILE COBOL and CL source as input and displays a call graph showing subroutine and procedure calls.

The Program Structure Diagram takes program and service program objects as input and displays the binding relationships between them as well as the modules bound into each program and service program.

You can use both the Outline and Properties views with the Application Diagram viewer. The Outline view initially shows a thumbnail view of the entire diagram. This can be useful when the entire diagram does not fit within the visible space of the viewer.

The Premier Event for Software and Systems Innovation

13© 2011 IBM Corporation

Screen Designer

The Screen Designer is no longer a technology preview. It is now a fully supported component of the RPG and COBOL for IBM i feature.

The following enhancements have been added since the last technology preview: The Preview tab now shows you what your screens will look like (how a group of records might be displayed on a screen at run time). In the Design tab, you can create screens that are groupings of display records that you select. In addition, you can specify the order in which records in a screen are displayed on the preview pane.

In this release, when a DDS source file is first loaded, only the first record is displayed on the Design tab. This improves start-up performance for large DDS files over the previous release when all of the records were displayed.

The Magnification control on the Design tab is now called the Font control.

The Premier Event for Software and Systems Innovation

14© 2011 IBM Corporation

www.ibm.com/software/rational

The Premier Event for Software and Systems Innovation

15© 2011 IBM Corporation

Report Designer

Report Designer is a new component that you can use to graphically design and modify the content of DDS printer files. In the same way that you use the Screen Designer to graphically design and test your display files, you can use Report Designer to create and test your printer files.

Report Designer features:

The Report Designer gives you the ability to graphically design printer file record formats. By using the Palette view, you can drag objects such as fields and constants onto the record format design area. In addition, you can use the Field Table view to create fields from a database reference file on a connected system.

In the Report Designer, you can create a REPORT that is a collection of record formats that you select. With this feature, you can view a complete report as it might appear on the printed page.

In the Design Reports view, you can specify default data to appear in selected fields for a more realistic view of a report.

The Premier Event for Software and Systems Innovation

16© 2011 IBM Corporation

Report Designer (continued)

On the Indicators tab, you can create named sets of indicators. In each indicator set, you can set any of the conditioning indicators on or off. The report will be displayed according to the settings of an indicator set. You can switch indicator sets to see how the report would appear with a different set of indicators.

In the Properties dialog, you can set preferences for the design page, including setting the record background color and the font.

As with the Screen Designer, you use the Source tab to directly edit those attributes that are not available in the Design view. Changes made to either the Design view or the Source view are constantly reflected in the other.

The Premier Event for Software and Systems Innovation

17© 2011 IBM Corporation

Dynamic Job Support

The Premier Event for Software and Systems Innovation

18© 2011 IBM Corporation

IBM I Debugging

When debugging an IBM i application, the debugger needs to know the job where the application will be running or is running before the debug session starts. For example, if your main application starts different jobs for different tasks, you don't always know the job numbers of these jobs. To debug a program running under a known, specific user profile, you can use the service entry point support. However, if all tasks in your application are running under different jobs but under the same user profile, service entry point support does not allow you to debug the particular task that you are interested in.

Requirements for using Integrated IBM i Debugger to debug your application:

During run time, your application or the control program of your application knows the job that you want to debug, and it can put the application on hold.

The application on hold can resume operation either by user interaction or by running a specific command.

The Premier Event for Software and Systems Innovation

19© 2011 IBM Corporation

Team IBM i Debugger

Team debugging support

Transfer debug session

'Park' debug session

Requires RTC with IES license

The Premier Event for Software and Systems Innovation

20© 2011 IBM Corporation

Team Debugging

The Premier Event for Software and Systems Innovation

21© 2011 IBM Corporation

Binary Object Support in IBM I Projects

Load binary objects into an IBM i Project.

Distribute via SCM (ClearCase, RTC, Turnover, etc)

Objects restored into the associated library when pushed from the workspace

Restoring objects requires you to have *USE authority for the RSTOBJ command.

– Perform basic operations on these objects while they are in the workspace, such as copy-and-paste and rename.

– *Physical and logical files are currently not supported because of their potentially large size.

The Premier Event for Software and Systems Innovation

22© 2011 IBM Corporation

IBM I Web Services and Java Tools

IBM i Web development tools is an option component that you can install to get the ability to create new business applications that use a Web-based front end to communicate with the business logic in an ILE or non-ILE language program on a IBM i server.

IBM i Web services are self-contained, modular applications that can be described, published, located, and invoked over the Internet, employing on-demand integration of services.

The Web Service wizard creates a bottom-up IBM i program Web service with Web service operations that call one or more server programs or service program procedures on IBM i systems.

The Premier Event for Software and Systems Innovation

23© 2011 IBM Corporation

IBM I Web Services and Java Tools (continued)

The Web Service wizard works in the context of a Web project for creation, deployment, testing, generation of a proxy, and publication to a Universal Description, Discovery, and Integration (UDDI) registry of Web services.

The IBM i Web Services and Java™ tools can be installed only if the appropriate prerequisites are installed.

The Premier Event for Software and Systems Innovation

24© 2011 IBM Corporation

New Features in 8.0

Linux Client

Visual Editors for DDS Display and Printer Source Files

Analysis tools to visualize program calls and ILE bindings

Integration with RTC 3.0

Integration with the latest compiler offerings

The Premier Event for Software and Systems Innovation

25© 2011 IBM Corporation

RPG Enhancements – Sorting Data Structure Arrays

Allow the user to see data in any sequence by any field in a subfile

* Asterisk indicates level at which sorting should occur

SORTA—A for ascending and D for descending, which makes the sort capability even more flexible.

D ProductInfo DS Dim(1000) D Qualified D Name 8 D UnitPrice 5p 2 D QtyInStock 5p 0

If SortByName; SortA ProductInfo(*).Name; ElseIf SortByQty; SortD ProductInfo(*).QtyInStock; ElseIf SortByPrice; SortA ProductInfo(*).UnitPrice; EndIf;

The Premier Event for Software and Systems Innovation

26© 2011 IBM Corporation

RPG Enhancements - %SCANRPL

A new built-in function, %SCANRPL, combines the functions of %SCAN followed by a %REPLACE, making it easier than ever to send out mail-merge letters or e-mails, replacing placeholders in the text with the appropriate content of database fields, for example

The Premier Event for Software and Systems Innovation

27© 2011 IBM Corporation

RPG Enhancements – RTNPARM, %PARMNUM

When you specify RTNPARM, the return value is passed as the first parameter in the parameter list. Therefore, if your subprocedure currently makes use of %PARMS to determine if optional (i.e., *NoPass) parameters have been passed, you’ll also want to make use of another new built-in, %PARMNUM. It takes a parameter of the name of the parameter, so that the following code would check to see if any optional parameters were passed:

If %Parms >= %ParmNum(FirstOptionalParm);

If FirstOptionalParm was the third parameter, then %ParmNum would return 3 if RTNPARM were not in effect, but it would return 4 if RTNPARM were specified.

The Premier Event for Software and Systems Innovation

28© 2011 IBM Corporation

RPG Enhancements – Access ALIAS names

Those of you who delight in the fact that we can now create longer field names than the traditional RPG six-character names may appreciate the fact that RPG will now be able to access and use the longer ALIAS names that can be specified either in DDS or via SQL. Of course, since I and O specs are generated by default for files on any F spec (and I and O specs still have size limitations for the names), if you want to use the longer ALIAS names instead, you must either specify QUALIFIED on the F spec in addition to the ALIAS keyword or define the file in a subprocedure. The ALIAS keyword may also be used when defining an externally described DS

The Premier Event for Software and Systems Innovation

29© 2011 IBM Corporation

Where can I run this?

The Premier Event for Software and Systems Innovation

30© 2011 IBM Corporation

I have WDSC? Am I entitled to Rdp?

The Premier Event for Software and Systems Innovation

31© 2011 IBM Corporation

What is Rational Team Concert?

RTC is a team collaboration and lifecycle management system that provides many different development tools:

• Source control

• Change management

• Build and process management, continuous integration

• Defect tracking

• Planning: Agile, formal, hybrid

• Many other features

The Premier Event for Software and Systems Innovation

32© 2011 IBM Corporation

Integrating Rational Team Concert with Rational Developer for Power

The Rational Team Concert client integration for IBM® i feature provides the integration:

• Install Rational Team Concert first, and then install Rational Developer for Power Systems Software (or both at the same time) with the Rational Team Concert client integration for IBM® i feature.

• Alternatively you can install Rational Developer for Power Systems Software first, and then install Rational Team Concert. You will then need to modify the RDp installation by adding the integration piece through the installation manager.

The Premier Event for Software and Systems Innovation

33© 2011 IBM Corporation

Integration within the IDE

Using the IBM® i projects perspective available in RDp, developers can work together so that you can share and modify files managed by RTC-based source control, in addition to files on the remote IBM i system.

{Insert snapshot of I projects perspective here}

The Premier Event for Software and Systems Innovation

34© 2011 IBM Corporation

The Work Item Perspective

The Work Item perspective within RDp with RTC integration gives you several different views for creating and working on work items:• Work Items View• Team Artifact View• My Work View• Team Dashboard View• Tag Cloud View

The Premier Event for Software and Systems Innovation

35© 2011 IBM Corporation

• Create, edit and execute queries for viewing work items

• Filter on Summary or Description

• Retrieve a specific work item

• Perform an operation on multiple work items, such as changing the priority

• The work item editor provides all the tools for editing a work item

The Work Item View and Work Item Editor

The Premier Event for Software and Systems Innovation

36© 2011 IBM Corporation

Team Artifact view

Use the Team Artifact view to preview any of the artifacts belonging to your project:

• Repositories• Build Engines• Plans• Reports• Workspaces• Work Items

Can be customized to suit any teams needs

The Premier Event for Software and Systems Innovation

37© 2011 IBM Corporation

My Work View

Use this view to triage new work items assigned to you; manage work items in progress; and manage work items that you plan to resolve in a future iteration.

The Premier Event for Software and Systems Innovation

38© 2011 IBM Corporation

Team Dashboard View

Use the Team Dashboard view to view the latest developments, such as build operations, change set deliveries, and work item modifications that affect your project.

You can quickly access:• My Open Work Items• Event Log• Team Load• Build• Events

The Premier Event for Software and Systems Innovation

39© 2011 IBM Corporation

Tag Cloud View

Use this view to create a tag cloud. 

Use content assist to conveniently tag work items in the work item editor. If you want to see a set of work items as a tag cloud, simply drop a query into the Tag Cloud view.

The Premier Event for Software and Systems Innovation

40© 2011 IBM Corporation

New Features in RTC 3.0

• Customers can now install as many servers as RTC 3.0 user licenses purchased on �any platform for any purpose!

Customer Benefits: • Jazz Team Servers in RTC 3.0 can run on ANY supported platform

• (System z, System i, Windows, Linux, Unix)• For ANY purpose

• Support disaster recovery installations• Maintain separate test or training configurations• Move servers between platforms w/o additional license fees• Enables teams who need many servers for physical security isolation • Makes Cloud/SaaS models more cost effective• Simplifies trade-ups from other Rational products

The Premier Event for Software and Systems Innovation

41© 2011 IBM Corporation

The Premier Event for Software and Systems Innovation

42© 2011 IBM Corporation

www.ibm.com/software/rational

The Premier Event for Software and Systems Innovation

43© 2011 IBM Corporation

Additional Resources

•RPG Unit – Open source framework for making unit testing easy for RPG programmers(http://rpgunit.sourceforge.net/)

• Jazz Community Site (http://jazz.net)• Introduction to Rational Team Concert (http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/index.jsp)• Rational Team Concert Product Page (http://www-01.ibm.com/software/rational/products/rtc/)•Rational Developer for POWER Product Page•Strongback Consulting's Blog site:

• http://blog.strongbackconsulting.com

The Premier Event for Software and Systems Innovation

44© 2011 IBM Corporation

Daily iPod Touch giveaway

Complete your session surveys online each day at a conference kiosk or on your Innovate 2011 Portal!

Each day that you complete all of that day’s session surveys, your name will be entered to win the daily IPOD touch!

On Wednesday be sure to complete your full conference evaluation to receive your free conference t-shirt!

SPONSORED BY

The Premier Event for Software and Systems Innovation

45© 2011 IBM Corporation

© Copyright IBM Corporation 2011. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM products and services are trademarks of the International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.

www.ibm.com/software/rational