Top Banner
© 2014 IBM Corporation Rational Developer for i: What's New in 9.0.1 TUG Meeting of Members, Jan 22, 2014 John Fellner, Developer, Rational Developer for i
31

Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

Aug 29, 2018

Download

Documents

trinhkiet
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Rational Developer for i: What's New in 9.0.1

TUG Meeting of Members, Jan 22, 2014

John Fellner, Developer, Rational Developer for i

Page 2: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation2

Accelerating Product and Service Innovation | Rational

Agenda

Quick Product Intro What's New in Rational Developer for i v9.0.1

– New freeform HFDP Syntax in ILE RPG Language

• Recap of this RPG Language enhancement

• Areas impacted in RDi

– Completed Requests for Enhancement (RFE)

– APAR Fixes

Page 3: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation3

Accelerating Product and Service Innovation | Rational

Rational Developer for i - Quick Intro

Page 4: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation4

Accelerating Product and Service Innovation | Rational

Rational Developer for i includes:

Eclipse-based Integrated Development Environment (Workbench) Plugin extensions for IBM i application developers Language-sensitive editor with rich editing function (LPEX)

Edit multiple files Outline ViewContent AssistMore ...

Remote System Explorer view for locating/filtering host objects/ membersSubsystems for managing QSYS Objects, Jobs, Commands, IFS files

i Projects view for caching/ working locally with host objects & members Integrated remote Debugger WYSIWIG Editors for display file and printer file DDS. (Screen Designer,

Report Designer) CL Command Prompter Remote search Application Diagram for viewing program/module call linkage

Plus much more ...

Page 5: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation5

Accelerating Product and Service Innovation | Rational

Recap: New Freeform HFDP Syntax in ILE RPG

Barbara Morris presented on this recently at the Nov 2013 TUG Meeting Adds new statement alternatives to the fixed column specifications for

H, F, D, and P specifications. (Not I or O.)– CTL-OPT

– DCL-F

– DCL-C, DCL-S, DCL-DS … END-DS, DCL-PR ... END-PR

– DCL-PROC … END-PROC, DCL-PI... END-PI

/FREE, /END-FREE no longer necessary in Calcs

This enhancement is provided by 7.1 RPG Compiler PTF SI51094. See the “Whats New” section of the updated PDF file for ILE RPG Language Ref for 7.1

http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/books/sc092508a.pdf

Page 6: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

New statement forms for H, F, D, P specs

Page 7: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

RDi Areas Impacted by New ILE RPG Free HFDP Syntax

Tokenizing / colorizing of source tokens in editor view Syntax Checker Program Verifier Outline view Content Assist Language-sensitive help Hover/Hyperlink Enter key behavior Show Block Nesting, Select Block, Jump to Block Show Fields Format Line/Prompt View

The RDi 9.0.1 story is mostly about the new RPG free HFDP syntax

Page 8: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

Free HFDP: Tokenizing

- New syntax tokens are colored according to token class in Editor view

Page 9: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

Free HFDP: Syntax Checker- New syntax recognized and diagnosed while editing

Page 10: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

Free HFDP: Program Verifier- New syntax recognized and diagnosed when Program Verify is run

Page 11: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

Free HFDP: Outline View- Declarations from new syntax also shown in Outline view

Page 12: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

Free HFDP: Content Assist (Ctrl+Space)

- Content Assist works with new syntax also

Page 13: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

RDi limitations concerning new RPG Free HFDP ...

Wizards not yet updated in 9.0.1 to handle (or generate) new syntax elements:– New Procedure Wizard

– New D Specification Wizard

– New Java Method Call Wizard

The convert source to free form action: Not updated for free HFDP. (Other third party tools available. )

Page 14: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

Completed Requests for Enhancement in RDi 9.0.1

• RFE10235 ILE RPG Editing Tokenizer: Improve the color-coding/ styling of ILE RPG source code in the editor view to enhance readability.

• RFE36972 Editor error message lines: Remove old Syntax Checker messages as well as Compiler error list entries after compilation

• RFE10962 ILE RPG Show Block Nesting: Indicate ELSE and WHEN in blocks

• RFE35625 Show Block Nesting: Allow changing color of block nesting arrows

Page 15: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

RFE10235: Improve the color-coding/ styling of ILE RPG source code in the editor view to enhance readability.

RDi uses the language parsing features of the LPEX Editor to tokenize RPG source being edited

