fhg
Volume 10, Number 33 -- October 27, 2010

DDS Design: The RD Power Way

Published: October 27, 2010

by Susan Gantner

As you may know already from reading some of my earlier tips, I'm a fan of RSE--the Remote System Explorer. I was a user and fan of RSE back in its earliest incarnation in WDSC, then I followed it into RDi (Rational Developer for IBM i), and I'm now using its latest incarnation as part of RD Power, a.k.a. RDP or RDPi (Rational Developer for Power Systems).

One of the benefits of this latest upgrade to RD Power is the new DDS Designer. There was a "Technology Preview" version of the DDS screen designer in earlier RSE versions, but the new designer is "real" and fully supported for the first time in RD Power. Even better, this new version of the designer has a few nice usability enhancements, and a DDS report designer. For those of you who haven't had a chance to see it, here's a peek at the new DDS screen designer.


Figure 1.

If you are an RSE user, you'll get into the designer as you would expect--by right clicking on a DSPF or PRTF source member in the RSE View and selecting "Open with Screen Designer" (or Report Designer). This action opens up the graphical designer in the editor view, showing a picture of your screen (or report), or at least part of it. Depending on the size and/or resolution of your monitor, you may not be able to see the entire image. Of course, as with all other views in Eclipse, double clicking at the top of the view maximizes it to the full workbench space.

One thing that may not be obvious about the DDS Designer is that it has its own perspective, but for some reason that perspective isn't started automatically when you open a source member with the designer. Opening the DDS Design perspective will make it easier to interact with the design screen. Figure 1 shows an example of a DSPF screen opened in the DDS Design perspective. Many of the same views that are in this perspective are also in the RSE perspective. However, several things have moved to allow for easier interaction.

For example, notice that the Properties view, which is a small box in the bottom left of the default RSE perspective, becomes a larger view under the design screen. This is because the Properties view, which I rarely use in RSE, is an important tool for examining and modifying properties (attributes) of my DDS fields and records. Select a field in the design screen and you'll see its basic properties (e.g., name, type, length, usage, position). Those properties can be changed in the Properties view and those changes are immediately reflected on the design screen. Other properties, such as keywords, indicator conditioning, and display attributes appear under other tabs in the Properties view. All these properties would be much too hard to interact with if the Properties view were still crowded down the left-hand corner of the screen.

That bottom left space where Properties view was is now occupied by the Outline view. Outline view is every bit as indispensable with the Designer as it is when you're editing your RPGLE source. It not only provides a summary view of the records, fields, keywords, and their attributes, but it can be used for navigation as well. Clicking on a field selects that field on the Design view, which in turn causes its attributes to show in the Properties view.

What about those occasions where you feel you could just do some functions faster or easier by coding the DDS directly? No problem. If you look closely at Figure 1, underneath the Design screen, you'll see three tabs: Design, Source, and Preview. Clicking on the Source tab shows the DDS source, which can be edited to your heart's content. Then click back on the Design tab to see the visible results of your edits.

You may be wondering what the dialog above the Design screen is all about; the one that is labeled "Design Page Screen Controls." That's used to allow you to create what the Designer refers to as "screens." A screen can be made up of one or more record formats that will be viewed by the end user of the application as a single screen. For example, a subfile screen may have the subfile record, the subfile control record, and perhaps one or more other records that overlay the subfile for putting messages or function key text at the bottom of the screen. You can use that dialog box to design a screen made up of all those records. Then you can interact with the Designer while seeing all the record formats at once. You interact with one record format at a time, but the content of other screens is grayed out. Selecting a record format via the Outline view is an easy way to switch between the record formats.

Since there is no need to see this Design Page Screen Control dialog box most of the time, you will probably want to click on the down arrow in the top left corner of the dialog to hide those controls. You can click there again to bring the dialog back when you want to create new "screens," or switch to/from simply working with individual record formats vs. working with screens in the Design view.

The Palette view appears to the right of the Design screen and is used to add new items to the Design view, as well as to switch between the standard one-click-at-a-time selection mode (Select), and the ability to lasso several items to select them (Marquee). Personally, I find the need to use the Palette to switch back and forth between these selection modes is an irritant in an otherwise good user interface design.

I hope this quick introduction has whetted your appetite for looking at the new DDS Screen Designer in RD Power. In a follow-on tip, I'll cover some additional aspects of this new DDS Designer, including some tips on finding a few of my favorite features that may not be obvious at first glance.


