Steve,
That should work. But, do you have any yellow marks on the side of your LPEX window. Which might indicate a possible syntax error?
Sometimes a parsing/syntax error will stop the formatter from working. Check the "Error Log" view. That might give an indication of a possible error. After you check for syntax errors FIRST. <hint hint>
This is IBM first pass at the formatter, I use the Linoma RPG Wizard to format my code inside of RDI 9.5.1.2. They have been doing code RPGLE formatting for decades. I have been using their product since the mid 90's and I love it!
And it does not change all the dates on the source code, like the IBM RPGLE formatter.
You might have found a bug, so report it to IBM. Probably send them the code you are trying to format.
I have already report some bugs to the formatter by IBM. Back when it first came out. They said to use more experienced tools like the RPG-toolbox and/or Arcade.
http://www.linomasoftware.com/products/rpg-toolbox
--or--
https://arcadsoftware.com/resource-items/arcad-transformer-rpg-free-format-rpg-conversion/
I prefer the Linoma RPG toolbox myself. Being using it for over 2 decades! <Joy Joy>
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Steve Jones
Sent: Thursday, July 6, 2017 12:50 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] RPG Format Shift-Ctrl-F fails
rpgle
On Thu, Jul 6, 2017 at 12:44 PM, Ken Killian <kkillian@xxxxxxxxxxxx> wrote:
What is your source member type?
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Steve
Jones
Sent: Thursday, July 6, 2017 12:41 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: [WDSCI-L] RPG Format Shift-Ctrl-F fails
Using RDi 9.5.1.2 & I get a Formatting failed: No model available -
when I try to format my code.
Same error if I do Source - Format :-(
Thanks!
--
Steve Jones
--
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.
--
Steve Jones
H-P Products, Inc
330-871-2054
--
NOTE: The information in this email is confidential and may be legally privileged. If you are not the intended recipient, you must not read, use or disseminate the information; please advise the sender immediately by reply email and delete this message and any attachments without retaining a copy. Although this email and any attachments are believed to be free of any virus or other defect that may affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by H-P Products, Inc. for any loss or damage arising in any way from its use.
--
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.