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



Hi Doug,

We've tested it here also, and agree with Brian that it does appear to be a defect.

Please contact IBM Support and open a case so we can address this issue.

Thanks!

Steve Ferrell
w. www.helpsystems.com



-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Brian Parkins
Sent: Monday, February 1, 2021 9:33 AM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Outline view bug?

External: Pause and review the sender's email address, any URLs before clicking links, opening attachments, or following requests. When in doubt, contact the Service Desk.


Doug, just be mindful that IN is the name of an Opcode. (To input the contents of a Data Area.) It would seem that old-style D-specs allow this, but maybe the RDi parser is being a little over rigorous?

Just for information, free-format coding of this DS would require the use of the DCL-SUBF keyword:

// Parser and compiler OK with this
DDS1 DS Qualified
D In 10A

// IN is an opcode - parser and compile error
Dcl-DS DS2 Qualified;
In Char(10);
End-DS;

// Parser and compiler OK with this
Dcl-DS DS3 Qualified;
Dcl-Subf In Char(10);
End-DS;

However, I >am< getting all manner of RDi parser errors (and a lack of Outline content) when coding:

DS1.In = 'One';
DS3.In = 'Three';

(With DS2 commented out, it all compiles just fine.) So RDi >really< doesn't like the use of IN as a variable name. I suspect there's a bug!

Brian.

On 01/02/2021 14:39, DEnglander--- via WDSCI-L wrote:
Mike,

I can't do that because the DS is defined using other formats. Here is
what it looks like, though:


Dtable2 DS Qualified
D Keys LikeRec(table1:*key)
D In LikeRec(table1:*input)
D Out LikeRec(table1:*output)


It does compile and has been running for at least a year now.

Rdi does not build the Outline view for this, unless I change all
".in" to
".in2 for example. When I change all ".in" to ".in2" the Outline view
appears, and the red Xs are gone.

In RDi, there is a red X in the left margin, that says: Terminating
Parser Error: "parameterList" expected after this token

Hope this helps.

Thank you,

Doug


"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments accompanying it) contain confidential information belonging to the sender. The information is intended only for the use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of the information is strictly prohibited. Any unauthorized interception of this transmission is illegal under the law. If you have received this transmission in error, please promptly notify the sender by reply e-mail, and then destroy all copies of the transmission."

--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.