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
FOC1377 in MODIFY
 Login/Join
 
Member
posted
Hello

this process gives error FOC1377
some idea? , thanks


..
..
ON TABLE HOLD AS ELIL
END
-RUN






FILEDEF DADES DISK elil.ftm
-RUN

MODIFY FILE LLETAUDI
FIXFORM LAREFE/15 LANUMP/2
MATCH LAREFE
ON MATCH DELETE
ON NOMATCH REJECT
DATA ON DADES
END
-RUN
 
Posts: 20 | Location: Girona (CAT) | Registered: November 30, 2004Report This Post
Expert
posted Hide Post
Hi Joan,

The full error message for that error is -


0(FOC1377) UPDATE OR DELETE FOR KEYS=0 NOT SUPPORTED FOR SUFFIX %1%2%3%4
An error occurred during execution of a MODIFY procedure during an
attempt to issue an UPDATE or DELETE for a table that does not have a
unique key, because the RDBMS (specified by the file suffix) does not
support the syntactic construction "WHERE CURRENT OF cursor_name".

What type is your database LLETAUDI?
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
Thanks Tony

LLETAUDI its a ORACLE Database

FILE=LLETAUDI, SUFFIX=SQLORA ,$
SEGNAME=LLETAUDI, SEGTYPE=S0 ,$
FIELD=LAREFE ,LAREFE, ,A15 ,MISSING=OFF,$
FIELD=LANUMP ,LANUMP, ,A2 ,MISSING=OFF,$ FIELD=LACTCA ,LACTCA, ,A18 ,MISSING=OFF,$ .
.
.

and the code its a migration from FOCUS/UNIX to Webfocus
 
Posts: 20 | Location: Girona (CAT) | Registered: November 30, 2004Report This Post
Guru
posted Hide Post
Joan,

make sure you've got KEYS=1 in the .acx and make sure you save the file with HOLD FORMAT ALPHA.
 
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004Report This Post
Member
posted Hide Post
H Lidholm you are all the right

I had KEYS=0
I have changed by KEYS=2 in .acx

Bu as MODIFY did not work, i have had to change my code by


-*----------------------------------------
FILEDEF DADES DISK elil.ftm
-RUN

MAINTAIN FILE LLETAUDI AND elil
FOR ALL NEXT elil INTO DelStack;
FOR ALL DELETE LLETAUDI FROM DelStack;
END
-RUN
-*----------------------------------------

This way it works, thanks for everything
 
Posts: 20 | Location: Girona (CAT) | Registered: November 30, 2004Report This Post
Expert
posted Hide Post
Joan,

As you changed the keys to 2 the MODIFY would probably have worked if -

MODIFY FILE LLETAUDI
FIXFORM LAREFE/15 LANUMP/2
MATCH LAREFE LANUMP
ON MATCH DELETE
ON NOMATCH REJECT
DATA ON DADES
END
-RUN

?????

Which is why Lidholm mentioned the KEYS=1 change.
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders