Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
M
 Login/Join
 
Guru
posted
Hi,

I am reading the Tutorial and specially the part that talk about a Maintenance procedure.
I am using as table to maintain on of my tables.
But when I run the procedure I am getting the following error and I am not able to figure out
what is wrong.

Any Idea?

Regards.

(FOC03847) MntEX Compile failed for majid/ProductClub
(FOC03601) ERROR AT OR NEAR LINE 14 IN PROCEDURE majid/ProductClub.MAINTAIN
(FOC03730) :Non-NEXT access on non-keyed segment: is/are not supported in
Maintain.


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
 
Posts: 273 | Location: Europe | Registered: May 31, 2007Report This Post
Virtuoso
posted Hide Post
Can you post the maintain code, as seen from the maintain editor and the MFD and ACX.

My initial guess is a MATCH statement, but that could be incorrect.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Guru
posted Hide Post
Hi Alan

Thanks for your reply.
Here is the code:

-------------------------------------
MAINTAIN FILE table_1

$$Declarations

Case Top
Infer table_1.TABLE_1.PRODUCT into Table_1Stk;
Winform Show Form1;
-* Replace the Winform Show command with the following code
-* when to display your form in a non-persistent state
-* Winform Show_and_exit Form1;
EndCase


Here is the acx:


SEGNAME=TABLE_1, CARDINALITY=4, TABLENAME=V2Reporting.dbo.Table_1,
CONNECTION=MSSQL, KEYS=0, $


Regards.

Case addProd
For all include table_1.TABLE_1.PRODUCT from Table_1Stk ;

EndCase

END

--------------------------------


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
 
Posts: 273 | Location: Europe | Registered: May 31, 2007Report This Post
Virtuoso
posted Hide Post
Maintain does not allow you to update non keyed tables. Either use MODIFY or change the table/access file.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Expert
posted Hide Post
Majid,

Maintain is a complete different kettle of fish when compared to "standard" WebFOCUS and is not a lanuguage that you should try and learn on your own. WHilst it is possible I would cerntainly not recommend it.

Get yourself on an IB training course to ensure that the basics and priciples are covered in your learning path so that you can embrace your future coding with confidence.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Guru
posted Hide Post
Hi Alan,

Yes it was because my table does not have a primary key.

Tony,

I would love join a trainning session. But I have no power for that.

Thanks to all of you


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
 
Posts: 273 | Location: Europe | Registered: May 31, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders