How to change the SID during system copy

This blog /people/johannes.heinrich/blog/2006/07/07/new-features-in-db2-udb-v9--part-3 (i.e.  the "new feature of V9" in this group) only
talk about the system copy without changing the SID.
In reality, we often want to change the SID during the system copy. Can we modify the script mentioned in above blog
to make SID change possible?
Thanks!

Hi Christy,
if you´re using export/import which is prefered you can change the sid during the parameter setting for export and import. You´ll be asked by the old sid and the new sid. For the tablespace names it is not so important because db2 is using tablespace id not the name for the internal administration.
Regards
Olaf

Similar Messages

  • How to change the SID for an existing system

    Hi All,
    I need to change the SID of the development and quality system without making a system copy.
    The requirement is on strict timeline basis so I need to find out an alternate way to do it. A system copy will need a lot more time to do the same which is the last option at this time.
    Please suggest.
    Relevant answers will be rewarded accordingly.
    Regards,
    Himansu Roy

    Do not cross post same questino across different forums.
    Changing the SID for existing SAP systems
    Markus

  • How to change the SID name in the server

    hi all,
    i installed oracle 10g R1 on windows 2003 server. i gave an sid and created a database. the database is new and there is no data in the db. now i want to change the SID name of the database. pls help me in doing this.
    regards,
    nagarjuna

    Hi,
    Just a notice: SID and DBNAME are two different things. But the usual practice is to have SID = DBNAME, so let me assume you want to change both SID and DBNAME.
    Either you can do it manually by recreating the controlfile as orawiss suggests. You may discover some challenges around the way (for instance, for the command CREATE CONTROLFILE SET "new_dbname" to work, you have do delete or rename the old controlfiles first).
    Or, you can change it easier by using nid utility. The detailed howto and all implications can be found on:
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10825/dbnewid.htm
    Basically:
    SQL> create pfile from spfile;
    SQL> shutdown immediate;
    nid TARGET=sys/password@oldname DBNAME=newname
    copy the initoldname.ora to initnewname.ora and edit the DB_NAME parameter to reflect the new name
    sqlplus / as sysdba
    SQL> create spfile from pfile;
    SQL>startup mount;
    SQL> alter database open resetlogs;
    Then don't forget to generate new password file for the new dbname (using orapw) and make changes in tnsnames.ora and listener.ora if needed.
    Just make sure, the database has been properly shut down before changing the db_name either manualy by recreating controlfile or by the newid utility, as the renamed database has to be opened with resetlogs - making any crash recover of improperly shut down database impossible.
    Kind regards,
    Martin

  • How to change the IOS operating system

    how do you change the IOS operating system from 2 to a more modern in my ipod touch?

    It is very simple, see here: http://www.apple.com/ios/.
    Updating is easy.
    Just connect your device to your Mac or PC and follow the onscreen instructions in iTunes.

  • How to change the SID Oracle Database10g:Express Edition

    I will like to know the process to change the SID in the database Oracle 10: Express Edition. Thanks in advance

    if you have changed your SID to XE2 for example than change your tnsnames.ora accordingly :
    (change service_name towards your new SID)
    XE2 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE2)
      )Edited by: Martijnke on Feb 7, 2009 12:30 PM

  • How to change the ECC Source system in SAP BI

    Dear Experts,
    In my BI development system instead of showing ECC development system as a source system it is showing ECC production system.
    Now in my BI system I want to change the source system from ECC Production to ECC development.
    Kindly explain me step by step to change the source system from ECC Production to ECC development.
    Regards,
    Suresh.

    Hi,
    Ask your basis team to change source system entries.
    They knows how to assign logical mappings.
    Tx - BDLS.
    Tables - RSLOGSYSMAP.
    Try this way.
    Bw, Tx - RSA1-->source system, Menu Tools - Conversion of logical system name and Assignment of source system to source system ID.
    Thanks

  • How to change the category of system messages in PS

    Hi All,
    Is it possible to change the category (i.e from information to warning/error) of the system messages like CN707 in PS? If yes how?

    Hi,
    You will have to go for development. Use userexit CNEX0009.
    Refer similar thread:Re: CN707, SE721
    Regards
    Edited by: Shrikant Rakate on Jan 14, 2009 4:57 PM
    Edited by: Shrikant Rakate on Jan 14, 2009 4:58 PM
    Edited by: Shrikant Rakate on Jan 15, 2009 12:37 PM
    Edited by: Shrikant Rakate on Jan 15, 2009 12:38 PM

  • How to change the sid in "sqlplusw"

    hi,
    I have two database in my windows machine. "sid1" and "sid2". whenever i log in using "sqlplusw" it takes me to "sid2" but i want to access "sid1" using sqlplusw as default.
    as of now i am using "sys@sid1 as sysdba". is there any way like we used to do in command prompt like setting the sid.
    Thank you
    --Raman.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    In your OS set environment variable ORACLE_SID to your default db.
    On win right click my computer > properties option > Advanced tab > Environemtn Variables button.
    On Unix add "export ORACLE_SID=xxx" in .profile or .bash_profile

  • How to change the co-ordinayte system?

    Hello to all,
    I am working on a java project in which i want to display Earth's longitudes and latitudes. Right now my program giving me cartesian means the applet's own co-ordinate but i want the co-ordinates in degrees to solve some communication equations .
    please help me to solve this problem.
    I will be very thankfull to you all...
    My code is given as:
    import java.awt.*;
    import java.applet.*;
    import javax.swing.JApplet;
    import javax.swing.JPanel;
    import java.awt.event.*;
    public class DrawEarth extends JApplet implements MouseListener
         public void mouseClicked (MouseEvent me) {
              xpos = me.getX();
                ypos = me.getY();
                // Check if the click was inside the Earth area.
                if ((xpos >50 && xpos < 450 && ypos >50 &&  ypos < 450)||(xpos >450 && xpos < 850 && ypos >50 &&  ypos < 450)) {
                     mouseClicked = true;
                // if it was not then mouseClicked is false;
                else
                     return ;
                repaint();
          public void mouseEntered (MouseEvent me) {}
          public void mousePressed (MouseEvent me) {}
          public void mouseReleased (MouseEvent me) {} 
          public void mouseExited (MouseEvent me) {}
         boolean mouseClicked;
         int  xpos,ypos;
         String msg;
        public void init() {
             //addMouseListener(this);
             super.init();
             addMouseListener(this);
            setContentPane(new JPanel() {
                final Dimension size = new Dimension(1000, 1000);
                final GradientPaint backgradient = new GradientPaint(0, 0, Color.WHITE, 0, 350, Color.BLACK);
                final GradientPaint earthgradient = new GradientPaint(0, 50, Color.CYAN, 0, 450, Color.GREEN);
                protected void paintComponent(Graphics g) {
                    super.paintComponent(g);
                    Graphics2D g2 = (Graphics2D) g;
                    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
                    g2.setPaint(backgradient);
                    g2.fillRect(0, 0, 1000, 1000);
                    g2.setPaint(backgradient);
                    g2.setPaint(earthgradient);
                    g2.fillOval(50, 50, 400, 400);
                    g2.fillOval(450, 50, 400, 400);
                    g2.setColor(Color.BLUE);
                    g2.setColor(Color.BLUE);
                    g.drawString("270",35,250);
                    g.drawString("300",70,250);
                    g.drawString("330",145,250);
                      g.drawString("(0,0)",245,250);
                      g.drawString("30",345,250);
                      g.drawString("60",415,250);
                      g.drawString("90",445,250);
                      g.drawString("120",470,250);
                      g.drawString("150",545,250);
                         g.drawString("(180,0)",645,250);
                         g.drawString("210",745,250);
                         g.drawString("240",815,250);
                         g.drawString("270",850,250);
                         g.drawString("90",255,48);
                         g.drawString("60",255,77);
                         g.drawString("30",255,150);
                         g.drawString("-30",255,350);
                         g.drawString("-60",255,425);
                         g.drawString("-90",255,460);
                         g.drawString("90",650,48);
                         g.drawString("60",650,77);
                         g.drawString("30",650,150);
                         g.drawString("-30",650,350);
                         g.drawString("-60",650,425);
                         g.drawString("-90",650,460);
                    for (int i = 0; i <= 180; i += 10) {
                        int widthlong = (int) (200 * Math.cos(Math.toRadians(i)));
                        g2.drawOval(250 - widthlong, 50, 2 * widthlong, 400);
                        g2.drawOval(650 - widthlong, 50, 2 * widthlong, 400);
                        int widthlat = (int) (200 * Math.sin(Math.toRadians(i)));
                        g2.drawLine(250 - widthlat, 250 - widthlong, 250 + widthlat, 250 - widthlong);
                        g2.drawLine(650 - widthlat, 250 - widthlong, 650 + widthlat, 250 - widthlong);
                    double xco = xpos/22.22;
                    double yco = ypos/22.22;
                        if(xpos >50 && xpos < 450 && ypos >50 && ypos < 250){
                             g.drawString("("+xpos+","+ypos+")",xpos,ypos);
                        if(xpos >450 && xpos < 850 && ypos >50 && ypos < 250){
                             g.drawString("("+xpos+","+ypos+")",xpos,ypos);
                        if(xpos >50 && xpos < 450 && ypos >250 && ypos < 450){
                             g.drawString("("+xpos+","+ypos+")",xpos,ypos);
                        if(xpos >450 && xpos < 850 && ypos >250 && ypos < 450){
                             g.drawString("("+xpos+","+ypos+")",xpos,ypos);
                        if((xpos==250&&ypos==50)  || (xpos== 650 && ypos==450 )){
                             g.drawString("("+xpos+","+ypos+")",xpos,ypos);
                        if(xpos >=50 && xpos <= 850 && ypos ==250 ){
                             g.drawString("("+xpos+","+ypos+")",xpos,ypos);
               /* public Dimension getPreferredSize()
                    return size;
       

    =)
    For the boundaries of the globe you can test if the click was outside the globes by comparing the radius and the calculated distance from the center of each globe for each globe separately. The transform of the drawing the OP made is not a standard one so I'm having to comprehend the calculus of transformations I picked up last year and combine it with the linear algebra I learned this year ( might take until next week =( ). I tried implementing it by using weighted average procedures
    i.e.
    >
    delta = ( 1 - t )*P + tQ>
    where t is time in fraction of the total time and P and Q are two different points on a line. But there is also the effect of moving away from the equator for the longitude where the effect on the rate of change is increased when moving sideways ( longitude measures degrees around the earth from the prime meridian ) and when I tried to implement those two effects together, they seem to work for some parts but fail as I go diagonally (simply put) from 0deg,0deg which give false results in that the lat or lon (can remember which) is greater than the possible amount allowed ( i.e. abs_value > 180 for longitude or > 90 for latitude ).
    Here's the code so far if you want to take a look at it:
    I wasn't trying to worried too much about anything else but the algorithm for transforming the coords. I added the JLabel on the north side so I wouldn't have to look at the command prompt.
    import java.awt.Dimension;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.GradientPaint;
    import java.awt.RenderingHints;
    import java.awt.Point;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.awt.BorderLayout;
    import javax.swing.JLabel;
    public class DrawEarthPanel extends JPanel
         public static final long serialVersionUID = 1L;
         private static final Dimension size = new Dimension(900, 500); // width, height
         private static final GradientPaint backgradient = new GradientPaint(0, 0, Color.WHITE, 0, 350, Color.BLACK);
         private static final GradientPaint earthgradient = new GradientPaint(0, 50, Color.CYAN, 0, 450, Color.GREEN);
         private boolean mouseClicked;
         private int xpos = 0;
         private int ypos = 0;
         public DrawEarthPanel()
              addMouseListener( new MouseEvents() );
         public Dimension getPreferredSize()
              return DrawEarthPanel.size;
         public void paintComponent( Graphics g )
              super.paintComponent(g);
              Graphics2D g2 = (Graphics2D) g;
              g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
              g2.setPaint(backgradient);
              g2.fillRect(0, 0, 1000, 1000);
              g2.setPaint(earthgradient);
              g2.fillOval(50, 50, 400, 400);
              g2.fillOval(450, 50, 400, 400);
              g2.setColor(Color.BLUE);
              g.drawString("270",35,250);
              g.drawString("300",70,250);
              g.drawString("330",145,250);
              g.drawString("(0,0)",245,250);
              g.drawString("30",345,250);
              g.drawString("60",415,250);
              g.drawString("90",445,250);
              g.drawString("120",470,250);
              g.drawString("150",545,250);
              g.drawString("(180,0)",645,250);
              g.drawString("210",745,250);
              g.drawString("240",815,250);
              g.drawString("270",850,250);
              labelLatitudes( g, 255 );
              labelLatitudes( g, 650 );
              for ( int i=0; i<=180; i+=10 )
                   int wLon = (int) (200 * Math.cos(Math.toRadians(i)));
                   g2.drawOval(250-wLon, 50, 2*wLon, 400);
                   g2.drawOval(650-wLon, 50, 2*wLon, 400);
                   int wLat = (int) (200 * Math.sin(Math.toRadians(i)));
                   g2.drawLine(250-wLat, 250-wLon, 250+wLat, 250-wLon);
                   g2.drawLine(650-wLat, 250-wLon, 650+wLat, 250-wLon);
         private static final Point left_globe_origin = new Point( 250, 250 );
         private static final Point right_globe_origin = new Point( 650, 250 );
         private static final int globe_radius = 200;
         private void labelLatitudes(Graphics g, int x)
              g.drawString("90",x,48);
              g.drawString("60",x,77);
              g.drawString("30",x,150);
              g.drawString("-30",x,350);
              g.drawString("-60",x,425);
              g.drawString("-90",x,460);
         class MouseEvents extends MouseAdapter implements MouseListener
              public void mouseClicked( MouseEvent evt )
                   xpos = evt.getX();
                   ypos = evt.getY();
                   System.err.println("DEBUG: xpos="+xpos+", ypos="+ypos);
                   double lat = 0.0;
                   double lon = 0.0;
                   if ( xpos>50 && xpos<450 && distance(left_globe_origin,xpos,ypos) <= globe_radius ) // left globe
                        Point origin = left_globe_origin;
                        double radius = globe_radius;
                        double dx = xpos-origin.x;
                        double dy = -ypos+origin.y;
                        lat = (dy/(radius-dx))*90;
                        lon = (dx/(radius-dy))*90;
                   //     lat = ypos - 250;
                   //     lon = xpos - 250;
                        setLabel( String.format( "longitude >>> %.3f, latitude >> %.3f", lon, lat ) );
                        System.err.println( "DEBUG: lat=" + lat + ", lon=" + lon );
                   else if ( xpos>450 && xpos<850 && distance( right_globe_origin,xpos,ypos) <= globe_radius ) // right globe
                        Point origin = right_globe_origin;
                        int radius = globe_radius;
                        int dx = xpos-origin.x;
                        int dy = ypos-origin.y;
                        lat = (1d*dx/radius+1d*dy/radius)*90;
                        lon = (1d*dx/radius+1d*dy/radius)*90;
                   //     lat = ypos - 250;
                   //     lon = xpos - 650;
                        setLabel( String.format( "longitude >>> %3.3f, latitude >> %3.3f", lon, lat ) );
                        System.err.println( "DEBUG: lat=" + lat + ", lon=" + lon );
                   repaint();
         private static JLabel output = new JLabel( "Output of Longitude and Latitude" );
         public static void setLabel( String text )
              output.setText( text );
         public static double distance( Point origin, int x, int y )
              return Math.pow( Math.pow((x-origin.x),2)+Math.pow((y-origin.y),2), 0.5 );
         private static void createAndShowGUI()
              JFrame frame = new JFrame( "DrawEarthPanel" );
              frame.setLayout( new BorderLayout() );
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              frame.setLocation(10, 10);
              frame.setContentPane(new DrawEarthPanel());
              frame.add( output, BorderLayout.NORTH );
              frame.pack();
              frame.setVisible(true);
         public static void main( String[] args )
              javax.swing.SwingUtilities.invokeLater(
                   new Runnable()
                        public void run()
                             createAndShowGUI();
    }The transform isn't a regular one since the OP kept his lat. lines straight so it's kind of weird to me right now.
    Happy coding

  • How to change the side of the y axis in numbers ?

    I am trying to make a negative only chart (all the x values are negative), thus the y axis has to be on the right, yet it is displayed on the left ! I really need some help please. Thank you !

    Hi Rupert,
    Here's an alternate method.
    Ian's suggestionis the only one I know using a scatter chart, but Numbers also offers a '2-axis' Category chart. It's the last one on the menu in the Charts button, requires two series of Y values, and defauts to a line chart for the first series and a column chart (vertical bar chart) for the second Y series.
    The two (Y) axes may have different scales, and may be formatted separately. Here's an example. Instructions below.
    The data columns are column B (X values) and column D (Y values).
    Because this is a Category chart, the X values must be listed in a header row, where they will be recognized as 'category labels' . As 'categories', they will be evenly spaced along the x axis, and wil be ordered left to right in the order they appear (top to bottom) in column A of the table.
    2-Axis charts require a table with two columns of Y data. To provide the second 'data' set, I've added column C, and filled it with zeroes.
    To create the chart, select columns C and D, then click the Charts button and select the Two-Axis chart.
    With ther chart selected, open the Chart Inspector.
    Choose Axis.
    Uncheck "Show Values" using the pop-up menu for Value Axis (Y1)
    Check "Show Axis" using the pop-up menu for Value Axis (Y2)
    Set min and max values and steps to values that will give you integer labels for the Y value grid lines.
    Choose Series.
    Click on the colour block (on the table) for the dummy series (Y1).
    Set Data Symbol to 'none'. Use the Line thickness control in the format bar to set the line thickness to 0.25 pt and the colour to black.
    Click on the colour block for the 'real' series. Set the data symbol and size, and the line thickness as desired.
    Regards,
    Barry

  • How can we change the SID of an existing SAP  system.

    Hi to all basis experts.
    Is it possible to change the SID of an existing SAP system.
    i am performing R3copy method and i want to change the SID of the tar

    check these link
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/aa/1dc94af0fa11d3a6510000e835363f/content.htm
    http://sap.ittoolbox.com/documents/changing-the-ltsidgtadm-password-17764

  • How to change the path of sysprep files that were copied to reference computer when i capture the image from reference.

    Dears ,,
    how to change the path that sysprep were copied to reference computer when i capture the image from reference.
    Should i modify some codes in LTIAPPLY.wsf? how to modify it?
    Thanks.

    Sysprep and capture has *Three* steps.
    1. Run sysprep on the local machine (easy).
    2. Copy WinPE down to the local machine so we can reboot into winpe for capture.
    3. Capture the drive in an *offline* state from within WinPE.
    What is most likely happening is that you are having problems with step #2. 100MB is *WAY* too small to copy down WinPE. By default MDT will make this System partition much bigger, 499MB. IF you install Windows 7 from the default media. IT will only create
    a 100MB partition.
    By default MDT 2012 Update 1 and greater *should* recover to a fallback drive with the OS on it, however if you are running older versions that might not happen correctly.
    If you are still having problems, copy your BDD.log file to a public share like OneDrive and copy the link here.
    Keith Garner - keithga.wordpress.com

  • How to change the worklist in schedule manager in production system

    we are using schedule manager (SCMA) to arrange the daily process in SAP system. but we have to config the worklist and transport it to the production system every time cause in production system if we press edit worklist there would be a message called " TK430 The system administrator has set your logon client to the 'not modifiable' status.Client-specific objects can not be changed in this client."
    Is there any way that I can directly change the worklist in production system?
    Thanks.
    Jiajia

    Hi SUN,
    Take a look at 11g Grid Control: Steps for Migrating the 11g Grid Control Repository from One Database to Another [ID 1302281.1]. Step 4.7
    and
    http://gavinsoorma.com/2010/10/11g-grid-control-how-to-change-the-oms-repository-database-listener-port-or-hostname/
    ps Stop the OMS first.
    Eric

  • How to change the language of administrator system message in outlook

    I wonder where is the option which changes the language of the text
    related
    to : Your mailbox is over its size limit send by the system
    administrator ?
    Some mailboxes get this message in French and other in
    English ?
    Is anyone can help me ?
    I work with French Outlook 2003 sp2 and
    English Exchange server 2000 sp3
    I try to change the regional setting on the
    server but nothing has changed.
    Thanks,

    Hi,
    Please refer to this duplicate thread below:
    http://social.technet.microsoft.com/Forums/en-US/5afe1e1a-82a9-445f-bcce-a76173ceb6bb/how-to-change-the-language-of-administrator-system-message-in-outlook?forum=outlook
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to change the line item storage location during the sales order creatio

    How to change the line item storage location during the sales order creatio

    Hi Kumar,
    I think you can just delete it in the sales order directly, if you are using make-to-order scenario, then there will be special stock left for the sales order as the production has been goods receipt, you need to use MM transaction move the stock to unrestricted use stock. If you are using make-to-stock scenario, there should be no further problem. If you are using assembly order, please try to reject the sales order item to see if it could fullfill your requirement.
    Regards,
    Rachel

Maybe you are looking for