and show different token types in different colors.

Added more token classes for freeform specifications for further differentiation

This includes freeform Calcs and new freeform HFDP statements

No changes for existing fixed form specifications

Users can alter token colors in Preferences → Lpex Editor → Parsers → Parser Styles

This change affects only ILE RPG and SQL ILE RPG language types

Page 16: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

Showing from 9.0 to 9.0.1, and adding in some free HFDP:

Excluded Lines

Page 17: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

Preferences → LPEX Editor → Parsers → Parser Styles

Can Customize. Edit or select sample text tokens and change their Style attributes.

Page 18: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

RFE36972 - Remove old Syntax Checker messages as well as Compiler error list entries after compilation

Errors from syntax checking shouldbe removed when Compile error

msgs added from Error List.

Page 19: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

RFE 10962 Enhancement to Show Block Nesting for Else and When - ELSE, CASExx, WHENxx opcodes now shown in block nesting outline.

Page 20: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

RFE35625 - Show Block Nesting: Allow changing color of block nesting arrows- Preference added to control line color for block outlines

(The default blue didn't work well with dark backgrounds)

Page 21: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

APAR Fixes in RDi 9.0.1 LPEX Editor:

● SE55868 Pressing ENTER when editing RPGLE may reposition the source

● SE55983 Find in LPEX only finds every other match when using ENTER

● SE55338 LPEX FindMatch action fails due to continued literal that starts with SELECT when editing RPGLE

● SE54827 Source lines shown with LPEX action filterOverflow disappear if edited

● SE56557 LPEX find dialog dropdown shows command history not find history

● SE56717 Last line disappears when editing source with LPEX

RPG Editing:

● SE56895 Auto completion for BEGSR does not result in ENDSR

● SE55436 Object library may be incorrect when compiling from LPEX menu

● SE56099 ILE RPG return value defined with LIKE did not support hyperlink

● SE55400 RPGLE Content Assist does not allow insertion to column 80

● SE57195 ILE RPG editing results in "Error running parser for language RPG" message with StringIndexOutOfBounds exception in the .log

● SE56174 ILE RPG live content assist shows incorrect length for variable defined with the LEN keyword.

● SE56140 RDI 9.0 UNNAMED FIELD SHOWN IN RPGLE CONTENT ASSIST LIST

● SE56768 RDI 9.0 Workspace hangs when Convert Selection to Free-Form on newly pasted RPGLE src

● SE56575 RDi does not correctly color RPGLE free form text.

Page 22: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

More APAR Fixes in RDi 9.0.1 RPG Outline View:

● SE56120 CCSID/CLASS/DATFMT/LEN/PROCPTR/... keywords not copied to LIKE fields

● SE54746 Static RPG outline view crashes RDP when a DS definition in procedure uses LIKEDS to reference a global DS that in turns uses LIKEDS to reference a global DS with the same name

● SE56605 Live ILE RPG outline view does not show nested data structures beyond one sub-level

● SE56204 Procedure Interfaces are not supported for the Main procedure

● SE56191 ILE RPG numbered indicators used in subprocedures do no show in the live outline view

● SE54862 RPGLE Outline View Selects incorrect text when the first field name is prefixed by the selected field name

CL Prompting:

● SE55957 Prompting wrong commands while editing CL results in multiple messages

● SE55249 Incorrect error message for PARM specification with RSTD(*YES) and first VALUES ' '

● SE55483 Predefined parameter, *N, in any CL command is not ignored on CL Prompt

● SE55918 The FMT parameter of ADDMSGD command prompt should allow typing possible FMT values

● SE55437 Prompting of SAVLIB CL command in LPEX may change parms

Page 23: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

More APAR Fixes in RDi 9.0.1 Debug:

● SE56583 Create a new IBM i debug configuration fails with NPE when using a command other than CALL

● SE56591 Debug: Manually setting a Service Entry Point can fail if the first values entered were incorrect

● SE56680 Debug with Service Entry Point fails when the RSE connection name contains an Ampersand ('&') character

● SE56830 Debugging an RPGLE program containing an IFS include file, results in displaying source as one continuous line

● SE56780 Hover value not showing as expected when debugging a service program

● SE55507 RPG line breakpoint indicator not shown when top line in LPEX

Other:

● SE56520 Drag and drop of RSE filters does not work as documented

● SE56521 Case insensitive error when renaming an RSE filter

● SE57112 Files may not be synchronized when workspace is closed without saving them first.

● SE57036 RDi Lpex editor unresponsive after keystrokes while editing DDS with database references.

Page 24: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

RDi 9.0.0.1 Update: Contains APAR Fixes:

Miscellaneous:

SE55794 RDi 9.0 - Product Release Notes Shortcut on Windows does not work

SE55813 (RDi 9.0) Unable to specify a remote WebSphere Application Server when defining a new server in the Servers view

SE55795 (RDi 9.0) In the Application Diagram view, right-clicking to open a context menu, the available menu items shown are incorrect.

SE56014 RDi 9.0 (with RDAL 9.0) - The generic 'Linux' connection type should not show by default

SE56021 RDi 9.0: Local Help Updater not working due to missing jetty plugin

SE56142 Data Tools Diagram Core plug-in error when switching to the Data Development Perspective

SE56122 RDI 9.0 OPENING SEARCH FAILS DUE TO DATA MODEL SEARCH LICENSE KEY ERROR

Editing:

SE55638 RDi 8.5.1 - ILE RPG parser failure leave lines untokenized and colored blue.

SE56097 RDi 9.0 - Save does not always write to IBM i

SE56127 RDi 9.0 - Saving editor to a deleted remote member does not save the editor contents

SE56000 RDi 9.0 – RPG Outline view does not show changes in referenced data files

Page 25: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

RDi 9.0 Changes

Repackaged and product name restored Moved from Eclipse 3.6 to Eclipse 4.2 base RPG Live Outline memory leaks addressed

RFE28212 - Sort option in screen designer adding info to referenced fields– After using the sort option on the DDS source screen, lines that have have REFFLD keywords get their

length, data type, and decimals filled in. This causes some attributes of the referenced field to no longer be copied in and results in a change of behavior of the screen. This causes issues if the referenced fields later get changed.

– We treated this as a bug and fixed it.

Page 26: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

RDi 9.0 Changes

RFE 29063 - Hover and hyperlink in RPGLE support for like, likeds, etc in D specs – In D specs, we can refer to other definitions such as in like, likeds, dim, based, overlay.

d Z_CustInfo DS qualified template

d id 10i 0

d description 50a varying

d maxCust C 10 10

d customers DS likeds(Z_CustInfo) dim(maxCust)– Hovering on maxCust inside the dim on the customers definition now shows the info on maxCust instead of

that of customers. The same for Z_CustInfo. The hyperlinks on those elements now go to that element definition.

RFE 30148: Casing on Content Assist of File Data Structure Subfields – Content Assist now displays the casing of subfields as they have been entered in the source as opposed to

upper case only. RFE 14305: The PDM option 14 (compile) is not available for a search results list

– It is now possible to compile a selection of files directly from the search results list. It is also easier to select just the files and not the found lines in the list.

Page 27: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

RDi 9.0 Changes RFE 29066 - Allow going back after following RPGLE hyperlinks

– To implement this requirement: support was added of navigation toolbar (Alt-Left,Alt-Right) for Lpex for last edit/hyperlink positions within a file.

RFE 30126 - Improve caching of external file information RFE 29077 - Support RPGLE hyperlink for procedures and subroutines

– The hyperlink now goes to the procedure body if the body is local and to the prototype if the body is not local.

RFE 25695: Cannot push i projects in batches– More than one IBM i project can now be selected for push to its target system.

RFE 30642: Accept new CL Builtin Functions %CHECKx and %TRIMx in RDP– We now have support for these BIFS in CL.

RFE 29265: RDp RPG content assist is English only

Many APAR Fixes

Page 28: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

An Aside on RFE’s

RD Power for IBM i has already developed large and vibrant RFE community.

https://www.ibm.com/developerworks/rfe/

Page 29: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation

Accelerating Product and Service Innovation | Rational

29

An Aside on RFE’s

Vote for the ones you want to see! It does make a difference!

We get LOTS of RFE’s

Page 30: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation30

Accelerating Product and Service Innovation | Rational

https://www.ibm.com/developerworks/downloads/r/rdi/Trial Download

Page 31: Rational Developer for i: What's New in 9.0 - TUG · Rational Developer for i: What's New in ... New in Rational Developer for i v9.0.1 ... assist shows incorrect length for variable

© 2014 IBM Corporation31

Accelerating Product and Service Innovation | Rational

www.ibm.com/software/rational