John,
Are you sure that the PF/LF being referenced by the EXTFLD keywords is
found in your library list? If so, could you send me the PF source so I
can reproduce.
From: John Joiner <john@xxxxxxxxxxxxxx>
To: Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Date: 09/21/2015 07:25 PM
Subject: Re: [WDSCI-L] RDi 9.5 RPG Formatter (Ctrl+Shift+F) error:
Formattingfailed: Nomodel available.
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
Edmund,
I went through an exercise of commenting out code in one of the source
members where the outline view was not correct until the outline view
populated correctly.
All of our RPGLE and SQLRPGLE programs /COPY in a source member that we
call VARS, which contains templates for our enterprise data types. One of
these templates is an external data structure where we are renaming
external field names, and when I comment out this template (or more
specifically the lines that rename external fields), the outline comes to
life.
This is the template causing the problem:
// Standard security parameter structure
D tSecPrmDS E DS extname(SECPRM)
D qualified inz template
D inJobNam E extfld(siJobS)
D inJobFtr E extfld(siJobF)
D inUser E extfld(siUser)
D inAuthCode E extfld(siAuth)
D inAskStore E extfld(siAskS)
D inStore E extfld(siCCod)
D inProbe E extfld(siProb)
D inWrkStn E extfld(siWsID)
D inLvlChk E extfld(siLevl)
D inChgStore E extfld(siChng)
D outUser E extfld(soUser)
D outStore E extfld(soCCod)
D outAuth E extfld(soGNoG)
D outDrwr E extfld(soDraw)
D outWrkStn E extfld(soWsID)
D outEmpNam E extfld(soEmpN)
D outEmpInit E extfld(soEmpI)
D outSlsMan E extfld(soSlmn)
When I comment out the ‘extfld’ lines, the outline works.
Odd thing is that with auto-update of the outline turned off, a manual
refresh of the outline works just fine.
HTH.
JJ
On Sep 21, 2015, at 4:23 PM, John Joiner <john@xxxxxxxxxxxxxx> wrote:
Edmund,
<snip>
The indentation action is dependent on the live RPG model, so it will
not
work without the auto-update.
<snip>
Good to know.
<snip>
If you are having problems with the
auto-updated outline, please let us know.
<snip>
in my case, with auto-outline turned on, the outline view only contains
“Files” and “Data Structures”. This is true for any of our free-format
RPGLE and SQLRPGLE source members, however our older fixed format OPM code
looks correct in the outline view.
When I switch off the auto-update of the outline view, then manually
update the outline, all sections are displayed as they did in RDi 9.1.1.1.
Thanks.
JJ
--
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.