Help need on Migration

Hello,
Iam migrating a production database from 8.0.4 to 8.1.5 on windows nt.iam using the database migration assistant.It is going on forever.when i checked the log iam getting this error "DBMS PACKAGE STANDARD NOT ACCESSIBLE".I have enough space in the system tablespace(200mb of free space) and enough memory for shared pool.I have even tried to migrate the databse using the scripts,but still i get the same error "DBMS PACKAGE STANDARD NOT ACCESSIBLE" and it is just hangs after sometime.
Want can be the problem,can anyone help me.
Regards
Murali

> Then, I try to start the export with server mode, but I got the error below:
>
> (DB) INFO: connected to DB
> (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
> (DB) INFO: Export without hintfile
> Alternate NameTab for type "BAPIPAREX_HELP" was missing and has been simulated.
> (GSI) INFO: dbname   = "BWT20030708040756                                                                                "
> (GSI) INFO: vname    = "ORACLE                          "
> (GSI) INFO: hostname = "HSEA-PDC-S015                                                   "
> (GSI) INFO: sysname  = "Windows NT"
> (GSI) INFO: nodename = "HSEA-PDC-S015"
> (GSI) INFO: release  = "5.2"
> (GSI) INFO: version  = "3790 Service Pack 2"
> (GSI) INFO: machine  = "4x AMD64 Level 6 (Mod 15 Step 6)"
> (BEK) ERROR: SAPSYSTEMNAME not in environment
Did you execute it as <sid>adm user?
Markus

Similar Messages

  • Help needed while Migrating BW 3.5 structure to BI 7.0

    Hello Gurus,
    I tried to migrate an old 3.5 structure to 7.0 and didnt know where i ended, but seems to be a bit of mess. can anyone help me pls?
    First, since the structure has changed in the InfoProvider section, let me explain what i did.
    I right clicked on the datasource, located below transfer rules and just above the InfoPackage and choose "Migrate" option. then in the pop up i might had to chooce With Ex or W/o Ex not sure, but i clicked on Cancel. Now after all this the data source and infopackage seemed to have been deleted from there, though its there in DataSources section in DW Workbench.
    If i try to build transformations from here, the new structure is being built in InfoProvider as per 7.0 but the InfoSource is missing, since iw ant the daat flow like, datasource->infosource->data target.
    Basically i need help in 2 things.
    1. How to make things normal int he above explained circumstance.
    2. Can u explain the right way to migrate the existing structure of 3.5 to the new 7.0 supported structure easily.
    Thanks,
    PJ

    /thread/246155 [original link is broken]

  • HT4796 Help needed with Migration Assistant, can't find files?

    I've just purchased my first Mac (macbook Pro 15in) so please be kind, I'm so clueless it's ridiculous! Using migration assistant  I've transfered aprox 100GB of files from my PC which seemed to take about 2seconds, but have no idea where they are or how to access them. The files were mostly music but when I opened itunes there is nothing in my library. The rest of the stuff was pics, docs, email accounts but none of that seems to be there either.. From the few articles I've read I seem to have somehow created another user account which is labeled Guest User/Sharing only, but I can't seem to log in as that user to find the files.. What have I done?!  HELP!!

    Congratulations!
    ... Using migration assistant  I've transfered aprox 100GB of files from my PC which seemed to take about 2seconds, but have no idea where they are or how to access them.
    It sounds as though Migration Assistant did not do a thing. With Migration Assistant, 100 GB will take time, no matter how the two computers communicate it will be at least an hour. Probably more. I recommend you connect them both to a wired network and make sure the PC is really using it. Wireless will take a lot longer.
    I suggest you read the following step by step. On your Windows PC, you will need to download Migration Assistant. That link and everything else you need to know is in this document: OS X Lion: About Windows Migration Assistant. Follow its instructions to the letter.
    The "guest" user is a feature of OS X and will not contain your files. Don't concern yourself with it.

  • Help need on Migration Monitor during the OS migration

    Dear Guru,
    I need some helps to start the export with migration monitor tools.
    First I want to start the export on the source system and then move the file by myself to the source system.
    I can start the export in client mode? (I try already but it is just hang there)
    Then, I try to start the export with server mode, but I got the error below:
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (DB) INFO: Export without hintfile
    Alternate NameTab for type "BAPIPAREX_HELP" was missing and has been simulated.
    (GSI) INFO: dbname   = "BWT20030708040756                                                                                "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "HSEA-PDC-S015                                                   "
    (GSI) INFO: sysname  = "Windows NT"
    (GSI) INFO: nodename = "HSEA-PDC-S015"
    (GSI) INFO: release  = "5.2"
    (GSI) INFO: version  = "3790 Service Pack 2"
    (GSI) INFO: machine  = "4x AMD64 Level 6 (Mod 15 Step 6)"
    (BEK) ERROR: SAPSYSTEMNAME not in environment
    my export properties are as below:
    Export Monitor options
    Server operating mode
    server
    Client operating mode
    #client
    Exchange mode: ftp | net
    #ftp
    net
    Common options
    List of export directories, separator on Windows ; on UNIX :
    exportDirs=V:\sap_inst_temp\export
    Installation directory
    installDir=C:\Program Files\sapinst_instdir\NW04\COPY\EXPORT\ABAP\COPY\NUC\DBEXP
    Package order: name | file with package names
    orderBy=name
    DDL control file, default is DDL<DB_TYPE>.TPL
    ddlFile=
    File with mapping between DDL files and package names
    ddlMap=
    Monitor timeout in seconds
    monitorTimeout=30
    R3load options
    Optional path of R3load executable
    r3loadExe=
    Generation of task files: yes | no
    tskFiles=yes
    Code page for data files
    dataCodepage=
    Additional R3load arguments for TASK phase
    taskArgs=yes
    Additional R3load arguments for LOAD phase
    loadArgs=
    Number of parallel export jobs
    jobNum=3
    Network options
    Network exchange directory
    netExchangeDir=V:\sap_inst_temp\export\netExchange
    FTP options
    Remote FTP host
    ftpHost=
    Name of remote FTP user
    ftpUser=
    Password of remote FTP user
    ftpPassword=
    List of remote FTP directories for export dump, separator : or ;
    ftpExportDirs=
    Remote FTP exchange directory
    ftpExchangeDir=
    Number of parallel FTP jobs
    ftpJobNum=3
    Socket options
    #socket
    Server hostname
    host=
    Server port number
    port=
    Trace option
    Trace level
    trace=all
    E-mail options
    SMTP server
    mailServer=
    "From" email address
    mailFrom=
    "To" email address
    mailTo=
    If anyone can share the document base on the migration monitor, It will be helpful.
    Thank you and Best Regards,
    Rapheephan

    > Then, I try to start the export with server mode, but I got the error below:
    >
    > (DB) INFO: connected to DB
    > (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    > (DB) INFO: Export without hintfile
    > Alternate NameTab for type "BAPIPAREX_HELP" was missing and has been simulated.
    > (GSI) INFO: dbname   = "BWT20030708040756                                                                                "
    > (GSI) INFO: vname    = "ORACLE                          "
    > (GSI) INFO: hostname = "HSEA-PDC-S015                                                   "
    > (GSI) INFO: sysname  = "Windows NT"
    > (GSI) INFO: nodename = "HSEA-PDC-S015"
    > (GSI) INFO: release  = "5.2"
    > (GSI) INFO: version  = "3790 Service Pack 2"
    > (GSI) INFO: machine  = "4x AMD64 Level 6 (Mod 15 Step 6)"
    > (BEK) ERROR: SAPSYSTEMNAME not in environment
    Did you execute it as <sid>adm user?
    Markus

  • Help needed in migrating Flex 2 application to Flex 3

    Hi All,
    We are in process of migrating a working Flex 2 application
    to Flex 3.
    There were no compilation errors when application was
    compiled with Flex 3 SDK. But when we start the application, it
    throws a script timeout error:
    Error: Error #1502: A script has executed for longer than the
    default timeout period of 15 seconds.
    at
    mx.managers.layoutClasses::PriorityQueue/removeSmallestChild()[C:\autobuild\3.2.0\framewo rks\projects\framework\src\mx\managers\layoutClasses\PriorityQueue.as:214]
    at
    mx.managers::LayoutManager/validateClient()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\managers\LayoutManager.as:915]
    at
    mx.core::UIComponent/validateNow()[C:\autobuild\3.2.0\frameworks\projects\framework\src\m x\core\UIComponent.as:5679]
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::validateBaselinePosition()[C:\autobuild\3.2.0\ frameworks\projects\framework\src\mx\core\UIComponent.as:5715
    at mx.controls::TextInput/get
    baselinePosition()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\TextI nput.as:408]
    at
    mx.containers::FormItem/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\containers\FormItem.as:913]
    at
    mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:6351]
    at
    mx.core::Container/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework \src\mx\core\Container.as:2677]
    at
    mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:622]
    at
    mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:677]
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at
    mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
    at
    mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
    The application is taking a huge time to 'validate' each
    component in the UI and each time we observe a timeout at different
    UI component.
    Few observations from our end:
    1. The application is very straight forward and only thing
    complex in it is UI layout. There are a few of complex layouts,
    viewstacks and datagrids used.
    2. The ‘creationPolicy' at application level has been
    set to 'All' because of design. This although is not a standard
    practice but this does not help us because the same application
    compiled with Flex 2 used to load successfully.
    If anybody has faced a similar issue and has some suggestions
    please do give us pointers. Otherwise we are left with a lengthier
    option of re-factoring the application so that creation policy
    defaults to 'auto' and modify the application design.
    Thanks in advance,
    Sujatha

    Hi All,
    We are in process of migrating a working Flex 2 application
    to Flex 3.
    There were no compilation errors when application was
    compiled with Flex 3 SDK. But when we start the application, it
    throws a script timeout error:
    Error: Error #1502: A script has executed for longer than the
    default timeout period of 15 seconds.
    at
    mx.managers.layoutClasses::PriorityQueue/removeSmallestChild()[C:\autobuild\3.2.0\framewo rks\projects\framework\src\mx\managers\layoutClasses\PriorityQueue.as:214]
    at
    mx.managers::LayoutManager/validateClient()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\managers\LayoutManager.as:915]
    at
    mx.core::UIComponent/validateNow()[C:\autobuild\3.2.0\frameworks\projects\framework\src\m x\core\UIComponent.as:5679]
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::validateBaselinePosition()[C:\autobuild\3.2.0\ frameworks\projects\framework\src\mx\core\UIComponent.as:5715
    at mx.controls::TextInput/get
    baselinePosition()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\TextI nput.as:408]
    at
    mx.containers::FormItem/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\containers\FormItem.as:913]
    at
    mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:6351]
    at
    mx.core::Container/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework \src\mx\core\Container.as:2677]
    at
    mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:622]
    at
    mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:677]
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at
    mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
    at
    mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
    The application is taking a huge time to 'validate' each
    component in the UI and each time we observe a timeout at different
    UI component.
    Few observations from our end:
    1. The application is very straight forward and only thing
    complex in it is UI layout. There are a few of complex layouts,
    viewstacks and datagrids used.
    2. The ‘creationPolicy' at application level has been
    set to 'All' because of design. This although is not a standard
    practice but this does not help us because the same application
    compiled with Flex 2 used to load successfully.
    If anybody has faced a similar issue and has some suggestions
    please do give us pointers. Otherwise we are left with a lengthier
    option of re-factoring the application so that creation policy
    defaults to 'auto' and modify the application design.
    Thanks in advance,
    Sujatha

  • Help Needed in Migrating Bill Management template

    Hi All,
    Pls let me know how to migrate the custom Bill Management template in Bill Presentment module from one instance to another instance.Is there any XDOLOADER commands available to migrate similar to RTF template?
    Your help in this regard is much appreciated.
    Regards,
    Rajesh

    Not sure what exactly you want. But please do have a look at the blog http://apps2fusion.com/at/51-ps/306-moving-xmlbi-publisher-components-between-instances which has details of moving all components related to xmlp report

  • Help needed with Migration Assistant

    How and where do I find the Migration Assistant on my new iMac running on OS X 10.9.4?  I skipped the migration assistant at initial startup.  I have it installed on my old PC.  Now I am supposed to start it on my iMac.  I can't find it.  It's probably right in front of me.  Help please.

    It's in the "Utilities" folder inside your "Applications" folder.
    You could also just use Spotlight to find it.
    On the initial Mac startup, it is referred to as "Setup Assistant" in lieu of Migration Assistant. If you skip the process, you will have issues if you want to use the same user name that you previously used.

  • Help needed on migration

    One of my customers has data on older Oracle database versions like Oracle 7. He wants to move all this data onto the version of Oracle 9i or 11i on a new Sun Server. The older Oracle is on non Solaris platform

    I tried compling servlet, but it is raising error
    that coul not find package javax.servletWhat I did not mention... you need to add those JARs in the Classpath explicitly. You will find them in %TOMCAT_HOME%\common\lib. You atleast need to add servlet-api.jar to your Classpath. :)

  • Migration q and decision help needed

    I am moving from a macbook pro to a mac mini. I need to migrate. Which is the best method to do so? I can 1 - migrate using the MBP in firewire target disk mode 2- clone the mbp hd to an external drive and then migrate from that external drive 3- clone the MBP drive to the new mac mini desktop drive but I am worried that some of the system software might be different between the two machines? or 4 - migrate from my time machine back up???
    I have done the Firewire target disk mode a few times and one time, it completely wiped the drive that was in TDM and I lost everything so I am wary of that. The easiest would be to just clone the drive from the MBP to the mac mini desktop but will there be any issues with the different hardware running the same system? The time machine option will be realllllllly sloooooooow will it not?
    Thoughts, Ideas, Tips? Much appreciated. Thank you

    Thanks for the feedback. BTW, if you're running SL, please update your profile info. For speeding up your new machine, start with:
    Mac Maintenance Quick Assist,
    Mac OS X speed FAQ,
    Speeding up Macs,
    Macintosh OS X Routine Maintenance
    Essential Mac Maintenance: Get set up,
    Essential Mac Maintenance: Rev up your routines,
    Maintaining OS X, and
    Myths of required versus not required maintenance for Mac OS X for information.

  • Help Required in Migrating the Dev to Test Instance

    Hi
    Am very new to SOA platform, i developed one project in dev instance. now i would like to move this project to test instance.
    can any one help me to migrating the project.
    So I Need sample document with step by step instruction. i have 5 days only to migrate, i gone through so many blogs and post in metalink, but i didn't understand the concept exactly.
    Santhosh Kumar. K

    Hi K,
    There are many ways to do it, it will all depend on your environment.
    The way that works for me is:
    1. Deploy your project to SAR (it will actually generate a jar file)
    2. Copy the generated file to the environment where it will be deployed
    3. Use the ant-sca-deploy.xml to deploy it
    ant-sca-deploy.xml will be located at $BEA_HOME/Oracle_SOA1/bin
    and you can call it from your own ant build.xml like this:
         <target name="deploy-app">
              <ant
                   antfile="${beaHome}/Oracle_SOA1/bin/ant-sca-deploy.xml"
                   target="deploy"
                   dir="${beaHome}/Oracle_SOA1/bin"
                   >
                   <property name="serverURL" value="${scaDeployUrl}"/>
                   <property name="sarLocation" value="${appEarDestDir}/${sca.jar}"/>
                   <property name="overwrite" value="true"/>
                   <property name="user" value="${domainUser}"/>
                   <property name="password" value="${domainPwd}"/>
                   <property name="failOnError" value="true"/>
                   <property name="partition" value="${partition}"/>
              </ant>
         </target>
    Cheers,
    Vlad
    Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this is helpful, please consider giving points

  • Help needed Converting MSSQL function to PL/SQL

    Hello,
    I have the following MSSQL code which I need to migrate to Oracle 10g. The problem I am having is the MSSQL code creates a temp table as the return type and I am unsure how to get the same functionality in PL/SQL.
    MSSQL CODE_
    CREATE FUNCTION [dbo].[QueryCurrentWhy]
    @ColumnID INT,
    @GroupID INT,
    @Parents VARCHAR(8000)
    RETURNS @R TABLE(ID1 int IDENTITY (1, 1) NOT NULL, ID2 int, ColID int, [Name] VARCHAR(255), Tlevel int, ParentID int, Processed BIT)
    AS
    BEGIN
    RETURN
    END
    The code I have currently written in PL/SQL is below. I firstly create a global temp table and then a sequence and trigger for it. I then create the Function in the hope I can specify the temp table as the return type. Problem is I get the error "PLS-00201: identifier 'TEMPR' must be declared". Im guessing this is because the temp table is declared outside the function declaration?
    ORACLE CODE_
    CREATE GLOBAL TEMPORARY TABLE tempR
    ID1 INT NOT NULL,
    ID2 INT,
    ColID INT,
    Name VARCHAR2(255),
    Tlevel INT,
    ParentID INT,
    Processed CHAR(1)
    CREATE SEQUENCE gCounter
         START WITH 1
         INCREMENT BY 1
    CREATE OR REPLACE TRIGGER gTrigger
    BEFORE INSERT ON tempR
    FOR EACH ROW
    DECLARE TEMP_NO INT;
    BEGIN
         SELECT gCounter.NEXTVAL INTO TEMP_NO FROM DUAL;
    :NEW.ID1 := TEMP_NO;
    END;
    CREATE OR REPLACE FUNCTION TSORADB.QueryCurrentWhy
    aColumnID INT,
    aGroupID INT,
    aParents VARCHAR2(8000)
    RETURN tempR
    AS
    BEGIN
    RETURN;
    EXCEPTION when NO_DATA_FOUND then null;
    END;
    Basically is it possible for me to declare the temp table in the return statement, if not then what is the best way to go about this?
    Thanks in advance
    Toby
    Edited by: redeye on Jul 27, 2009 3:26 PM

    Unfortunately I didnt write the original function or stored procedure and the person who did is no longer with the company, so apologies for any confusion with what I am saying.
    Maybe it'll be more helpful if i paste the contents of the function?
    CREATE OR REPLACE FUNCTION TSORADB.QueryCurrentWhy
    aColumnID INT,
    aGroupID INT,
    aParents VARCHAR2(8000)
    RETURN tempR
    AS
    --BEGIN
    aPKColTypeID INT;
    aFKDColTypeID INT;
    aFKDSColTypeID INT;
    aFKIColTypeID INT;
    aColType VARCHAR2(30);
    aTableID INT;
    aName VARCHAR2(255);
    aNameWhyMost VARCHAR2(255);
    aNameWhyMost2 VARCHAR2(255);
    aLongNameStr VARCHAR2(1000);
    aConnectStr VARCHAR2(1000);
    aColID INT;
    aColIDWhyMost INT;
    aColIDWhyMost2 INT;
    aColIDWhyMostLast INT;
    aCount INT;
    aID1 INT;
    aID2 INT;
    aPreID2 INT;
    aMaxID2 INT;
    aCurrentID2 INT;
    aTLevel INT;
    aTLevel2 INT;
    aTlevelLast INT;
    aNewLevel INT;
    aMaxTLevel INT;
    aMaxTLevel2 INT;
    aParentID INT;
    aParentID2 INT;
    aNewParentID INT;
    aProcessed number (1);
    --aCurVar1 CURSOR;
    aParent INT; aStrEntityIDSet varchar(2000); aStrPipeSepValsInput varchar(2000); aEndPointInput int; aSeperatorIndex int;
    aNumTempDoc INTEGER := 0;
    --aColumnID INT DEFAULT(0);
    --aGroupID INT DEFAULT(0);
    --aParents VARCHAR(8000) DEFAULT('');
    BEGIN
    SELECT ColumnTypeID INTO aPKColTypeID FROM TSORADB.HKColumnType WHERE ColumnTypeName = 'PK';
    SELECT ColumnTypeID INTO aFKDColTypeID FROM TSORADB.HKColumnType WHERE ColumnTypeName = 'FKD';
    SELECT ColumnTypeID INTO aFKDSColTypeID FROM TSORADB.HKColumnType WHERE ColumnTypeName = 'FKDS';
    SELECT ColumnTypeID INTO aFKIColTypeID FROM TSORADB.HKColumnType WHERE ColumnTypeName = 'FKI';
    IF (aGroupID is null)
    THEN
         aGroupID := -1;
    END IF;
    --Tokenize the parent array and get back a set of values.
    IF(aParents is not null)
    THEN
    BEGIN
         aStrEntityIDSet := aParents;
         aStrPipeSepValsInput := '|' + ltrim(rtrim(aStrEntityIDSet)) + '|';
         --print aStrPipeSepValsInput
         aEndPointInput := INSTR(aStrPipeSepValsInput, '|');
         aStrPipeSepValsInput := INSTR (aStrPipeSepValsInput, LENGTH (aStrPipeSepValsInput) - aEndPointInput); -- take out the '|' pattern
         WHILE (LENGTH (aStrPipeSepValsInput) > 0)
         LOOP
         BEGIN
              aEndPointInput := INSTR(aStrPipeSepValsInput, '|'); -- get the next '|' pattern
              aParent := SUBSTR(aStrPipeSepValsInput, 1, aEndPointInput - 1);
              --PRINT 'aParent is ' + CONVERT (NVARCHAR, aParent)
              aStrPipeSepValsInput := INSTR (aStrPipeSepValsInput, LENGTH (aStrPipeSepValsInput) - aEndPointInput);
              INSERT INTO TmpParent (ColID) VALUES (aParent);
         END;
         END LOOP;
    END;
    END IF;
    SELECT hkc.TableID, hkc.Name, hkct.ColumnTypeName
    INTO aTableID, aName, aColType
    FROM TSORADB.HKColumns hkc
    INNER JOIN TSORADB.HKColumnType hkct on hkc.ColTypeID = hkct.ColumnTypeID
    WHERE hkc.ColumnID = aColumnID;
    IF aColType in ('PK','PKD')
    THEN
         -- Generate Unique Path Table Start
         SELECT
         CASE WHEN FKIs3.Name is null
         THEN PKs3.Name
         ELSE FKIs3.Name
         END Name
         INTO aName
         FROM TSORADB.HKColumns PKs3
         INNER JOIN
         SELECT hkc3.TableID FROM TSORADB.HKColumns hkc3
         WHERE hkc3.ColumnID = aColumnID
         ) HKC3 ON PKs3.TableID = HKC3.TableID
         LEFT OUTER JOIN
         SELECT TableID, Name
         FROM TSORADB.HKColumns
         WHERE ColTypeID = aFKIColTypeID
         ) FKIs3 ON PKs3.TableID = FKIs3.TableID
         WHERE PKs3.ColTypeID = aPKColTypeID AND ((aGroupID=-1 AND PKs3.GroupID IS NULL) OR PKs3.GroupID=aGroupID);     
    END IF;
    -- Insert query column itself
    aTlevel := 0;
    aParentID := 0;
    aID2 := 1;
    IF (aColType = 'ATT')
    THEN
    BEGIN
    INSERT INTO tempR(ID2, ColID, Name, Tlevel, ParentID, Processed)
    SELECT distinct aID2, TopHKCs.ColumnID as ColID, aName as Name,aTlevel as Tlevel, aParentID as ParentID, 1 as Processed
         FROM TSORADB.HKColumns TopHKCs
    WHERE TopHKCs.ColumnID = aColumnID;
    aID2 := aID2 + 1;
    aTlevel := 1;
         aParentID := aColumnID;
         -- Get the non-compound name for the parent
         SELECT
         CASE WHEN FKIs3.Name is null
         THEN PKs3.Name
         ELSE FKIs3.Name
         END Name
         INTO aName
         FROM TSORADB.HKColumns PKs3
         INNER JOIN
         SELECT hkc3.TableID FROM TSORADB.HKColumns hkc3
         WHERE hkc3.ColumnID = (SELECT ColumnID FROM TSORADB.HKColumns WHERE TableID = aTableID AND ColTypeID = aPKColTypeID)
         ) HKC3 ON PKs3.TableID = HKC3.TableID
         LEFT OUTER JOIN
         SELECT TableID, Name
         FROM TSORADB.HKColumns
         WHERE ColTypeID = aFKIColTypeID
         ) FKIs3 ON PKs3.TableID = FKIs3.TableID
         WHERE PKs3.ColTypeID = aPKColTypeID AND ((aGroupID=-1 AND PKs3.GroupID IS NULL) OR PKs3.GroupID=aGroupID);
         INSERT INTO tempR(ID2, ColID, Name, Tlevel, ParentID, Processed)
    SELECT aID2, ColumnID, aName, aTlevel, aParentID, 0
    FROM TSORADB.HKColumns
         WHERE TableID = aTableID
         AND ColTypeID = aPKColTypeID;
    aID2 := aID2 + 1;
    END;
    ELSE
    BEGIN
         INSERT INTO TmpR1(ColID, Name, Tlevel, ParentID, Processed)
         SELECT nonCompoundHks.ColumnID as ColID, aName as Name,aTlevel as Tlevel, aParentID as ParentID, 0 as Processed
         FROM TSORADB.HKColumns nonCompoundHks
         WHERE nonCompoundHks.Name = aName --lower(nonCompoundHks.Name) = lower(aName)
         AND ((aGroupID=-1 AND nonCompoundHks.GroupID IS NULL) OR nonCompoundHks.GroupID=aGroupID)
         AND nonCompoundHks.ColTypeID = aPKColTypeID
         AND EXISTS
              select ColumnID
              From TSORADB.HKColumns hkc4
              WHERE hkc4.TableID = nonCompoundHks.TableID
              AND (hkc4.ColTypeID = aFKDColTypeID OR hkc4.ColTypeID = aFKDSColTypeID)
         AND NOT EXISTS
              select ColumnID
              From TSORADB.HKColumns hkc5
              WHERE hkc5.TableID = nonCompoundHks.TableID
              AND hkc5.ColTypeID = aFKIColTypeID
              AND ((aGroupID=-1 AND hkc5.GroupID IS NULL) OR hkc5.GroupID=aGroupID)
         INSERT INTO TmpR1(ColID, Name, Tlevel, ParentID, Processed)
         SELECT compoundPk.ColumnID as ColID, aName as Name,aTlevel as Tlevel, aParentID as ParentID, 0 as Processed
         FROM TSORADB.HKColumns compoundPk
         INNER JOIN TSORADB.HKColumns compoundHkc on compoundHkc.TableID = compoundPk.TableID AND compoundHkc.ColTypeID = aFKIColTypeID
    INNER JOIN (
              SELECT hkc.ColumnID
              FROM TSORADB.HKColumns hkc
              WHERE hkc.ColTypeID = aPKColTypeID
              AND hkc.Name = aName --lower(hkc.Name) = lower(aName)
              AND ((aGroupID=-1 AND hkc.GroupID IS NULL) OR hkc.GroupID=aGroupID)
              AND NOT EXISTS
              select ColumnID
              From TSORADB.HKColumns hkc2
              WHERE hkc2.TableID = hkc.TableID
              AND (hkc2.ColTypeID = aFKDColTypeID OR hkc2.ColTypeID = aFKDSColTypeID)
              AND ((aGroupID=-1 AND hkc2.GroupID IS NULL) OR hkc2.GroupID=aGroupID)
    ) Indys ON Indys.ColumnID = compoundHkc.ForeignKey
         WHERE compoundPk.ColTypeID = aPKColTypeID;
         INSERT INTO tempR(ID2, ColID, Name, Tlevel, ParentID, Processed)
         SELECT ID2, ColID, Name, Tlevel, ParentID, Processed FROM TmpR1;
         FETCH FROM aCurVar1 INTO aColID, aName, aTlevel, aParentID, aProcessed
         WHILE aafetch_status = 0
         BEGIN     
              IF(aParents is null or EXISTS (SElECT ColID FROM aTmpParent WHERE ColID = aColID) )
              BEGIN
                   INSERT INTO tempR(ID2, ColID, [Name], Tlevel, ParentID, Processed) VALUES(aID2, aColID, aName, aTlevel, aParentID, aProcessed)
                   SET aID2 = aID2 + 1
              END
              FETCH NEXT FROM aCurVar1 INTO aColID, aName, aTlevel, aParentID, aProcessed
         END
         CLOSE aCurVar1 */
    END;
    END IF;
         begin
         SELECT COUNT(*) INTO aNumTempDoc FROM tempR WHERE Processed = 0 and Tlevel < 1;
         end;
    WHILE aNumTempDoc > 0
    LOOP
    BEGIN
    -- Get current row
         SELECT ID1, ID2, ColID, Name, Tlevel, ParentID
         INTO aID1, aID2, aColID, aName, aTlevel, aParentID
         FROM tempR
         WHERE Processed = 0 AND ROWNUM = 1
         ORDER BY ID1;
    UPDATE tempR SET processed = 1 WHERE ID1 = aID1;
    aPreID2 := aID2;
    -- Get why parents
    declare CURSOR aCurVar1 IS --SELECT * FROM TSORADB.HKColumns;
         SELECT distinct FKDPKs.ColumnID as ColID,
              CASE WHEN FKDFKI.NAME is null
              THEN FKDPKs.Name
              ELSE FKDFKI.Name
              END Name,
         (aTlevel+1) as Tlevel,
         PREHKCs.ColID AS ParentID,
         0 as Processed
         FROM TSORADB.HKColumns FKDPKs
         INNER JOIN
         TSORADB.HKColumns FKDFKs ON FKDPKs.ColumnID = FKDFKs.ForeignKey
    INNER JOIN
         TSORADB.HKColumns FKDFKs2 ON FKDFKs2.TableID = FKDFKs.TableID
         INNER JOIN
         tempR PREHKCs ON PREHKCs.ColID=aColID AND PREHKCs.ColID = FKDFKs2.ColumnID AND PREHKCs.Tlevel=aTlevel
         LEFT OUTER JOIN
         SELECT TableID, Name, GroupID
         FROM TSORADB.HKColumns
         WHERE ColTypeID = aFKIColTypeID
         ) FKDFKI ON FKDFKI.TableID = FKDPKs.TableID
         INNER JOIN TSORADB.HKColumnType ON FKDPKs.ColTypeID=HKcolumnType.ColumnTypeID
         WHERE FKDPKs.ColTypeID=aPKColTypeID AND FKDPKs.ColumnID <> aColumnID
         AND FKDFKs.ColTypeID=aFKDColTypeID
    AND ((aGroupID=-1 AND FKDPKs.GroupID IS NULL) OR FKDPKs.GroupID=aGroupID);
         BEGIN
    OPEN aCurVar1;
    aCount := 1;
    SELECT MAX(ID2) INTO aID2 FROM tempR;
    LOOP
         FETCH aCurVar1 INTO aColID, aName, aTlevel, aParentID, aProcessed;
         Exit when aCurVar1%NOTFOUND; -- Exit the loop when no more rows are found.
    --WHILE aafetch_status = 0
    BEGIN
    IF (aCount = 1) -- The first Why Parent
              THEN
                   INSERT INTO tempR(ID2, ColID, Name, Tlevel, ParentID, Processed) VALUES(aPreID2, aColID, aName, aTlevel, aParentID, 0);
    ELSE -- The multiple Why Parents
    BEGIN
                   aID2 := aID2 + 1;
    -- Copy the previous parent with increased ID2
    INSERT INTO tempR(ID2, ColID, Name, Tlevel, ParentID, Processed) SELECT aID2 as ID2, ColID, Name, Tlevel, ParentID, 1 AS Processed FROM tempR WHERE ID1 <= aID1 AND ID2 = aPreID2;
    -- Insert the new why parent
    INSERT INTO tempR(ID2, ColID, Name, Tlevel, ParentID, Processed) VALUES(aID2, aColID, aName, aTlevel, aParentID, 0);
    END;
    END IF;          
    aCount := aCount + 1;
              --FETCH NEXT FROM aCurVar1 INTO aColID, aName, aTlevel, aParentID, aProcessed;
    END;
         END LOOP;
    CLOSE aCurVar1;
         END;
         SELECT COUNT(*) INTO aNumTempDoc FROM tempR WHERE Processed = 0 and Tlevel < 1;
    END;
    END LOOP;
    -- Generate Unique Path Table End
    RETURN;
    EXCEPTION when NO_DATA_FOUND then null;
    END;
    The table which is returned to the SProc is used in the following way, (MSSQL code, as am yet to migrate). Basically using some of the returned column values along with DB values to populate a second temp table
    INSERT INTO #TmpR1 SELECT * FROM QueryCurrentWhy(@ColumnID, @GroupID, @Parents)
    SET @Tlevel = 1
    INSERT INTO @R
    SELECT HKColumns.Columnid as ColID, HKColumns.Tableid as TblID, R1.Name as [Name], HKColumns.NounID AS KeyCompA, R1.ParentID AS KeyCompB, HKColumns.ColTypeID as ColTypeID, ColumnTypeName as ColType, 0 as HasWhats,
    CASE WHEN R2.ColID is null
    THEN 0
    ELSE 1
    END HasWhyParent,
    0 as IsSelected
    FROM HKColumns
    INNER JOIN #TmpR1 AS R1
    ON HKColumns.ColumnID = R1.ColID AND R1.Tlevel=@Tlevel
    INNER JOIN HKColumnType
    ON HKColumns.ColTypeID=HKcolumnType.ColumnTypeID AND HKColumns.ColTypeID=@PKColTypeID
    LEFT JOIN #TmpR1 AS R2
    ON R2.ID2 = R1.ID2 AND R2.Tlevel=@Tlevel+1 AND R2.ParentID=R1.ColID

  • Need to migrate Shared services users and groups from 9.3.1 to 11.1.2.2 ver

    Hi All,
    We need to migrate Shared services users and groups from 9.3.1 to 11.1.2.2 version. Any help would be appreciated. Can we use CSS import export utility?
    Thanks in advance!!

    Hi John, In my another environment I have to migrate the users and groups from Hyperion HSS 11.1.1.2 to Hyperion shared services 11.1.2.2. I am using LCM for that, when I export the users and gropus from 11.1.1.2, it exports fine but when i import it to my 11.1.2.2 using LCM, I am getting the below errors.
    Error when I try to import the groups:
    ErrorEPMIE-00051: Failed to perform operation on role. Could not locate role matching filter {0} and filter attribute {1}. Please ensure that a role exists matching the filter with filter attribute.
    EPMIE-00024: Failed to import all of the membership info for group test group. Invalid group members encountered. Please ensure the validity of members and its existence in their respective providers.
    Errors when i try to import the users:
    ErrorEPMIE-00051: Failed to perform operation on role. Could not locate role matching filter {0} and filter attribute {1}. Please ensure that a role exists matching the filter with filter attribute.
    EPMIE-00020: Failed to update user 04668162 during import. Invalid identity for user. Please ensure that the user is available in the system with the identity specified in the import file.
    Any idea?
    Thanks in advance.

  • My newish MacBook Air was just lost to a coffee spill, and I need to migrate back to my MacBook Pro using a recent back-up (Time Machine to external disk).  Can I do this?

    My newish MacBook Air was just lost to a coffee spill, and I need to migrate back to my MacBook Pro using a recent back-up (Time Machine to external disk) for a few weeks.  This same disk was used to back-up the Pro earlier, and to migrate from the Pro to the Air.  Can I do this "back-migration" from the Air to the Pro?  Is it maybe better just to migrate the specific folders (Outlook email, Office docs) I am sure I need?

    Do not attempt to copy files/folders from a Time Machine backup. Only use the Time Machine application to restore from the backup.
    Click on a Finder window and select Help from the Finder's Help menu. Search for "restore" and select "restore items backed up with time machine" from the hints list. You will find these two articles:
    Recover items using Time Machine and Spotlight
    If you use Time Machine to back up your Mac, you can use Time Machine with Spotlight to recover lost or deleted items.
    Note: You can retrieve earlier versions of TextEdit documents from within TextEdit. For more information, see: 
    View and restore past versions of documents
    Open a Finder window and type a search word or phrase in the search field in the upper-right corner.
    Select a location to search in the location bar.
    Refine the results by specifying search criteria. Narrow down Spotlight search results
    Open the Time Machine menu in the menu bar, then choose Enter Time Machine.
    Use the arrows and timeline to browse the Time Machine backups. Your search is performed in every window.
    When you find the item you want to restore, select it, then click Restore.
    The restored item is returned to its original location. For example, if the item was found in the Documents folder, it’s returned to the Documents folder.
    Restore items backed up with Time Machine
    If you use Time Machine to back up your Mac, you can easily bring back lost items or recover older versions of files.
    You can use Time Machine within many apps. If the iCloud Documents & Data feature is turned on, you can recover older versions of iCloud documents as well as regular documents.
    Open a window for the item you want to restore.For example, if you accidentally deleted a file from your Documents folder, open the Documents folder. To recover an email message, open your inbox in Mail. To recover an iCloud document, open the document’s app, choose File > Open, then click iCloud to view the iCloud documents for that app.If you’re missing an item from the desktop, you don’t need to open a window.
    From the Time Machine menu in the menu bar, choose Enter Time Machine. A message may appear while your Mac connects to the backup disk.
    Use the arrows and timeline to browse the snapshots and backups.White tick marks represent snapshots stored on your internal drive (portable computers only). Pink tick marks represent backups stored on your backup disk. If a tick mark appears dimmed or grayed, there’s no backup available or the backup disk is not connected.
    For more information about an item, double-click it.The windows in Time Machine behave just like Finder windows, so you can open folders, click items in the sidebar, and use the search field in the upper-right corner of the window.
    When you find the item you want to restore, select it, then click Restore. You can restore individual items, multiple items, folders, or your entire hard disk.The restored item is returned to its original location. For example, if the item was found in the Documents folder, it is returned to the Documents folder.

  • I need to migrate data from Lion to OSX do you know of any problems with content between the two systems?

    I'm using a MacBook AIR and OSX 10.9.1. When I upgraded that I made a mistake with the user name and so created another user. Now I understand I need to migrate the data between the two systems but that there might be trouble with some of the content files transferring across? Has anyone done this before? If so what were the pitfalls? Thanks and Help! No-one typing this feels as if they're on a steep learning curve at all!

    Hi nothpole
    Welcome to BlackBerry Support Forums
    Sorry to hear that you're having issues with your BlackBerry ! Before trying anything else can you try check a few setting or undo it on your device ?
    northpole wrote:
    I have memory cleaning scheduled to run every 1 hour.
    First advise is to disable Memory Cleaner ! you don't need that , It can cause freezing and clocking. To disable it , From your homescreen go to Options > Security > Advance Security setting > Memory Cleaner > Disable that feature .After disabling it reboot your device do it by removing the Battery while your device is Powered On then wait for at least a minute then reinsert it back, your device may take a long reboot . 
    Then monitor your device for the next few hrs. and check if you feel the same problem .
    let us know.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Help with domain migration of a HyperV ( csv ) CLUSTER on Windows 2008R2

    Hello everyone ,
    In our environment we have 3 physical machines running Windows 2008 R2, under the " domain.local ";
    Server1 -> Primary Domain Controller
    Server2 -> Node 1 of cluster Hyper V
    Server 3 -> Node 2 Cluster Hyper V
    Server 2 and Server 3 share CSV storage mode , and contain multiple virtual machines
    We need to migrate all machines to a new domain , but I'm very lost on how to do and not lose the cluster. Can anyone help me and tell me please  the steps to migrate this environment from the old domain to the new domain ?
    do i have mount a parallel cluster in the new domain and then, migrate one by one all the virtual machines?
    Thank you very much , any help is welcome

    Hi Sir,
    If you have only 3 physical machines and can not re-build the hyper-v cluster into new domain, I would suggest you to maintain two domain  one for hyper-v cluster one for the new domain (as for new domain , you can create a VM in hyper-v cluster and
    promote it to be a new DC ).
    If you have more physical machines you can  try to create a new domain and cluster then move these VMs into the new cluster to achieve migration .
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

Maybe you are looking for

  • Error Reading Header File When Creating a CIN

    Hello everyone. I am a college student new to LabView and Im using the software to create a real time data acquisition system for EMG signal analysis for a research project. However, Im having difficulty building a CIN for my C code. I am using Micro

  • Learning Map in SolMan

    Hi ALL, We created a learning map in SolMan and I am not able to send it to users. When I click on button "Send to Users" in T-SOLAR_LEARNING_MAP, I get a message 'The page cannot be displayed'. I checked for SAP Note 960811 - "Error when sending lea

  • WPA2 Enterprise with netctl

    Hi, I'm trying to connect to my university wifi which I believe is WPA2 Enterprise protected. I read the wiki about using the Eduroam netctl profile example for WPA2 Enterprise networks but it doesn't seem to work for me. This is what I have: Connect

  • IDT High-Definition Audio CODEC Driver,

    please driver sound IDT High-Definition Audio CODEC Driver for windows xp laptop compaq presario cq61 115ee This question was solved. View Solution.

  • Disk Diagnostics won't work...

    Hello. I'm on a MacBook Air - 2014 which brought installed OS X Mavericks 10.9.4. The day after buying it, I installed OS X Yosemite. Then I erased it's SDD! I installed OS X Yosemite again, via internet! Apple Disc Diagnostics doesn't work! I used e