21
Tue, May
3 New Articles

TechTip: Rational Developer for i (RDi) and iSphere: The Missing Link

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

iSphere is a must-have tool for everyone who is developing with RDi.

 

Rational Developer for i (RDi) becomes more and more popular in the IBM i community. In particular, the graphical editors provide significant improvements over the old green-screen editors, making things much easier for the developers writing programs and designing screens and reports. But there are still some gaps, some features we are painfully missing that force us to switch to a green-screen session from time to time. This is the point where iSphere comes in.

 

iSphere is an open-source project enriching RDi with important first-class features to make your life much easier. It's the missing link between RDi and IBM i you never want to miss if you ever have worked with it. But enough intro now. Let's talk about all the cool features of iSphere.

 

Message File Editor

A lot of applications out there work strongly with message files. RDi's native ability to maintain message files is not very impressive. iSphere provides everything you need. Open the context menu for a message file in the RSE and select "iSphere Message File Editor." You see all the messages of the message file. You can filter the list by typing in a value to display only those messages that match the value. This makes it very easy to find a specific message. Click on the "Preview" button and the selected message will be displayed in a separate view formatted in the way the message will be displayed when you use the message with a SNDxxx command. Opening the context menu for a message will provide all the actions you need to edit the message. Even copying a message is possible.

 

110714HildebrandtFig1 

Figure 1: Display the messages of a message file.

 

110714HildebrandtFig2 

Figure 2: View the dialog for editing a single message.

 

Binding Directory Editor

Today, hardly any applications out there aren't using ILE. And if you're using ILE, you're also using binding directories. Try to work with binding directories in RDi. There's no native support. But here again, iSphere is your friend. Open the context menu for a binding directory in the RSE and select "iSphere Binding Directory Editor." You see all the entries of the binding directory. Opening the context menu for an entry will provide you all the actions you need to edit the entry.

 

110714HildebrandtFig3 

Figure 3: You can see the entries of a binding directory.

 

110714HildebrandtFig4

Figure 4: This screen shows the dialog for editing a single entry.

 

Source File Search

RDi already has native support to search for a string in your source files. But especially when you're trying to search for a string in a member filter, you can drink a whole cup of coffee while you wait. iSphere Source File Search is dramatically faster than the native RDi Source File Search. There are two ways to start the search. Open the context menu for any filter in the RSE and select "iSphere Source File Search" or just press CRTL+H to specify your search options. You can even specify multiple search strings to search for. After the search has finished, the results will be presented in a view. On the left side are the members containing the search strings. Select one of these members, and the statements within the member matching the search strings will be displayed. You can export the search results to Excel or to a member filter, and of course you can open one of RDi' s editors.

 

110714HildebrandtFig5

Figure 5: View your search options when search by RSE Filters is requested.

 

110714HildebrandtFig6

Figure 6: These are your search options when search by CRTL+H is requested.

 

110714HildebrandtFig7

Figure 7: Here are your search results on the basis of the specified search parameters.

 

Message File Search

If you're working with message files, you'll appreciate the iSphere Message File Search. It works the same way iSphere Source File Search works, so no additional explanation is necessary.

 

110714HildebrandtFig8

Figure 8: Here are your search options when search by RSE Filters is requested.

 

110714HildebrandtFig9

Figure 9: Here are your search options when search by CRTL+H is requested.

 

110714HildebrandtFig10

Figure 10: Here are your search results on the basis of the specified search parameters.

 

Compare/Merge Editor

One of the most interesting features of iSphere is the Compare/Merge Editor. There's also a compare feature natively available in RDi. But with iSphere you also can open the editor in merge mode. This means you can merge the changes of the source member on the right side with the source member on the left side. And it's very easy. In RSE, just select the two source members you want to compare, open the context menu, and select "iSphere Compare Editor." Even a three-way compare is possible. To do a three-way compare, you select only one source member in RSE. After selecting "iSphere Compare Editor" from the context menu, you can specify the second and the third source member for the compare.

 

110714HildebrandtFig11 

Figure 11: This dialog is presented when two source members are selected.

 

110714HildebrandtFig12

Figure 12: Compare source members on the left and on the right sides.

 

Spooled File Subsystem

RDi has native support for spooled files. But the iSphere Spooled File Subsystem is much better than RDi's native implementation. You can open spooled files not only in textual format, but also in PDF and HTML format. And you even can save the spooled file in every format on your PC.

 

110714HildebrandtFig13

Figure 13: View the Spooled Files Subsystem with spooled files and opened context menu.

 

LPEX Task Tags

Task Tags are used as a reminder for any work or action that needs to be done by a programmer on any given source code. Basically, tasks are added to a source member as comments composed of a string (= tag) followed by a short description. Well-known task tags are TODO and FIXME. Once you have opened a source member with the LPEX editor, the task tags within the source will be displayed in the Tasks view. If you click on one of the task tags in the Task view, the task tag will be displayed in the LPEX editor.

 

110714HildebrandtFig14

Figure 14: View the source member with task tags displayed in Tasks View.

 

Label Decorator

When you're working with PDM in green-screen, you always see the descriptive text for objects and members. In the RSE, this text is missing. Again, iSphere has a solution. Activate the iSphere Label Decorator, and you'll see the description next to your objects and members.

 

110714HildebrandtFig15

Figure 15: Here's the resolved filter in RSE with objects and description.

 

RSE Filter Management

Many people spend a lot of time creating their filters. But what if you want to share your filters with your colleagues or you want to synchronize your filters if you're working on a computer in your office and at home? Without iSphere, you have to create your filters for every workspace manually. With iSphere, you can use the cool RSE Filter Management feature. You can export one filter or all your filters from your workspace to a repository (XML File). You can also import one or all filters from a repository to your workspace. To open RSE Filter Management, just click on the symbol that looks like a sun in the Remote Systems Explorer.

 

110714HildebrandtFig16

Figure 16: This entry dialog shows when starting RSE Filter Management.

 

110714HildebrandtFig17

Figure 17: You can see the editing dialog with workspace and repository filters.

 

Conclusion

As you can see, iSphere is really a must-have tool for everyone who is developing with RDi. And the best part is that we have even more great plans for the future. iSphere is growing, and a lot of ideas for new features are waiting to be realized.

 

Currently, the core team of development consists of Frank Hildebrandt (Task Force) and Thomas Raddatz (Tools/400). Are you willing to contribute to iSphere? We'd love to have you join us!

 

You can get iSphere here.

 

Frank Hildebrandt

Frank Hildebrandt is Co-Founder and CTO of Task Force IT-Consulting GmbH in Germany. He has deep technical skills regarding IBM i (AS/400) development. Starting his software engineer career in 1981 in the age of 13 years with Commodore VC20 and C64 with Basic and Assembler now his primary development languages are RPG IV, SQL and Java. Frank is mainly responsible for the development of the Task Force flagship CMOne. CMOne is a Change Management System for IBM i, Windows, Unix and Linux and completely integrated into Rational Developer for i (RDi). Frank is also a contributor to several important open-source projects for the IBM i community like iSphere for RDi, TN5250J for RDi, and Rapid Fire.

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$0.00 Raised:
$

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: