The java class is case sensitive.
The sample has been around as long as I can remember.
The command line is in the LPEX editor. In RDI, RPGLE source opens in the LPEX editor. There is a command line at the bottom (or top depending on your settings) that can be used to execute actions.
Not to be confused with the place in the "Commands Log" view where you enter iSeries commands.
Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Dan
Sent: Wednesday, May 17, 2017 5:17 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Is there a way to turn off updating source line change date in RDi?
This would also be nice to use when you want to set all of the dates in the source to zero, which we do for all new programs.
Unfortunately, this does not appear to be working for me. Either by the shortcut key I've assigned, or by entering "action setDate" on RDi's command line, no dialog appears prompting me for a date. FWIW, RDi
v9.5.1.1 on Win7.
- Dan
On Wed, May 17, 2017 at 3:01 PM, Hiebert, Chris < chris.hiebert@xxxxxxxxxxxxxx> wrote:
There is a Sample included with RDI that allows you to specifically
set the date of the source line.
In Preferences, LPEX Editor, User Actions:
Name: "setDate"
Class Name: "com.ibm.lpex.samples.SetDateAction"
In the LPEX editor:
With your cursor on the line you want to change you press Escape to go
to the control line, then type "action setDate".
The LPEX line prompts you to key the new date.
I've used this from time to time to reset dates back for lines that
got spaced through on accident.
Or when someone copies a line to duplicate it, and then updates the
old line instead of the new line.
Chris Hiebert
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.