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



It works in other programs for me as well.

On Sat, Mar 10, 2018, 6:39 AM Stuart Rowe <rowestu@xxxxxxxxx> wrote:

Strange -- I copied all of your code into one of my programs and the
outline is complete and accurate. I have RDi 9.6.0.0 (no updates applied
yet).


On Fri, Mar 9, 2018 at 3:07 PM, Brian May <bmay@xxxxxxxxxxxxxxxxx> wrote:

Mark, are you sure that your library list for your connection contains
the
libraries with the copybooks?

Brian May
Director
Pre-Sales and Customer Solutions
Profound Logic Software
http://www.profoundlogic.com
937-439-7925 Phone
877-224-7768 Toll Free


The IBM i Modernization Experts
www.profoundlogic.com


UPCOMING WEBINAR
Make Modern Apps You’ll Love with Profound UI & Profound.js
Learn how to deliver beautiful business applications using RPG and
Node.js.
REGISTER NOW ✎


-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxx> On Behalf Of Mark Murphy
Sent: Friday, March 9, 2018 2:57 PM
To: Rational Developer for IBM i / Websphere Development Studio Client
for
System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Outline not working at all for some programs.

Ok, found it. When I commented out this LikeDS, it started working. This
is a file feedback data structure template, I have it in a lot of
programs.

dcl-ds fb LikeDs(dspf_fb_t);

The template is in a copy book, it looks like this:

// Display Feedback area templates
dcl-ds Dspf_Open_t Len(160) Qualified Template;
OdpType Char(2); // ODP Type
FileName Char(10); // File name
FileLibrary Char(10); // Library name
MaxRecordLength Int(5) Pos(45); // Max record len
FileType Int(5) Pos(67); // File type
NumberOfLines Int(5) Pos(72); // Num PRT/DSP rows
NumberOfChars Int(5); // Num PRT/DSP cols
MaxBlockRecords Int(5) Pos(106); // Max rcds in blk
BlockIncrement Int(5) Pos(110); // Blk increment
Flags1 Char(1) Pos(116); // Misc flags
RequesterDevice Char(10); // Requester name
FileOpenCount Int(5); // Open count
Flags2 Char(1) Pos(133); // Misc flags
OpenId Char(2); // Open identifier
MaxFormatLength Int(5); // Max rcd fmt len
Ccsid Int(5); // Database CCSID
Flags3 Char(1); // Misc flags
DeviceCount Int(5) Pos(147); // Num devs defined
end-ds;
dcl-ds Display_t Qualified Template;
Flags1 Char(2); // Bit Flags
Key Char(1); // Attention
Indicator
Byte (key press)
CursorRow Int(3); // Cursor Location -
Row
CursorCol Int(3); // -
Column
DataLength Int(10); // Data Length
SflRrn Int(5); // Subfile Relative
Record Number
MinSflRrn Int(5); // Lowest Subfile
Record on screen
SflRecordCount Int(5); // Total Records in
Subfiles
WndCursorRow Int(3); // Cursor Location
- Row
WndCursorCol Int(3); // relative to
window
- Column
MajorReturnCode Char(2) Pos(35); // Major return code
MinorReturnCode Char(2); // Minor return code
end-ds;
dcl-ds dspf_fb_t Qualified Template;
file LikeDs(file_t);
opn LikeDs(dspf_open_t);
io LikeDs(io_t);
dsp LikeDs(display_t);
end-ds;

The outline in the copy book works fine!

The templates for file_t and io_t are in yet another copy book, they look
like this:

// Feedback area templates
dcl-ds File_t Len(80) Qualified Template;
FileName Char(8); // *FILE
FileOpen Ind; // File Open
Indicator
EndOfFile Ind; // End of File
Indicator
Status Zoned(5:0); // *STATUS
Operation Char(6); // *OPCODE
Routine Char(8); // *ROUTINE
Statement Char(8); // Source line/stmt
number
Record Char(8); // *RECORD
MessageId Char(7); // Machine or system
message number
ScreenSize Zoned(4:0) Pos(67); // *SIZE
KeyboardType Zoned(2:0); // *INP
DisplayType Zoned(2:0); // *OUT
Mode Zoned(2:0); // *MODE
SourceId Int(5); // Source ID
end-ds;