Susan Gantner is half of Partner400, a consulting company focused on education on modern programming and database techniques and tools on the IBM i platform. She is also a founding partner in System i Developer, a consortium of System i educators and hosts of the RPG & DB2 Summit conferences. Susan was a programmer for corporations in Atlanta, Georgia, before joining IBM. During her IBM career, she worked in both the Rochester and Toronto labs, providing technical support and education for application developers. Susan left IBM in 1999 to devote more time to teaching and consulting. Together with Jon Paris, she now runs Partner400, and appears regularly at many technical conferences, including System i Developer's RPG & DB2 Summit. Send your questions or comments for Susan to Ted Holt via the IT Jungle Contact page.




                     Post this story to del.icio.us
               Post this story to Digg
    Post this story to Slashdot


Sponsored By
PRODATA COMPUTER SERVICES

Push-Pull-Synchronize Data TODAY!

RDB Connect gives you easy access to remote databases from your System i programs.

Share real time data across platforms NOW!

Use Remote Database Connect today.....download a free trial today.

Order today and SAVE $$$!
800.228.6318
sales@prodatacomputer.com
www.prodatacomputer.com


Senior Technical Editor: Ted Holt
Technical Editor: Joe Hertvik
Contributing Technical Editors: Erwin Earley, Brian Kelly, Michael Sansoterra
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

PowerTech:  FREE Webinar! Protect IBM i Data from FTP, ODBC, & Remote Command. Nov. 3, 10 am CT
iSeries DevCon2010:  Get 3 days of IBM i training and 365 DAYS OF VALUE, Nov 15-17, Las Vegas
Bsafe Information Systems:  Webcast: Top 5 System i Vulnerabilities. Oct 27. 2 p.m. EST


 

IT Jungle Store Top Book Picks

BACK IN STOCK: Easy Steps to Internet Programming for System i: List Price, $49.95

The iSeries Express Web Implementer's Guide: List Price, $49.95
The iSeries Pocket Database Guide: List Price, $59
The iSeries Pocket SQL Guide: List Price, $59
The iSeries Pocket WebFacing Primer: List Price, $39
Migrating to WebSphere Express for iSeries: List Price, $49
Getting Started with WebSphere Express for iSeries: List Price, $49
The All-Everything Operating System: List Price, $35
The Best Joomla! Tutorial Ever!: List Price, $19.95


 
The Four Hundred
IBM i Competes with AIX/Oracle on Power 720s, Gets Beat on 750s

iManifest Powers On in Japan

Power Systems Not Quite Rebounding Yet in Q3

As I See It: My Name is Bond--Jane Bond

Job Site Data Shows IT Jobs Down Across the Board

Four Hundred Stuff
IBM i 7.1 Supported by 120 ISVs with 300+ Apps, According to IBM Directory

Numina Voice Picking Boosts Productivity of Wisconsin Warehouse

HarrisData Continues to Modernize IBM i ERP Suite

Free RPG Editor Takes on Unit Testing

ExaGrid Makes No Compromises with 'DeltaZone' Backups

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

System i PTF Guide
September 25, 2010: Volume 12, Number 39

September 18, 2010: Volume 12, Number 38

September 11, 2010: Volume 12, Number 37

September 4, 2010: Volume 12, Number 36

August 28, 2010: Volume 12, Number 35

August 21, 2010: Volume 12, Number 34

TPM at The Register
Teradata pumps data warehouses with six-core Xeons

NEC cranks fault-tolerant servers with Xeon six-shooters

Cray beats six to win Argonne deal

Citrix puffs profits 64% with cloudy wares

Cisco eats own cloud food

OpenStack unfurls first full cloud fluffer

Intel broaches fresh barrel-o-Linux

Red Hat exec proposes end to IT suckage

IBM kills off Irish server works

OpenSFS to fund Lustre HPC file system development

Juniper boasts billion buck quarter

Intel waves Old Glory with wafer baker plans

THIS ISSUE SPONSORED BY:

ProData Computer Services
WorksRight Software
inFORM Decisions


Printer Friendly Version


TABLE OF CONTENTS
DDS Design: The RD Power Way

Let One Row Represent a Group, Take 2

Printing Multiple PC5250 Screens at the Same Time

Four Hundred Guru

BACK ISSUES




 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2010 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement