yantzi's Profile

  • Name: Donald Yantzi
  • Email: (Private)
  • Member Since: May 9, 2008
  • Last Logged In: Nov 20, 2009 2:16 PM
  • Status Level:  
  • Location: IBM Toronto Lab
  • Occupation: Technical Lead Rational Developer for System i

yantzi's Latest Content

I get this question a lot: "can I set the set the Date field for a line or selection of lines in the Remote Systems LPEX Editor". The good news is that it's possible. The not so bad news is that you have to setup some simple preferences to make this happen.

First, to show the Date field in the LPEX Editor you need to right click in the editor and select Source > Show Date Area. You can also set the Show date area preference on the Remote Systems > Remote Systems LPEX Editor preference page so you don't have to do this every time you open a member.

LPEX ships a bunch of sample actions, one of which is setDate. This is the action that can set the date field for a line or selection of lines. Here are the steps to set this up:

1. Open the preferences dialog (Window > Preferences).

2. Switch to the LPEX > User Actions page. Enter the following values and click Set (don't forget to click Set or this doesn't add it to the table):

Name: setDate
Class name: com.ibm.lpex.samples.SetDateAction

userActions.gif

3. Click Apply.

4. Now you need to assign a keyboard shortcut to the action so it's easy to invoke from the editor. Switch to the user key actions preference page. Enter the following values and click Set.

Key: c-s-t
Action: setDate

The c-s-t sets the keyboard shortcut to Ctrl + Shift + T. You can enter any keyboard shortcut you want here.

keyActions.gif

5. Click Apply and close the preferences dialog.

When you are inside the LPEX editor you can now invoke the new action. Position the cursor on the line you want to change, or select the block of lines to change. Hint: to select the entire file press Ctrl + Home, then hold down Shift and press Ctrl + End.

Then invoke the action by pressing Ctrl + Shift + T. A dialog box appears at the bottom of the editor prompting for the new date.

newDate.gif

While we're on the topic, RDi 7.5 added a new Find Date action to LPEX. Press Ctrl + Shift + D to search for lines that match a specific date, are greater than or less than a date, or match a range.

Alternatively you could move to a change management system like Rational Team Concert for i and stop relying on Date fields to detect when things are changed :)

0 Comments Permalink

Over the past 2 months I've been doing a monthly webcast series with Sirius Computer Solutions on Rational Developer for i (RDi). The format is generall 40 min deep dive on a specific topic, 10 min preview of the next month's topic, and 10 mins for Q&A.

So far we have covered an overview and a deep dive on RSE. The webcasts are being recorded and are available for playback.

The next one is this coming Friday (November 13th) and will cover the Integrated i Debugger; one of my favorite RDi topics because it's so easy to use and something I have to use often when coding RPG, COBOL, or CL :(

Here are the details for the upcoming call:

Topic: RDi webcast 3 - Debugger
Date: Friday, November 13, 2009
Time: 11:00 am, Eastern Standard Time
Meeting Number: 557 432 806

1-877-369-7289 passcode 7541 then you need to enter 2468.



To join the online meeting (Now from iPhones too!)

1. Go to https://sirius.webex.com/sirius/j.php?ED=112887842&UID=0
2. Enter your name and email address.
3. Enter the meeting password: (This meeting does not require a password.)
4. Click "Join Now".

Hope to see you in one of the upcoming webcasts.

Don.

1 Comments Permalink

We get a lot of questions about SQL tools and Rational Developer for i (RDi). While we didn't ship the Eclipse Data Tools Platform (SQL tooling) in RDi 7.1 or 7.5, they can be added in after the fact. This is one of the great advantages of an extensible, integrated development environment like Eclipse (which RDi is built on top of). Dmitry Baev, one of the RDi developers, has a new article published in IBM Systems Magazine on Using the Eclipse Data Tools Platform and SQL Tools with RDi.

0 Comments Permalink

Brainstorm with co-workers, get your questions answered, build status with your responses.