Page 1 of 1
DCM9898 Feature name is not a member of component type
Posted: Fri Oct 13, 2023 6:12 am
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.
Re: DCM9898 Feature name is not a member of component type
Posted: Fri Oct 13, 2023 9:47 pm
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é
Re: DCM9898 Feature name is not a member of component type
Posted: Fri Oct 13, 2023 10:27 pm
by srini87
what is your VL version, EPC level? Please try System Initialization, Partition Initialization. You are missing some components in partition.
Re: DCM9898 Feature name is not a member of component type
Posted: Fri Oct 13, 2023 10:52 pm
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é
Re: DCM9898 Feature name is not a member of component type
Posted: Sat Oct 14, 2023 1:40 am
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 (22.05 KiB) Viewed 45574 times
Here's screenshot for RBPNM with Methods; SetZero is also not there

- Capture RBP.PNG (5.79 KiB) Viewed 45574 times

- Capture Methods.PNG (4.5 KiB) Viewed 45574 times
Re: DCM9898 Feature name is not a member of component type
Posted: Sat Oct 14, 2023 1:42 am
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.
Re: DCM9898 Feature name is not a member of component type
Posted: Sat Oct 14, 2023 2:46 am
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 (114.69 KiB) Viewed 45570 times
Kind regards,
René
Re: DCM9898 Feature name is not a member of component type
Posted: Sat Oct 14, 2023 2:54 am
by René Houba
If you do a Text Search:

- Find (Text Search) 1.PNG (49.42 KiB) Viewed 45570 times
Fill in SETZERO, select in left list components to search and use the Select button:

- Find (Text Search) 2.PNG (22.45 KiB) Viewed 45570 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 (16.74 KiB) Viewed 45570 times
Kind regards,
René
Re: DCM9898 Feature name is not a member of component type
Posted: Tue Oct 17, 2023 2:57 am
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
Re: DCM9898 Feature name is not a member of component type
Posted: Fri Oct 20, 2023 1:25 am
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 (3.46 KiB) Viewed 45349 times
Thanks all for the help!