dcl-ds Io_t Len(126) Qualified Template;
WriteCount Int(10) Pos(3); // Write Count
ReadCount Int(10); // Read Count
WriteReadCount Int(10); // Write-Read Count
OtherOpCount Int(10); // Other Operation
Count
CurrentOperation Char(1) Pos(20); // Current Operation
RecordFormat Char(10); // Record Format
DeviceClass Char(2); // Device Class
DeviceName Char(10); // Device Name
RecordLength Int(10); // Record Length
end-ds;

Outline works fine in this copy book as well.


On Fri, Mar 9, 2018 at 3:29 PM, Steve Ferrell <
Steve.Ferrell@xxxxxxxxxxxxxxx
wrote:

Mark, it looks like one of your LIKE statements are failing in the
LEXER.

Do you have a LIKEDS that contain .AND or .OR?

Or can you narrow down to what LIKE statement is failing?

Steve Ferrell
www.helpsystems.com


-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark
Murphy
Sent: Friday, March 09, 2018 2:22 PM
To: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Outline not working at all for some programs.

I looked at the "Error Log" view, and found this:

eclipse.buildId=unknown
java.fullversion=JRE 1.8.0 IBM J9 2.8 Windows 7 amd64-64 Compressed
References 20170722_357405 (JIT enabled, AOT enabled) J9VM -
R28_20170722_0201_B357405 JIT - tr.r14.java_20170722_357405
GC - R28_20170722_0201_B357405_CMPRSS
J9CL - 20170722_357405
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework
arguments: -product com.ibm.rational.developer.ibmi.product.ide
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product
com.ibm.rational.developer.ibmi.product.ide

org.eclipse.rse.ui
Error
Fri Mar 09 15:13:42 EST 2018
Exception when parsing JCRRI.SQLRPGLE

java.util.ConcurrentModificationException
at
org.eclipse.emf.common.util.AbstractEList$EIterator.
checkModCount(AbstractEList.java:758)
at
org.eclipse.emf.common.util.AbstractEList$EIterator.
doNext(AbstractEList.java:706)
at
org.eclipse.emf.common.util.AbstractEList$EIterator.next(
AbstractEList.java:692)
at
com.ibm.etools.iseries.rpgle.DataScope.populateLikeInDspecs(
DataScope.java:1100)
at
com.ibm.etools.iseries.rpgle.RpgleFactory.createRPGModel(
RpgleFactory.java:1623)
at
com.ibm.etools.iseries.rpgle.parser.RPGParser.ruleAction(
RPGParser.java:177)
at
lpg.runtime.BacktrackingParser.process_reductions(BacktrackingParser.
java:352)
at lpg.runtime.BacktrackingParser.parseActions(
BacktrackingParser.java:395)
at
lpg.runtime.BacktrackingParser.fuzzyParseEntry(
BacktrackingParser.java:223)
at
lpg.runtime.BacktrackingParser.fuzzyParse(BacktrackingParser.java:173)
at com.ibm.etools.iseries.rpgle.parser.RPGParser.parser(
RPGParser.java:147)
at
com.ibm.etools.iseries.rpgle.parser.RPGParseController.
parse(RPGParseController.java:124)
at
com.ibm.etools.iseries.edit.language.model.RpgIleParseJob.
parse(RpgIleParseJob.java:156)
at
com.ibm.etools.iseries.edit.language.model.RpgIleParseJob.
run(RpgIleParseJob.java:96)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


On Fri, Mar 9, 2018 at 3:13 PM, Mark Murphy <jmarkmurphy@xxxxxxxxx>
wrote:

This is a working program. It compiles fine, there are no markers on
the side. I just need to research the program, and it is much harder
without outline. As I said it was working the other day. I have made
no
changes.

Unfortunately, I am in a position where I am unable to submit PMR's.

On Fri, Mar 9, 2018 at 1:29 PM, Buck Calabro <kc2hiz@xxxxxxxxx>
wrote:

On 3/9/2018 10:31 AM, Jon Paris wrote:
Any yellow warning markers in the left or right hand side of the
edit
window?
FWIW, I have reported at least one false parser syntax error, and
the team seem very willing to chase these down and fix them. I
think they need a PMR though...

--
--buck

http://wiki.midrange.com
Your updates make it better!

--
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: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
https://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: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at https://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: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at https://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: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://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: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://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: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://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.