| Title: | *OLD* ALL-IN-1 (tm) Support Conference |
| Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 |
| Moderator: | IOSG::PYE |
| Created: | Thu Jan 30 1992 |
| Last Modified: | Tue Jan 23 1996 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 4343 |
| Total number of notes: | 18308 |
A customer has a packaged application for which they've changed some
elements and wish to replace in the application store area and make a
"new" package application. To do this, they must first delete the
existing element. In attempting to do this they find the menu options
DS and XDS (delete stored) on form CM$STORE$INDEX will not work.
From the AM menu, enter SA (Store an Application) then SB (Store base
elements). On the argument form CM$STORE$BASE$FIND press return or
select an element.
On index form select an element and try to delete (DS) it. The delete
fails with:
Unalbe to delete element from the storage list.
A trace reveals that the XOP on "~~DELETE_STORE_RECORD~~" cannot be
found and executed. When we examined the named data for the DS option
on form CM$STORE$BASE$OPTIONS "~~DELETE_STORE_RECORD~~" wasn't there.
When we looked at the named data for DS, on the similar form
CM$STORE$SITE$OPTIONS, (used with the SS - Store site elements option)
we saw a slightly different coding that included a definition for
"~~DELETE_STORE_RECORD~~".
It looks like the named data on CM$STORE$BASE$OPTIONS was changed to
include
WRITE DELETE CM$STORE$SDC %KEY = #CM_STORE_KEY
as part of the XOP on "~~DELETE_STORE~~", without removing the XOP on
"~~DELETE_STORE_RECORD~~" reference.
What should the named data for option DS on form CM$STORE$BASE$OPTIONS
be?
/Mario
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 1706.1 | Code available, but in wrong place | CESARE::EIJS | All in 1 Piece | Tue Nov 03 1992 15:55 | 40 |
Hi Mario,
> What should the named data for option DS on form
> CM$STORE$BASE$OPTIONS be?
It should be:
.
XOP "~~DELETE_FILE~~"\
GET OA$STATUS = #CM_STATUS\
IFSTATUS\
OA$FAO CM$_TRN_DEL_ELE2,"OA$DISPLAY",#CM_STORE_KEY\FORCE
;;~~DELETE_STORE_RECORD~~;;
GET #WRITE_STATUS = 0\
WRITE DELETE CM$STORE$SDC %KEY = #CM_STORE_KEY\
GET #WRITE_STATUS = OA$STATUS
just as it is in CM$STORE$SITE$OPTIONS.FLX.
Please SPR.
Workaround looks a bit like 'the axe' approach:
Either:
<WRITE DELETE CM$STORE$SDC %KEY = OA$SCROLL_KEY
or:
Menu options AM SA DS
Sorry,
Simon
| |||||