DCM9898 Feature name is not a member of component type

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
IQHGWC
Posts: 9
Joined: Thu Jun 01, 2023 10:40 pm

DCM9898 Feature name is not a member of component type

Post by IQHGWC »

My background is IBM Iseries (RPG) programming. I am new to Visual Lansa.
I just checked out read-only and trying to get a clean compile before I add my changes. However, I am getting an error.

I am getting this error:
DCM9898/Feature name SetZero is not a member of component type RBPNM.

Below is the code snippet:
Invoke Method(#com_self.SetZero) Inrate(#fntext30b) Outrate(#fntext30a)

Appreciate your help on how to approach this issue.
Attachments
DCM9898.PNG
DCM9898.PNG (3.04 KiB) Viewed 45604 times
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: DCM9898 Feature name is not a member of component type

Post by René Houba »

Hi IQHGWC,

Can you share the complete source (or is it to big).

It searches probably for a method routine (mthroutine) which is defined in an ancestor component. If so, and you don't have the source of that ancester component in your environment loaded, you can get a message like this.

Do you have in your source for example a command like this:
Mthroutine Name(SetZero) Options(*REDEFINE)

Kind regards,
René
srini87
Posts: 6
Joined: Fri Oct 09, 2020 4:21 pm

Re: DCM9898 Feature name is not a member of component type

Post by srini87 »

what is your VL version, EPC level? Please try System Initialization, Partition Initialization. You are missing some components in partition.
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: DCM9898 Feature name is not a member of component type

Post by René Houba »

Hi Srini,

I don't think that there is a need for a Partition init, because component RBPNM (and method SetZero) is not a LANSA Component.

I think what happened is this:
Component RBPNM was checked out (from iSeries to Windows) and this has related components, which has not been checked out yet.


Kind regards,
René
IQHGWC
Posts: 9
Joined: Thu Jun 01, 2023 10:40 pm

Re: DCM9898 Feature name is not a member of component type

Post by IQHGWC »

René Houba wrote: Fri Oct 13, 2023 10:52 pm Hi Srini,

I don't think that there is a need for a Partition init, because component RBPNM (and method SetZero) is not a LANSA Component.

I think what happened is this:
Component RBPNM was checked out (from iSeries to Windows) and this has related components, which has not been checked out yet.


Kind regards,
René
But how do I identify what else is missing?

Here's the capture for Extends - I don't see the SetZero method:
Capture Extends.PNG
Capture Extends.PNG (22.05 KiB) Viewed 45579 times
Here's screenshot for RBPNM with Methods; SetZero is also not there
Capture RBP.PNG
Capture RBP.PNG (5.79 KiB) Viewed 45579 times
Capture Methods.PNG
Capture Methods.PNG (4.5 KiB) Viewed 45579 times
IQHGWC
Posts: 9
Joined: Thu Jun 01, 2023 10:40 pm

Re: DCM9898 Feature name is not a member of component type

Post by IQHGWC »

René Houba wrote: Fri Oct 13, 2023 9:47 pm Hi IQHGWC,

Can you share the complete source (or is it to big).

It searches probably for a method routine (mthroutine) which is defined in an ancestor component. If so, and you don't have the source of that ancester component in your environment loaded, you can get a message like this.

Do you have in your source for example a command like this:
Mthroutine Name(SetZero) Options(*REDEFINE)

Kind regards,
René
Mthroutine Name(SetZero) Options(*REDEFINE) -- I don't see this in the source.
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: DCM9898 Feature name is not a member of component type

Post by René Houba »

Hi IQHGWC,

If you use your right mouse button on a component and select "Cross Reference" you see related components:
Cross Reference.PNG
Cross Reference.PNG (114.69 KiB) Viewed 45575 times
Kind regards,
René
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: DCM9898 Feature name is not a member of component type

Post by René Houba »

If you do a Text Search:
Find (Text Search) 1.PNG
Find (Text Search) 1.PNG (49.42 KiB) Viewed 45575 times
Fill in SETZERO, select in left list components to search and use the Select button:
Find (Text Search) 2.PNG
Find (Text Search) 2.PNG (22.45 KiB) Viewed 45575 times
What do you see then (I have zero results of course, because I do not have anything related to "SETZERO":
Find (Text Search) 3.PNG
Find (Text Search) 3.PNG (16.74 KiB) Viewed 45575 times
Kind regards,
René
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: DCM9898 Feature name is not a member of component type

Post by atostaine »

IQHGWC wrote: Fri Oct 13, 2023 6:12 am My background is IBM Iseries (RPG) programming. I am new to Visual Lansa.
I just checked out read-only and trying to get a clean compile before I add my changes. However, I am getting an error.

I am getting this error:
DCM9898/Feature name SetZero is not a member of component type RBPNM.

Below is the code snippet:
Invoke Method(#com_self.SetZero) Inrate(#fntext30b) Outrate(#fntext30a)

Appreciate your help on how to approach this issue.
Is the component you are trying to compile RBPNM? Because it's using COM_SELF which means you should have a method in that component named SETZERO.

You must not have the latest source. Maybe the developer working on it hasn't checked it in complete?

Art
Art Tostaine
IQHGWC
Posts: 9
Joined: Thu Jun 01, 2023 10:40 pm

Re: DCM9898 Feature name is not a member of component type

Post by IQHGWC »

I was able to get a clean compile now.

It looks like the my RBPSO001 (which contains SetZero) is not updated in my repository.

I did a environment refresh to have it updated.
Capture RBPS.PNG
Capture RBPS.PNG (3.46 KiB) Viewed 45354 times
Thanks all for the help!
Post Reply