× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Edmund,

Yes, I made sure the externally described file is in my lib list.

I can do better than just send you the source for the PF.

I’ve created the little test program, (including DDL to create file) that illustrates the issue (http://bit.ly/1WlpT9P <http://bit.ly/1WlpT9P>). The bottom line is that when instancing a DS from a DS-template based upon an externally defined file, where the template renames the external field names, the outline chokes.

If the template does not rename fields, or if the DS is defined without using the template, the outline works as expected.

Btw, when I say the outline doesn’t work, I mean that outline shows files and data structures up to and including the DS template, but nothing after that (ex. ‘Fields’, 'Indicators’, ‘Prototypes’, etc. are not displayed).

HTH.



On Sep 23, 2015, at 5:41 PM, Edmund Reinhardt <edmund.reinhardt@xxxxxxxxxx> wrote:

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.

--
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.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.