× 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,

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


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.