RDI: “Three tips for a quick start”.

After the introduction we had with the previous post (see the link https://linkedibmi.com/2018/03/03/introduction-use-rdi/)  I would share a few tips to quickly start to use RDI or a similar tool for your daily activities.

I will focus in this post on these there aspects in particular:

  • Sections and source management 
  • Source compare
  • String Search

 

SECTIONS AND SOURCE MANAGEMENT

As we saw in the last post we could manage these sections:

SECTION1 Project Navigator

SECTION2 LPEX Editor

SECTION3 Outline

SECTION4 Remote System Explorer

SECTION5 Logs(errors, activities, processes and so on)

 

This is the panel if you are in the “IBM i project” view:

 

This is the similar panel if you are in the “Remote System” view:

 

Now, as you can see, we are using sources about the JRCMD tools.

If you select one of this source, you could have a look at his properties, in the low and left side of the screen and in the central part of the screen you could see and edit the program source:

 

Note that on the right side you could have access to the OUTLINE , rich of a lot of information:

 

For example you could search for the File used in your source. You have the exact line where the file is used:

Or try to have a look for a Printer file:

Or search for fields:

Or for Indicator:

Or more deeply have  a look at the entire Structure of the program:

 

 

SOURCE COMPARE

Now if we try to select a source and execute a copy with right click, we could note the log message for a confirm of the copy execution:

 

If we select the new source and we try to change something, we could examine the two sources to get the differences. By right click on the sources I can select the menu “Compare each other“:

 

 

A new tabbed will be showed where the sources are next to each other and the differences are listed and highlighted:

 

Note that on the right side you could see the differences in a sequence and select one of them:

 

From the 9.6 version of RDI changes could be moved from a source to another as you want.

 

 

STRING SEARCH

One of the most useful thing you will surely use is the String Search. Select “IBM i” from the menu “Find“:

 

A new window appears, where you could insert the search string and define the connection, the library or other parameters to easily use. For example you could limit the search in a range of columns:

 

The log section will show you the results:

 

As the usual you could see all the details in a bigger window by double-click on it. You could analyze both the row number and how many sources has been found by the search:

Leave a Reply

Your email address will not be published. Required fields are marked *