23
Mon, Dec
3 New Articles

WDSC 7.0 Arrives

Development Tools
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

To much acclaim, IBM introduced a new version of its IDE for RPG, DDS, and CL programmers, stating that this new version deprecates SEU/PDM/SDA as well as the decade-old CODE Editor and CODE Designer products (still shipped with WDSC).

In a pre-release meeting, IBM presented the new version as a leaner, faster product but also introduced a couple of tools that were missing. The new version is supposed to be faster and run in a smaller footprint than WDSC 6 and earlier. Those versions required a minimum of 1GB of RAM to "run." Although you could "load" the tools in as little as 512 MB, you couldn't actually run anything unless you had 768 MB and couldn't run things well until you installed at least 1.5 GB of RAM.

Using this same ratio, IBM's claim that you can load WDSC 7 in just 256 MB of RAM should mean that you can safely run it in 512 MB to 1 GB. And that's right. I loaded the basic/minimum package on a 1 GB ThinkPad, and it performs very well. In fact, it's downright snappy. But as has always been the case in my experiences with WDSC, connecting to a host System i5 to retrieve a source member for editing feels like you're trying to download a 10 MB file over a 28.8 KB dial-up phone line. I've never really understood this quagmire, but perhaps it's something IBM can fix in a Service Pack or PTF at some point.

What's in There?

The initial impression of the new version's environment is a bit perplexing. I don't know if I'm just not hip enough, but the initial Welcome screen appears and just stares at you. It contains several Apple iPhone-esque icons and nothing else. They aren't arranged in a way that would give me (a new user) any indication that I should pick one of them, nor was there any text on the screen telling me to "choose wisely." Initially, I thought I had to wait for it to finish loading, as I was expecting an Editor window to appear. So I left the room, had dinner, and returned only to find the screen unchanged. See Figure 1.

http://www.mcpressonline.com/articles/images/2002/WDSC%20700.png

Figure 1: This is what WDSC 7's "Welcome" screen looks like.

So I moved the mouse around to make sure the system hadn't locked up, and when the mouse passed over one of the icons, it morphed and said Workbench! I literally said, "Oh, wow, if they ever get WDSC running on an Apple iPhone, people are going to love this!" See Figure 2.

http://www.mcpressonline.com/articles/images/2002/WDSC%20701.png

Figure 2: WDSC's icons are iPhone-like.

I hovered the mouse over the Workbench icon (my guess for most likely to launch the editor), I clicked it, and—bam!—the editor window opened.

At this point, I was able to intuitively click on the Remote Systems directory tree, click New Connection, and get a list of objects, files, and other things from the system.

I was also able to list files on the IFS. I happen to have a Java source member on my IFS, so I double-clicked it. It opened right into the editor, color-highlighted the source, and let me edit it. Then I saved it back to the host. That worked well. I then did the same thing for an HTML file. Everything went wonderfully except that there doesn't seem to be syntax highlighting for HTML, at least not in the default/standard installation.

Then I wanted a list of source file members. WDSC uses an extremely powerful "filter" metaphor to subset things you download. But I think it should be dumbed down a bit as it seems like overkill for iSeries programming. A simple entry field that says "give me the members in this file or files that begin with or contain these characters" is what you need. You have that with Filter, but again it seems like overkill. Figure 3 illustrates the Filter dialog along with a side-panel that appears when you press F1 for help.


http://www.mcpressonline.com/articles/images/2002/WDSC%20702.jpg

Figure 3: Here's your Filter dialog.

As you can see in Figure 3, the help dialog appears as a side panel in the same window as the filter parameters. I right-clicked on a library name in the Remote Systems directory tree and selected New Member Filter, assuming that the library name and possibly the member name would be inserted into the filters dialog. As you can see, they were not. So I pressed F1 for some help text.

The help text is not only formatted incorrectly for this dialog (it is formatted for a full-screen window), it also has a lot of information about how to do a subset of member names in PDM. Since I'm using WDSC, I'd really like to know how to do that with WDSC and filters. But by the time I scrolled down to the bottom of the help text in this little bitty screen, searching for this help topic, I lost interest and closed the Filter dialog.

I was able to open a list of all files, members, and objects for the library I selected. But I think if I right-click on a library or file and select Filter, it should prompt me with the dialog already filled with for LIB/FILE/*ALL (library name, file name, and all members) and give me a simple example of how to generically select member names. I don't know how to limit a filter to display source files, but I'm sure I'm just being bone-headed.

Since I have a pre-release version, it's not perfect, so while I was able to edit IFS files, I was not able to grab a source file member and edit it. Fortunately, I have source on my PC, so I opened a couple of local RPG IV source members. The performance of the edit was spectacular. IBM did a great job of improving performance in this release.

As I moved from one line to another, a little prompt window at the bottom of the IDE actually prompted the current line. I flew through the lines trying to get the prompter to fall behind, but it kept up and even seemed to beat me in some instances. I'm not sure how it did that.

IBM's default colorization for RPG is, in a word, horrible. Bright red and black are the two pervasive colors. I'd rather see SEU's green text than that Soviet-era red and black.

Changing the colors is a bit complicated and somewhat limiting. For example, Factor 1 and Result Field are the same to the editor, so they are both the same color. Seems unimportant until you switch to free-format. All fixed-format colors are carried over to /free syntax. So you end up in some cases with monochrome source.

For some reason, WDSC still does not have highlighting within keywords and built-in functions—that is, the entire keyword and its parameters are the same color. So since every keyword and keyword parameter is the same color, you're back again to monochrome (bright red in most cases) for large areas of your RPG source code.

Changing the colors is a learned skill. To change the colors, do this:

  1. On the Menu bar, click Window and then select Preferences.
  2. Expand the LPEX Editor node in the list that appears.
  3. Expand the Parsers node in the list that appears within the LPEX node.
  4. Click on Parser Styles.

At this point, the Parser Style for the current language being edited is displayed. If RPG IV is being edited, the ILErpg document parser appears along with its "styles." These styles are the areas of the RPG IV source code that can be colorized. The names of the styles are meaningless to RPG programmers as they are LPEX-centric. Knowing which style to click on is not something you'll memorize any time soon.

A workaround is available, however. Click on the area in the sample RPG IV source member that appears in the Preview window. The style associated with the area you clicked in is automatically selected for you. For example, clicking in Factor 1 selects the User Symbol2 style, as illustrated in Figure 4.

http://www.mcpressonline.com/articles/images/2002/WDSC%20703.png

Figure 4: From the WDSC Preferences dialog, you can colorize your code.

You'll notice in Figure 4 that in addition to the text color setting (labeled Foreground in the Preferences dialog), there is also an Effects setting. This is used to set the color of the text border effects listed just below the color. If you use Microsoft Word, you may notice the "squiggle" underline when a spelling error is detected (well, I do). That same effect can be applied to your opcodes. It has nothing to do with the opcode being spelled correctly, but it can help make certain things stand out more. Wouldn't it be cool to change the way indicators are displayed so that they use the strikeout effect?

The Workbench

The editor window, or workbench, has a lot of knobs, dials, and switches. However, it's cleaned up if you do the basic install (IBM calls it "Selective Install"), which installs only the RSE for iSeries option. See Figure 5.

http://www.mcpressonline.com/articles/images/2002/WDSC%20704.png

Figure 5: The WDSC 7.0 Workbench is pretty tidy.

The left side of the workbench contains the Remote Systems windows, which is referred to as RSE (Remote Systems Explorer). It contains a list of your systems, libraries, objects, files, and members. You can also look at a list of other things, such as jobs, IFS files, commands, and library lists.

It was impressive to be able to get a list of the CGI (Web server) jobs running and then select them for debug. You can also retrieve the job log for any active job, and while that is easier to do than WRKACTJOB, 5, Enter, 10, Enter, it was a bit slow for my taste. But perhaps I'll get used to it.

Pros

With Selective Install, WDSC 7 is much faster and has a smaller footprint than prior versions. It runs great in smaller PCs, and it has a snappy user interface.

Cons

Filters are more complex than they need to be, Screen Design Aid (SDA) is currently offered only in the $3,480-per-user Advanced Edition, there's limited syntax highlighting for RPG IV, there's no HTML highlighting, and the Welcome screen is not intuitive for newbies.

The Bottom Line

WDSC 7.0 Standard Edition with Selective Install (RSE only) is a powerful tool that allows the average iSeries programmer to jump ship from SEU.

Bob Cozzi is author of the best-selling The Modern RPG IV Language, Fourth Edition as well as RPG TNT: 101 Dynamite Tips 'n Techniques with RPG IV and is host of the i5 Podcast Network, which provides free video and audio podcasts to the i5 community. You can also see him in person at RPG World in May 2007.

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: