Database problem / copy & delete failures

Dear all,
I work with five projects having interrelationships.
1.I had the reflection of a project
2.Reflection project was exported and sent to contractor as xer file.
3.xer file sent by contractor was imported into the reflection project and it was checked ,and it was ok.
4.so source project should have been deleted to eliminate the interrelationships which would not be valid anymore.
5.I tried to delete original project used for reflection (as source) and it could not have been deleted. (error message : PRMDB-3740-2)
6.TO be able to work , I had tried to copy 5 projects which have interrelationships with each other ( project intended to be deleted was not one of them ), copy could have not be completed and failed.
7.but 5 new projects are added to database with exactly the same project id's with the copied ones.
8.I've changed the names the secondary projects and now I'm working on them. But I have doubts if any problem would arise due to incomplete duplication.
your kind support will be highly appreciated.
hermis
thanks in advance.

Hi,
actually the process seems same as what I tried, but I work p6v7 and I do not have chance to merge the reflection if it is updated in another database !
If you have suggestions to be able to keep the project as "reflection" after imported the one sent by contractor, I'll try.
on the other hand , error messages are as follows :
PRMDB-3740-2 :
PRM DBAccess Error : Database Server Error : The statement has been terminated.
The DELETE statement conflicted with the REFERENCE constraint "fk_taskpred_task_2". The conflict occured in database "PMDB_HGMain",table"dbo.TASKPRED", column "pred_task_id".
when I press ignore and try to delete that project again the error message is :
TINAT-2680-D : There is no active transaction.
I'd like to understand the reason of the problem. Because this process will be done for each update !
thanks again,
hermis

Similar Messages

  • Problem When deleting record from database

    Hi ,
    I have a question. Firstly I'm using VB
    I have a problem about deleting any record from access database , That's the code I'm use it for add new item and it's work but it's not work when I tried to edit any rows " it's not want to Save" but work for add new Item.
    Try
    Me.Validate()
    Me.CustomerBindingSource.EndEdit()
    Me.CustomerTableAdapter.Update(Me.KonoDataSet.Customer)
    MsgBox("Update Successful")
    Catch ex As Exception
    MsgBox("Update Failed")
    End Try
    And That's my code for Deleting any record from database But it's not work and that's a problem.
    CustomerBindingSource.RemoveCurrent()
    CustomerBindingSource.EndEdit()
    Me.CustomerTableAdapter.Update(Me.KonoDataSet.Customer)
    Can anybody help me about that issue ?

    Hi kono20006000,
    Your issue seems really strange. I would recommend you make a troubleshooting.
    1.Made sure your code works with the single copy of the database. You could check if it scans hard drive for the database file name and check if it modifies dates on found files. You could check if you operate with the same database.
    2. Use the application update the record at the form_load event to see if it would work correctly.
    3.Check the table in update statement and the table in add statement.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Very strange bugs - Unexpected end-of-file - LR database problem

    I really like the concept and GUI of LR, but bugfixing is urgently needed. Of course I am not happy that I spent money for the current quality of software (Windows version).
    Before the problem described below occured I performed some develop actions on several images without any problems.
    After doing some simple cropping in the Develop module of LR the display for one single image became brown (in loupe and film strip). The problem is singular for one image.
    Then I restarted LR.
    Now LR displayed a message saying "Unexpected end-of-file" at top inside the image display. (Has anybody out there ever seen this?)
    That message is obviously misleading: The image NEF-file is untouched. The xmp sidecar is new of course. Apparently the database entry is broken!!!
    Deleting the xmp sidecar doesn't solve the problem.
    Then I told LR to remove the faulty image from the LR database without physically deleting it.
    Then I checked database consistency without any problem report.
    Then I tried to reconnect the image for that folder.
    The image is not reconnected. It doesn't show up in LR.
    Then I copied the image outside LR to a new folder and told LR to import the new folder.
    The image was not imported by LR. LR is saying it is a duplicate. Obviously it is not removed correctly from the LR database even I told LR to remove it.
    After some attempts (sorry I don't remember exactly) I could redisplay the problem image. Now the image is displayed correctly again. But LR is saying in a dialog box that I will be unable to make changes to that image. The grid display has a triangular exclamation sign (not a rectangular one!!!).
    Later I told LR to delete (not only remove) the image physically.
    Afterwards I copied the image into the OS folder.
    Afterwards I was able to reconnect the missing image to the LR folder.
    Afterwards I could continue working with the develop module at that image.
    BUG 1) Why could this problem occur at all? ("Unexpected end-of-file")
    BUG 2) Obviously the image has not been correctly removed from the LR database although I told LR to do this.
    No, my disks are not full.
    Platform Win XP, latest patch level

    Read more here:
    http://www.adobeforums.com/cgi-bin/webx/.3bc36fa6/1

  • Hi, the problem of deleting files / videos seeds desktop to go into Terminal and then sudo rm-rf ~ /. Trash Pohangina the answers I've had e of someone in her forum but when I write procedures line in Terminal as the Krever my password and it can not writ

    Hi, the problem of deleting files / videos seeds desktop to go into Terminal and then sudo rm-rf ~ /. Trash Pohangina the answers I've had e of someone in her forum but when I write procedures line in Terminal as the Krever my password and it can not write anything there, I write but nothing comes and my problem is not löst.När I want to delete the movie / video image Frin desktop still arrive Finder wants to make changes.Type your password to allow this. But even that I type my password file / video is left I need help in an easier way or another set-even those on the terminal that I can not type my password to solve the problem Regards Toni

    If you want to preserve the data on the boot drive, you must try to back up now, before you do anything else.
    There are several ways to back up a Mac that isn't fully working. You need an external hard drive to hold the backup data.
    1. Boot from the Recovery partition or from a local Time Machine backup volume (option key at startup.) Launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.”
    2. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, boot the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    3. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.

  • Problem in delete adjecent duplicates

    Hi All,
    i have a problem in delete adjacent duplicate in an internal table .
    when  i use it i want that the records which are getting doubled to be removed
    but i also want that if the value in that field is empty for which i am comparing , to be ignored means i dont want the records
    to be deleted in which the field value is empty for which i am comparing.
    snippet of my code
    delete ADJACENT DUPLICATES FROM xkomv COMPARING KSCHL.
    so if theere is no value in KSCHL THAT RECORD NOT TO BE DELETED .
    waiting for your reply..
    Thanks in advance

    Try the following,
    "delete ADJACENT DUPLICATES FROM xkomv COMPARING KSCHL.
    Before using the above statement do the following,
    u201C decalare a temporary table for u2018xkomvu2019 say u2018t_xkomvu2019, and copy the data.
    Refresh t_xkomv[].
    t_xkomv[] = xkomv[].
    Delete t_xkomv where KSCHL <> u2018  u2018.
    Delete xkomv where KSCHL =  u2018  u2018.
    u201C Sort xkomv and then use delete adjacent duplicates.
    And after this append data from t_xkomv to xkomv.
    Hope it helps you,
    Regards,
    Abhijit G. Borkar

  • Problem in deleting a member

    <p>Hi All<br>I have this problem in deletion of a member.<br>When I try to delete the member, i get an error saying that it isused in the form.<br>I checked the form and see this member is not attached to thatform.<br>please suggest to tackle this problem.<br>thanks in advance.<br></p>

    Hi guys Just a quick question, we use a relational database for metadata of planning. if that is the case than what does essbase has to do with planning? That thing is bothering me alot guys. I have a nice document on planning but I dont know the answer for this. Can somebody plz explain it to me I would really appreciate your effort guys, Thanks a million in advance.

  • Exchange 2007 Public Folder Database cannot be deleted

    We are in the process of decommissioning exchange 2007 server from 2007 <-> 2013 coexistence.
    All user MailboxDatabases have been sucsessfully removed, however PF Mailbox databases return an error. 
    “The public folder database 'Public Folder Database' cannot be deleted”
    Object is read only because it was created by a future version of Exchange: 0.10 (14.0.100.0). Current supported version is 0.1 (8.0.535.0).
    I am suspecting the presence for 2 OAB is the reason why we can’t delete Public folder database from 2007 server.
    Get-OfflineAddressBook on 2007 returns
    Name               
    Server             
    Versions           
    AddressLists
    Default Offline ... ex07                
    {Version4}         
    {\Default Global...
    Default Offline ... Offline Address ... {Version4}         
    {\Default Global...
    Get-OfflineAddressBook on 2013 returns
    Name                                   
    Versions                               
    AddressLists
    Default Offline Address Book           
    {Version4}                             
    {\Default Global Address List}
    Default Offline Address Book (Ex2012)  
    {Version4}                             
    {\Default Global Address List}
    Questions:
    How can I check if both exchange servers are still OAB generation servers?
    I am not sure if the previous service provider moved OAB,  can I potentially cause any problems by executing  
    Get-MailboxDatabase | Set-MailboxDatabase -OfflineAddressBook "\Default Offline Address Book (Ex2013)"
    Move-OfflineAddressBook -Identity "Default Offline Address Book" -Server EX13
      3. Is it safe to delete 2007 OAB ?
    Thanks

    Default and System public folders show up under PF Management Console, however their preview pane on the right says "There are no items to show in this view" for both of them.
    below is the output from Get-PublicFolderStatistics on ex07
    Name                                     ItemCount              
    LastAccessTime
    Marketing                                   479              
    1/4/2014 10:15:14 AM
    Default                                  0                
    3/16/2014 1:34:35 PM
    EX:/o=First Organization/ou=Exchange Adm 2                 3/13/2014 1:00:00 AM
    inistrative Group (FYDIBOHF23SPDLT)
    EX:/o=First Organization/ou=Exchange Adm 0                 3/13/2014 1:00:00 AM
    inistrative Group (FYDIBOHF23SPDLT)
    exchangeV1                               401              
    3/16/2014 1:34:35 PM
    globalevents                             0                
    3/16/2014 1:34:35 PM
    internal                                 0                
    3/16/2014 1:34:35 PM
    Sales                                     713              
    1/4/2014 10:15:15 AM
    microsoft                                0                
    3/16/2014 1:34:35 PM
    OAB Version 2                            0                 
    1/4/2014 4:09:49 AM
    OAB Version 3a                           0                 
    1/4/2014 4:09:49 AM
    OAB Version 4                            0                 
    1/4/2014 4:09:49 AM
    OWAScratchPad{8382AFC4-6D63-4804-AC49-7B 0                 3/16/2014 1:34:35 PM
    4FDA2A4514}
    schema-root                              0                
    3/16/2014 1:34:35 PM
    Accounting                                 953              
    1/4/2014 10:15:16 AM
    StoreEvents{8382AFC4-6D63-4804-AC49-7B4F 0                 3/16/2014 1:34:35 PM
    DA2A4514}
    /o=First Organization/cn=addrlists/cn=oa 0                 3/13/2014 1:00:00 AM
    bs/cn=Default Offline Address Book

  • Problem of deletion of rows in jtable, table refreshing too

    Hi,
    I have a table with empty rows in the beginning with some custom properties( columns have fixed width...), later user would be adding to the rows to this table and can delete, I've a problem while deleting the rows from table,
    When a selected row is deleted the model is also deleting the data but the table(view) is not refreshed.
    Actually i'm selecting a cell of a row, then hitting the delete button.
    So the model is deleting the information, but i'm not able to c the fresh data in table( especially when the last cell of last row is selectd and hit the delete button, i am getting lots of exception)
    Kindly copy the below code and execute it, and let me know,
    * AuditPanel.java
    * Created on August 30, 2002, 3:05 AM
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.table.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.util.Vector;
    * @author yaman
    public class AuditPanel extends javax.swing.JPanel {
    // These are the combobox values
    private String[] acceptenceOptions;
    private Vector colNames;
    private Color rowSelectionBackground = Color.yellow;
    private int rowHeight = 20;
    private int column0Width =70;
    private int column1Width =96;
    private int column2Width =327;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTable jTable1;
    /** Creates new form AuditPanel */
    public AuditPanel() {
    public void renderPanel(){
    initComponents();
    public String[] getAcceptenceOptions(){
    return acceptenceOptions;
    public void setAcceptenceOptions(String[] acceptenceOptions){
    this.acceptenceOptions = acceptenceOptions;
    public Vector getColumnNames(){
    return colNames;
    public void setColumnNames(Vector colNames){
    this.colNames = colNames;
    public Vector getData(){
    Vector dataVector = new Vector();
    /*dataVector.add(null);
    dataVector.add(null);
    dataVector.add(null);
    return dataVector;
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;
    jPanel2 = new javax.swing.JPanel();
    jButton1 = new javax.swing.JButton();
    jButton2 = new javax.swing.JButton();
    jPanel1 = new javax.swing.JPanel();
    jTable1 = new javax.swing.JTable();
    setLayout(new java.awt.GridBagLayout());
    setBorder(new javax.swing.border.EmptyBorder(0,0,0,0));
    jPanel2.setLayout(new java.awt.GridBagLayout());
    jPanel2.setBorder(new javax.swing.border.EmptyBorder(0,0,0,0));
    jButton1.setText("Add");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 8;
    gridBagConstraints.insets = new java.awt.Insets(0, 1, 5, 0);
    gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
    jPanel2.add(jButton1, gridBagConstraints);
    jButton2.setText("Delete");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
    jPanel2.add(jButton2, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 0);
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
    add(jPanel2, gridBagConstraints);
    jPanel1.setLayout(new java.awt.GridBagLayout());
    jPanel1.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED, Color.black, Color.gray) );
    jTable1.setModel(new javax.swing.table.DefaultTableModel(getData(), getColumnNames()));
    // get all the columns and set the column required properties
    java.util.Enumeration enum = jTable1.getColumnModel().getColumns();
    while (enum.hasMoreElements()) {
    TableColumn column = (TableColumn)enum.nextElement();
    if( column.getModelIndex() == 0 ) {
    column.setPreferredWidth(column0Width);
    column.setCellEditor( new ValidateCellDataEditor(true) );
    if( column.getModelIndex() == 1) {
    column.setPreferredWidth(column1Width);
    column.setCellEditor(new AcceptenceComboBoxEditor(getAcceptenceOptions()));
    // If the cell should appear like a combobox in its
    // non-editing state, also set the combobox renderer
    //column.setCellRenderer(new AcceptenceComboBoxRenderer(getAcceptenceOptions()));
    if( column.getModelIndex() == 2 ) {
    column.setPreferredWidth(column2Width); // width of column
    column.setCellEditor( new ValidateCellDataEditor(false) );
    jScrollPane1 = new javax.swing.JScrollPane(jTable1);
    jScrollPane1.setPreferredSize(new java.awt.Dimension(480, 280));
    jTable1.setMinimumSize(new java.awt.Dimension(60, 70));
    //jTable1.setPreferredSize(new java.awt.Dimension(300, 70));
    //jScrollPane1.setViewportView(jTable1);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
    jPanel1.add(jScrollPane1, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    add(jPanel1, gridBagConstraints);
    // set the row height
    jTable1.setRowHeight(rowHeight);
    // set selection color
    jTable1.setSelectionBackground(rowSelectionBackground);
    // set the single selection
    jTable1.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    // avoid table header to resize/ rearrange
    jTable1.getTableHeader().setReorderingAllowed(false);
    jTable1.getTableHeader().setResizingAllowed(false);
    // Table header font
    jTable1.getTableHeader().setFont( new Font( jTable1.getFont().getName(),Font.BOLD,jTable1.getFont().getSize() ) );
    jButton1.setMnemonic(KeyEvent.VK_A);
    // action of add button
    jButton1.addActionListener( new ActionListener(){
    public void actionPerformed(ActionEvent actionEvent){
    // If a button press is the trigger to leave a JTable cell and save the data in model
    if(jTable1.isEditing() ){
    //System.out.println("table is edition ");
    String text=((javax.swing.text.JTextComponent)jTable1.getEditorComponent()).getText();
    jTable1.setValueAt(text,jTable1.getSelectedRow(),jTable1.getSelectedColumn()) ;
    jTable1.getCellEditor().cancelCellEditing();
    // find out total available rows
    int totalRows = jTable1.getRowCount();
    int cols = jTable1.getModel().getColumnCount();
    if( jTable1.getModel() instanceof DefaultTableModel ) {
    ((DefaultTableModel)jTable1.getModel()).addRow(new Object[cols]);
    int newRowCount = jTable1.getRowCount();
    // select the first row
    jTable1.getSelectionModel().setSelectionInterval(newRowCount-1,newRowCount-1);
    jButton2.setMnemonic(KeyEvent.VK_D);
    // action of Delete button
    jButton2.addActionListener( new ActionListener(){
    public void actionPerformed(ActionEvent actionEvent){
    int totalRows = jTable1.getRowCount();
    // If there are more than one row in table then delete it
    if( totalRows > 0){
    int selectedOption = JOptionPane.showConfirmDialog(null,"Are you sure you want to delete this audit row?","Coeus", JOptionPane.YES_NO_OPTION);
    // if Yes then selectedOption is 0
    // if No then selectedOption is 1
    if(0 == selectedOption ){
    // get the selected row
    int selectedRow = jTable1.getSelectedRow();
    System.out.println("Selected Row "+selectedRow);
    if( selectedRow != -1 ){
    DefaultTableModel dm= (DefaultTableModel)jTable1.getModel();
    java.util.Vector v1=dm.getDataVector();
    System.out.println("BEFOE "+v1);
    v1.remove(selectedRow);
    jTable1.removeRowSelectionInterval(selectedRow,selectedRow);
    System.out.println("After "+v1);
    }else{
    // show the error message
    JOptionPane.showMessageDialog(null, "Please Select an audit Row", "Coeus", JOptionPane.ERROR_MESSAGE);
    } // end of initcomponents
    class AcceptenceComboBoxRenderer extends JComboBox implements TableCellRenderer {
    public AcceptenceComboBoxRenderer(String[] items) {
    super(items);
    public Component getTableCellRendererComponent(JTable table, Object value,
    boolean isSelected, boolean hasFocus, int row, int column) {
    if (isSelected) {
    setForeground(table.getSelectionForeground());
    super.setBackground(rowSelectionBackground);
    } else {
    setForeground(table.getForeground());
    setBackground(table.getBackground());
    // Select the current value
    setSelectedItem(value);
    return this;
    class AcceptenceComboBoxEditor extends DefaultCellEditor {
    public AcceptenceComboBoxEditor(String[] items) {
    super(new JComboBox(items));
    } // end editor class
    public class ValidateCellDataEditor extends AbstractCellEditor implements TableCellEditor {
    // This is the component that will handle the editing of the
    // cell value
    JComponent component = new JTextField();
    boolean validate;
    public ValidateCellDataEditor(boolean validate){
    this.validate = validate;
    // This method is called when a cell value is edited by the user.
    public Component getTableCellEditorComponent(JTable table, Object value,
    boolean isSelected, int rowIndex, int vColIndex) {
    if (isSelected) {
    component.setBackground(rowSelectionBackground);
    // Configure the component with the specified value
    JTextField tfield =(JTextField)component;
    // if any vaidations to be done for this cell
    if(validate){
    //tfield.setDocument(new JTextFieldFilter(JTextFieldFilter.NUMERIC,4));
    tfield.setText( ((String)value));
    // Return the configured component
    return component;
    // This method is called when editing is completed.
    // It must return the new value to be stored in the cell.
    public Object getCellEditorValue() {
    return ((JTextField)component).getText();
    // This method is called just before the cell value
    // is saved. If the value is not valid, false should be returned.
    public boolean stopCellEditing() {
    String s = (String)getCellEditorValue();
    return super.stopCellEditing();
    public void itemStateChanged(ItemEvent e) {
    super.fireEditingStopped();
    }//end of ValidateCellDataEditor class
    public static void main(String args[]){
    JFrame frame = new JFrame();
    AuditPanel auditPanel = new AuditPanel();
    frame.getContentPane().add(auditPanel);
    auditPanel.setAcceptenceOptions(new String[]{"Accepted", "Rejected", "Requested"} );
    java.util.Vector colVector = new java.util.Vector();
    colVector.add("Fiscal Year");
    colVector.add("Audit Accepted");
    colVector.add("Comment" );
    auditPanel.setColumnNames( colVector);
    auditPanel.renderPanel();
    frame.pack();
    frame.show();

    Hi,
    I've got the solution for it. As when the cursor is in cell of
    a row and hit the delete button, the data in that cell is not saved,
    So i'm trying to save the data first into the model then firing the action event by doing this ..
    jButton2.addActionListener( new ActionListener(){       
    public void actionPerformed(ActionEvent actionEvent){           
    // If a button press is the trigger to leave a JTable cell and save the data in model
    if(jTable1.isEditing() ){                   
    String text=((javax.swing.text.JTextComponent)jTable1.getEditorComponent()).getText();
    jTable1.setValueAt(text,jTable1.getSelectedRow(),jTable1.getSelectedColumn()) ;
    jTable1.getCellEditor().cancelCellEditing();
    // HERE DO THE DELETE ROW OPERATION
    <yaman/>

  • How to use icons (database, database backup, save, delete etc.) in Oracle f

    Hi Everyone,
    I am using Oracle forms 5.
    I want to use iconic buttons in Oracle forms 5 for database, database backup, save, delete etc.
    Example:
    Like Oracle Enterprise Manager, a GUI tool, we can see the different icons for different items (icon for database backup, database etc).
    How should I get these icons? How should I attach these icons to the buttons/Image item in Oracle Forms ?
    Should I give the file path of these icons in property palette of an item in Oracle forms?
    If yes, then which property of item, will I use in order to attach the icons?
    Please send the solution.
    If some one can also send the related icons, I will thankful to him.
    Regards
    Martin

    Hi FRANKS,
    Thanks for your useful information.
    WIth regards to attach icons to button/text item in Oracle forms,I am still facing problem.
    As you said, I created the parameter/variable UI_ICONS in Forms Home and gave the value pointing to the directory holding the .ico files.
    And then set the iconic property of the button and the icon's name without its extension.
    But it didn't work.Could ypu please let me know what is going wrong?
    I am thankful to you.
    Martin

  • Poll Database Adapter Physicial Delete strategy

    Guys,
    The database adapter should delete the record from table only if the record was processed successfully in esb or BPEL. But as far as i tested it deletes the polled record regardless of success or fault.
    Is there any setting that I need to do to force delete only when a successful instance is created.

    DB Adapter should participate in transaction, so upon failure it should be rolled back.
    Can you make sure you aren't using any MCF properties, and also in your process you don't have any dehydration point (e.g. recv/on-msg)?
    Regards,
    Chintan

  • Essbase Database Problem

    Hi All,
    I have Essbase Application (It is a Planning Application) with 5 Databases, Actually there are only 4 databases, even I have checked /Arbor Path/AnalyticServices/app/appname there are four folders with database names but in EAS there are appearing 5 databases, if I try to delete the 5th database it is giving error that Error: 1019038 DB file is missing. Essbase Application itself not starting. Please help me out this.
    We are using Essbase 9.3.1
    Thanks in Advance,

    I have created a folder with 5th database name and copied all the files (otl, tct, db,dbb, and esm files) from other database and simply deleted the 5th database.

  • Error "DATABASE PROBLEMS WITH TABLE MC11VA0HDRSETUP"

    Hi Friends,
    I got the following message when am trying to delete the setup tables.
    " Error DATABASE PROBLEMS WITH TABLE MC11VA0HDRSETUP"
    Am trying to delete the setup tables for application '11', but it gives me the above error. I have gone throug similar threads but it did not solve my issue.
    Please can anyone provide a solution.
    system detials:
    R/3 release    - 4.6c
    PI                 - 2004_1_46c
    SAP_BW      - 30B
    PI_BASIS     - 2003_1_620
    Any information will be appreciated
    Thanks,
    VBR

    Hi Kishor,
    Thanks for your reply.
    I have gone through that SAP Note 456102 and it was not of much help for our issue because we are ahead of PI that is mentioned in the note.
    Can you send your email id so that i can forward the error screenshots.
    Regards,
    VBR

  • Switch database to copy

    11.2.0.2
    all datafiles in asm under +DATADG
    put database in mount mode.
    rman
    allocate channel c1 as '+BUDATADG'
    backup as copy; -- all datafiles are copied to +BUDATADG
    switch database to copy; -- database now using the copied datafiles.
    Is there an easy way to switch back to the datafiles on +DATADG without doing a full copy back and in effect reversing the steps?
    something like "switch database to original"

    moreajays wrote:
    Hi,
    There is no option to switch backup to original copy of datafiles , use same approach for previous +DATADG
    Just as an FYI: I played with this for a bit and there actually is a way to go back. When you switch to the copy, go to RMAN and do
    list copy of database;
    and I was surprised to see the original database files as a known copy. I tried to switch back
    switch database to copy;
    and it failed straight back over to the original files. I played a bit further, as long as in mount mode, it will switch seamlessly between both no problem. Any changes require a "recover database" for it to catch up.
    edit: working example noted here
    http://dba-tips.blogspot.ie/2011/11/switch-database-to-rman-copy-backup-and.html

  • RMAN-06571 after switch database to copy

    Hi all,
    I rolled forward a physical standby database using RMAN incremental backups as detailed in Oracle support ID **836986*.1* and it all went well until i tried to switch the standby database to copy.
    I get the error RMAN-06571 datafile 24 does not have recoverable copy
    Now datafile 24 is a datafile created after the scn of the standby database and there's unfortunately no documentation on how to restore this datafile from the backup piece created as part of the incremental backup created from the primary. The oracle document says
    *"if any datafiles have been added to primary after scn <n> they will also have to restored to the standby host and cataloged before doing the switch"*
    Unfortunately it does not say how this is to be done.
    I have tried to restore datafile 24 but even that produces an
    RMAN-12008 could not locate backup piece /x/y/piecename
    even though the backup piece is in the location /x/y/piecename and has been cataloged via rman. The same backup piece was used to restore the datafiles that existed earlier. i.e. the other 23, successfully so i know it has the datafile i need.
    My environment is a 3-node RAC (Primary & Standby). I am really at my wits end.
    All help appreciated.

    rman> restore datafile 24;
    It accurately determines that the datafile to be restored is in the backuppiece /x/y/piecename but then informs me it cannot find it.
    RMAN> @restoredatafile24.txt
    RMAN> run {
    2> allocate channel c1 device type disk format '/opt/dbe/forstandby_%U';
    3> restore datafile 24;
    4> release channel c1;
    5> }
    allocated channel: c1
    channel c1: SID=1347 instance=rac1 device type=DISK
    Starting restore at 19-JUL-2012 22:49:15
    released channel: c1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 07/19/2012 22:49:16
    RMAN-12009: command aborted because some backup pieces could not be located
    RMAN-12008: could not locate backup piece /opt/dbe/forstandby_f0ngb1k4_1_1
    RMAN> **end-of-file**
    Thanks.
    Edited by: user11970290 on Jul 20, 2012 12:53 PM

  • How to copy/delete file

    hi,
    i need to come out a program, which can copy/delete file from unix directory A to directory B, on the application server.
    does any one have any idea how am i going to code the abap program for this?
    thanks

    > i need to come out a program, which can copy/delete file from unix directory A to directory B, on the application server.
    >
    i am assuming that your Application server is Unix.
    unixcommand cp is used to copy the a file from one directory to another.
    cp /dir/file1 /dir2/file2
    the above command will copy the file1 of dir1 to file2 of dir2.
    for delete use the command rm,
    rm /dir/fiel1
    the above command will remove the file1 from directory dir.
    REPORT ZUNIX line-size 400
                    no standard page heading.
    parameters : unixcom like   rlgrap-filename.  
    data: begin of tabl occurs 500,
            line(400),
          end of tabl.
    data: lines type i.
    start-of-selection.
      refresh tabl.
      call 'SYSTEM' id 'COMMAND' field unixcom
                    id 'TAB'     field tabl[].
    "if any error or any thing you get in the tabl
    "just check the tabl once after the finishing

Maybe you are looking for