VLD-2771 in OWB 9.2

Hi...
I have installed OWB 9.2 onto 9.2.0.1 database on local machine (Windows XP). The install was fine and I have created both Design and Runtime repositories on the same machine.
I have created a new user called OWB and am using this as a source schema. In here is one view which does a simple select * from video5.products (one of the tables that come with the Discoverer video tutorial database).
I can pull this view in via my source location and I can create a mapping to a table in my target. When I deploy my table gets generated and deployed but the map reports a warning "VLD-2771: System privileges may not allow extraction from source V_OWB_VID_PRODUCT"
I have scanned OTN and can see that people have suggested to ignore this warning and proceed with the Deploy. This I did and it did deploy but it will not run. It deploys as MAP_VID_PROD_IT and so I am issuing this command:
BEGIN
MAP_VID_PROD_IT.MAIN;
END;
but when I run this I get this:
ORA-06550: line 2, column 1:
PLS-00306: wrong number or types of arguments in call to 'MAIN'
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
presumably the wrong number of arguements are caused because my target cannot read the source file into the map? However when I type: SELECT * FROM OWB.V_OWB_VID_PRODUCT it works.
Please help because I am going to a new client on Monday and am supposed to be installing 9.2. I have tried granting DBA privileges to all of my Runtimes accounts - Runtime Repository Owner, Runtime User and Target
Owner but does not make any difference.
Regards
Michael

You describe two unrelated issues: 1) system privileges between source and target schemas and 2) calling mappings "by hand".
1) The VLD-2771 warning is because the source and target schemas reside within the same database, which means that OWB does not generate code that uses database links. Rather, it generates code that uses the <schema>.<table> notation, which requires that select privileges have been granted to the tables in the source schema that the Mapping uses. Apparently OWB does not check wether the required privileges have been granted; it might not be able to depending on where you are deploying from.
Since you are able to select from the tables (presumably when logged into the target schema), there shouldn't be any problems with this.
2) The MAIN procedure in Mapping packages requires an argument which is a data structure defined somewhere else. You will have find out the type name and wether it is a PL/SQL record. I can't remember what the type name is called, but I seem to remember that it is a PL/SQL record. If it is a PL/SQL record, the code below should do the trick.
declare
map_param <type name goes here>;
begin
map_vid_prod_it.main(map_param);
end;
There is no need to specify values in the data structure, since the generated code has defaults for all the values (they are the same as the ones displayed when running a Mapping from the Deployment Manager).
Regards,
Janus Christensen

Similar Messages

  • VLD-2771 System privileges may not allow extraction from source ....??

    When I try to deploy the mappings in OWB Deployment Manager, I got a Warning "VLD-2771 System privileges may not allow extraction from source ORDER_ITEMS". WHY? ^^""
    ========================================
    I define a Runtime Repository Connections "ORACLE_HW_RUNTIME"
    Host Name: localhost
    Port Number: 1521
    Service Name: GBGLM
    Connect As User: owb904rr
    Runtime Repository Owner: owb904rr
    and the "ORACLE_HW_RUNTIME" is in "ORACLE_WAREHOUSE" module, the "ORACLE_WAREHOUSE" use the link "OE" and the owner is "OWBUSER"
    p.s. the table "ORDER_ITEMS" is in "OE" schema. I had grant DBA to "owb904rr" and "OWBUSER".
    then use "ORACLE_HW_RUNTIME" to deploy the Mappings "WH_ORDERS_MAP". What I need to do for deploy?
    ^_^||

    Anyone with similar experience using SQL Server as the source?
    First I get: VLD-2771: System privileges may not allow extraction from source Product.
    Then if i ignore the warning and deploy, i get
    ORA-06550: line 15, column 18:
    PL/SQL: ORA-00942: table or view does not exist
    I have a public database link to the sql server database.
    When I create the mapping, I am able to see the tables and create the map. So why this problem when deploying. Which user is to be granted access to the source tables. I belive we cannot grant access to remote database tables using a database link. So what is the work around?
    Any help is highly appreciated.
    Please email me at [email protected]

  • VLD : 2771

    hello, can you help me please ?
    i'm working with OWB 9.2.0.2.8
    - workstation : windows 2000 Advenced server
    - server : Linux AS 2.1
    when i generate a mapping an erreur like :
    "VLD : 2771 les privilèges système ne permettent pas d'effectuer d'extraction de la source ..." was generated.
    please can you tel me reason ?
    thank you

    VLD-2771 is a warning message, not an error. You will be able to proceed with generation. It happens because OWB can not guarantee that the source schema you are using has appropriate permissions. To be able to execute the mapping, the source schema objects must have SELECT permission granted at least to the OWB target user.
    Nikolai

  • VLD-2771: System privileges may not allow extraction from source T.

    How to solve this problem.
    while deploying I am getting this message,besides where in oracle site I can find documentation for the errors in warehouse builder.
    VLD-2771: System privileges may not allow extraction from source T.
    I had given dba privileges to both source and target schemas, but still getting the error.
    Regards,
    Prabhathg

    When I tried to deploy my mapping, I am getting warning message <<VLD-2771: System privileges may not allow extraction from source D_UII_MV_NCA_INFRACONN.>>. As solution written in "http://forums.oracle.com/forums/thread.jsp?forum=57&thread=252565&message=742299", I gave SELECT privilege on the source table to the target user. But still, I am getting this error message.
    Can you please guide me in right direction?

  • Database Link in the OWB

    We are trying to deploy a map that needs to use a database link to access the source table in another server. We could create database link on OWB and import tables. When we deployed it we receive the first error "VLD-2771: System privileges may not allow extraction from source PROD_TAX_AVG" and after "table or view does not exists". The privileges was granted and we can test the access in SQLPLUS using the database link created.
    Anybody knows this issue ?
    Thanks,
    Ricardo

    Hi Ricardo,
    The message "VLD-2771: System privileges may not allow extraction from source PROD_TAX_AVG" is merely a warning, this can (generally) be ignored.
    After deploying your mapping check the PL/SQL code deployed and try to identify where the problem is.
    I have encountered the issue before where the schema name is configured for the mapping overriding the location defined parameters.
    To check this in the Design repository, right-click the mapping and click 'Configure'.
    Expand 'Sources and Targets' and check the schema name is not hard-coded.
    Cheers.

  • URGENT: OWB MAPPING

    i am getting the following error while executing the mapping scripts in OWB: PLEASE REPLY URGENTLY
    Starting Execution WINE_PRODUCTS
    Starting Task WINE_PRODUCTS
    ORA-04063: package body "OWBMISO5.WINE_PRODUCTS" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    Completing Task WINE_PRODUCTS
    Completing Execution WINE_PRODUCTS
    earlier at the time of deployement i was getting the warning
    "LD-2771: System privileges may not allow extraction from source TB_WINE_PRODUCTS."

    Hi Kunal,
    VLD-2771: System privileges may not allow extraction from source TB_WINE_PRODUCTS means that OWB can't determine whether you have sufficient rights on the source you're trying to read. Check if priviliges are correct, if so this message can be ignored.
    More important is ORA-06508, this implies the mapping cannot be found. I don't know how you run this mapping, if you use the SQL template or RUN_MY_OWB_STUFF, check whether you used the right parameters (like location).
    Good luck, Patrick

  • OWB 904 doesn't use DB Links in mapping scripts

    I'm having trouble deploying mappings because they don't use the generated DB Links in the mapping scripts.
    Normally when deploying a mapping I get this warning that certainly is correct since it can't find the source table:
    VLD-2771: System privileges may not allow extraction from source ZIPCODE.
    Extract from the mapping script:
    CURSOR "ZIPCODE_c" IS
    SELECT
    "ZIPCODE_DWH"."ZIPCODE" "ZIPCODE",
    "ZIPCODE_DWH"."CITY" "CITY",
    ROWNUM "ROWNUM_ALIAS$$$"
    FROM "AXAPTA"."ZIPCODE" "ZIPCODE_DWH" ;
    Only when explicitly typing the name of the DB link in the configure options of the mapping will it work. But when I do this I get the following warning:
    VLD-1124: Schema and/or Database link physical configuration parameters should not be set for ZIPCODE.
    The version of the code that works:
    CURSOR "ZIPCODE_c" IS
    SELECT
    /*+ NO_MERGE */
    "ZIPCODE_dwh.business8123"."ZIPCODE" "ZIPCODE",
    "ZIPCODE_dwh.business8123"."CITY" "CITY",
    ROWNUM "ROWNUM_ALIAS$$$"
    FROM "ZIPCODE"@"dwh.business.auc.dk@dwh" "ZIPCODE_dwh.business8123" ;
    Shouldn't the mapping script use the DB Link normally or is there an option I have missed? I see in the Reviewers Guide that the target user is granted access to the source (through Public) but won't this only work if both source and target is in the same database?
    Regards
    Bent

    Hi guys,
    I am facing a strange problem. The code generated for my mapping has NOT used the dblinks. My OWB version is 10.1.0.4
    This is my problem in brief.
    I have installed OWB newly and started to do a sample task. I created a very simple one to one table population mapping from source to the target schema. Both are in the same database.
    When i generated the code for the mapping, it gave a warning 'VLD-2771: System privileges may not allow extraction from source EMP'.
    When i checked the code which was generated, i couldnot see any dblinks associated with my source table( which seems strange)
    CURSOR "INGRP_c" IS
    SELECT
    "EMP_SRC_TRG_CONN"."EMPNO" "EMPNO",
    "EMP_SRC_TRG_CONN"."ENAME" "ENAME",
    "EMP_SRC_TRG_CONN"."JOB" "JOB",
    "EMP_SRC_TRG_CONN"."MGR" "MGR",
    "EMP_SRC_TRG_CONN"."HIREDATE" "HIREDATE",
    "EMP_SRC_TRG_CONN"."SAL" "SAL",
    "EMP_SRC_TRG_CONN"."COMM" "COMM",
    "DEPT_SRC_TRG_CONN"."DEPTNO" "DEPTNO_1",
    "DEPT_SRC_TRG_CONN"."DNAME" "DNAME",
    "EMP_SRC_TRG_CONN"."DEPTNO" "DEPTNO",
    "DEPT_SRC_TRG_CONN"."LOC" "LOC"
    FROM "SCOTT"."EMP" "EMP_SRC_TRG_CONN" ;
    In brief this is the process i have done.
    Source schema : SCOTT & Target schema : TRG_SCHEMA
    1) I have created source (for SCOTT) and target(for TRG_SCHEMA) modules.
    2) I have also created DBLinks, Locations and Connector from source to the target locations.
    3) I registered both the source location and target locations.
    4) Validated, Generated and Deployed the Connector from source to the target.
    I was unable to trace the error. Did i miss anything in the configuration? or during the installation of OWB.
    Though it is a very old post, i hope someone can help me out here.
    Thanks in Advance,
    Sri

  • Execution of mapping gets hanged in OWB Deployment Manager

    Description:
    Scenario - 1
    1. Source schema (rapid) to staging schema (radar01)
    We have a few mappings where we need to load data from the source to target. These mappings are successfully validated, deployed and executed.
    Both schemas reside in same database.
    Scenario - 2
    2. Staging schema (radar01) to Warehouse schema (radar02)
    We have a few mappings where we need to load from staging to warehouse.
    Please note the staging schema here is a target schema in the scenario-1 and in scenario - 2
    It is the source. The mappings where successfully validated, but a warning message is displayed while deploying.
    Warning:
    VLD-2771: System privileges may not allow extraction from source STG_ULD.
    Skipped the warning and then executed, Till 22nd the mapping was getting executed and data was getting loaded into the target schema from staging.
    From 22nd onwards, while executing these mappings, execution remains hanged forever
    Runtime Audit Browser:
    In Runtime Audit Browser shows the status for the above mappings as BUSY
    Actions Taken:
    1. Purged all previous mappings
    2. Analysed all the runtime repository tables.
    3. Purged the BUSY status mappings also by using the procedure.
    4. Grants given (SELECT ON) on all the staging schema tables to warehouse schema.
    5. Restarted the database.
    Even after the above actions also the problem has not yet been solved. Kindly suggest us how to go about.
    Environment:
    OWB 10g Client - 10.1.0.2.0
    OWB 10g Repository - 10.1.0.1.0
    Workstation OS - Windows XP
    Oracle database - 9.2.0.1.0
    Database server installed on Unix OS (Solaris)

    May be you would like to check at the database of what exactly is getting executed. Just check if there is a query running on either source or target objects. If this is a case then you would like to grab it and optimize the same.
    If this is not a case then it could be that the mapping is waiting for some locks.

  • VLD-1124: Schema and/or Database link physical configuration parameters

    Hi!
    The warning message:
    VLD-1124: Schema and/or Database link physical configuration parameters should not be set for Table1.
    Is it possible to eliminate this warning message ? Anyway , Thanks for your response!
    Bye!

    Hi guys,
    I am facing a strange problem. The code generated for my mapping has NOT used the dblinks. My OWB version is 10.1.0.4
    This is my problem in brief.
    I have installed OWB newly and started to do a sample task. I created a very simple one to one table population mapping from source to the target schema. Both are in the same database.
    When i generated the code for the mapping, it gave a warning 'VLD-2771: System privileges may not allow extraction from source EMP'.
    When i checked the code which was generated, i couldnot see any dblinks associated with my source table( which seems strange)
    CURSOR "INGRP_c" IS
    SELECT
    "EMP_SRC_TRG_CONN"."EMPNO" "EMPNO",
    "EMP_SRC_TRG_CONN"."ENAME" "ENAME",
    "EMP_SRC_TRG_CONN"."JOB" "JOB",
    "EMP_SRC_TRG_CONN"."MGR" "MGR",
    "EMP_SRC_TRG_CONN"."HIREDATE" "HIREDATE",
    "EMP_SRC_TRG_CONN"."SAL" "SAL",
    "EMP_SRC_TRG_CONN"."COMM" "COMM",
    "DEPT_SRC_TRG_CONN"."DEPTNO" "DEPTNO_1",
    "DEPT_SRC_TRG_CONN"."DNAME" "DNAME",
    "EMP_SRC_TRG_CONN"."DEPTNO" "DEPTNO",
    "DEPT_SRC_TRG_CONN"."LOC" "LOC"
    FROM "SCOTT"."EMP" "EMP_SRC_TRG_CONN" ;
    In brief this is the process i have done.
    Source schema : SCOTT & Target schema : TRG_SCHEMA
    1) I have created source (for SCOTT) and target(for TRG_SCHEMA) modules.
    2) I have also created DBLinks, Locations and Connector from source to the target locations.
    3) I registered both the source location and target locations.
    4) Validated, Generated and Deployed the Connector from source to the target.
    I was unable to trace the error. Did i miss anything in the configuration? or during the installation of OWB.
    Though it is a very old post, i hope someone can help me out here.
    Thanks in Advance,
    Sri

  • Problem in 10g warehouse builder installation

    I installed 10g warehouse builder on windows xp but when I was trying to deploy the mapping it show a error .
    VLD-2771: System privileges may not allow extraction from source EMP.
    please help me out of this problem

    Hello,
    You might build mapping where you manually configure some target/source object to have database schema and/or database link. In this case OWB warns you that mapping could fail due to lack of access privileges to that object.
    But if you explicitly grant appropriate privilege to mapping’s owner – that’s OK. Mapping will work fine but your will still get this warning during validation/deployment.

  • No DBLinks in the the generated code

    Hi guys,
    I am facing a strange problem. The code generated for my mapping does NOT have the dblinks. My OWB version is 10.1.0.4
    This is my problem in brief.
    I have installed OWB recently and started to do a sample task. I created a very simple one to one table population mapping from source to the target schema. Both are in the same database. When i generated the code for the mapping, it gave a warning 'VLD-2771: System privileges may not allow extraction from source EMP'.
    And the mapping gave an error when i deployed the code.
    When i checked the code which was generated, i couldnot see any dblinks associated with my source table( which seems strange)
    CURSOR "INGRP_c" IS
    SELECT
    "EMP_SRC_TRG_CONN"."EMPNO" "EMPNO",
    "EMP_SRC_TRG_CONN"."ENAME" "ENAME",
    "EMP_SRC_TRG_CONN"."JOB" "JOB",
    "EMP_SRC_TRG_CONN"."MGR" "MGR",
    "EMP_SRC_TRG_CONN"."HIREDATE" "HIREDATE",
    "EMP_SRC_TRG_CONN"."SAL" "SAL",
    "EMP_SRC_TRG_CONN"."COMM" "COMM",
    "EMP_SRC_TRG_CONN"."DEPTNO" "DEPTNO"
    FROM "SCOTT"."EMP" "EMP_SRC_TRG_CONN" ;
    In brief this is the process i have done.
    Source schema : SCOTT & Target schema : TRG_SCHEMA
    1) I have created source (for SCOTT) and target(for TRG_SCHEMA) modules.
    2) I have also created DBLinks, Locations and Connector from source to the target locations.
    3) I registered both the source location and target locations.
    4) Validated, Generated and Deployed the Connector from source to the target.
    I was unable to trace the error. Did i miss anything in the configuration? or during the installation of OWB.
    Though it is a very old post, i hope someone can help me out here.
    Thanks in Advance,
    Sri
    Edited by: SriGP on Jul 2, 2009 6:34 AM

    If they are in the same db then you don't need dblink and error you're getting says that schema from witch you're trying to fetch the data does not have select privlige set on emp table.
    Grant select rights on the object, deploy it and see if it works. If it does, then just ignore this error.

  • Maping error

    hi
    In the warehouse version 9.2 i have recieved the following message after i try to deploy a maping which get data from emp table at scott schema. (VLD-2771: System privileges may not allow extraction from source EMP)
    any suggestion
    thanks

    On top of this. Even if you do do that, this warning will persist. So please do ignore it and simply hit deploy...
    Jean-Pierre

  • Can't execute mappings

    Good morning,
    I am having trouble executing a mapping that has a source table located on a different schema in the same database. The target schema does has SELECT privileges for the source table (I can select from the table in SQL Plus) but I am getting a warnings when I generate and deploy the mapping and I am getting an error when I try to execute the mapping. I don't know if any of these things are related.
    Generate warning:
    VLD-2771: System privileges may not allow extraction from source
    Deploy warnings:
    Warning ORA-06550: line 14, column 19: PL/SQL: ORA-00942: table or view does not exist
    Warning ORA-06550: line 12, column 65530: PL/SQL: SQL Statement ignored
    Warning ORA-06550: line 24, column 19: PL/SQL: ORA-00942: table or view does not exist
    Warning ORA-06550: line 22, column 65530: PL/SQL: SQL Statement ignored
    Warning ORA-06550: line 95, column 25: PL/SQL: ORA-00942: table or view does not exist
    Warning ORA-06550: line 88, column 65530: PL/SQL: SQL Statement ignored
    Execution errors:
    ORA-04068: existing state of packages has been discarded ORA-04063: package body "OWB_TEST.MAP_TEST" has errors ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1
    The mapping appears with an "X" next to it after it is deployed in the Deployment Manager.
    Here is some of the code but it didn't seem like the line numbers in the messages lined up with the line numbers of the generated code...
    line 14-27:
    ~~~~~
    CREATE OR REPLACE PACKAGE MAP_TEST AS
    -- Auditing mode constants
    AUDIT_NONE CONSTANT BINARY_INTEGER := 0;
    AUDIT_STATISTICS CONSTANT BINARY_INTEGER := 1;
    AUDIT_ERROR_DETAILS CONSTANT BINARY_INTEGER := 2;
    AUDIT_COMPLETE CONSTANT BINARY_INTEGER := 3;
    -- Operating mode constants
    MODE_SET CONSTANT BINARY_INTEGER := 0;
    MODE_ROW CONSTANT BINARY_INTEGER := 1;
    MODE_ROW_TARGET CONSTANT BINARY_INTEGER := 2;
    MODE_SET_FAILOVER_ROW CONSTANT BINARY_INTEGER := 3;
    MODE_SET_FAILOVER_ROW_TARGET CONSTANT BINARY_INTEGER := 4;
    ~~~~
    line 94-97:
    ~~~~~
    -- Function Main -- Entry point in package MAP_TEST
    FUNCTION Main(p_env IN WB_RT_MAPAUDIT.WB_RT_NAME_VALUES) RETURN NUMBER;
    END MAP_TEST;
    ~~~~~
    line 83-90:
    ~~~~~
    -- DML Exceptions
    checked_table_not_empty EXCEPTION;
    PRAGMA EXCEPTION_INIT(checked_table_not_empty, -111);
    invalid_dml EXCEPTION;
    PRAGMA EXCEPTION_INIT(invalid_dml, -112);
    -- Status variable for Batch cursors
    "TEST_TRG_St" BOOLEAN;
    ~~~~~
    When the source table is in the same schema as the target, everything executes successfully.
    I had a similar problem in the past (6 warning messages when deploying mapping), but was able to fix it by making a settings for the location registered. But I've never seen this error message before when I try to execute a mapping.
    Using version 9.2.
    Thanks!

    Brian,
    You are correct - error and warning line numbers do not match the code. It happens because the lines are offset. However, it is simple to make sense of this by doing the following:
    1. Click View Code, and Search the code for 'FUNCTION Main(' , with no quotes around. This is the main entry point into the package that represents the mapping.
    2. The function ends with '/' a few lines down. This is your offset. For example, let's say it's line 101.
    3. Add it to the line reported in the error. For example, if error says "Line 38", then go to line 139. That is where the offending statement would be.
    Back to your issue. It might be helpful to get the actual fragments of the code raising the error (using the above), but there are only a few things that can cause such trivial error: permissions, wrong table name, or incorrectly registered location.
    Nikolai

  • Error VLD-1108 while validating the mapping in owb 11g

    Hi All,
    I am using owb 11.1.0.7.0. I am new to owb 11g. I am getting the following error while validating the mapping
    error: VLD-1108 . Operator requires more input or output connections in order to generate mapping code.
    I am using a function as operator and mapping it with the table.
    Please tell me the solution for this. Its urgent
    Thanks in advance,
    Siva

    Hi,
    u must be using a procedure or table function that is called in the mapping for execution. When writing the function u would have specified 3 inputs but in the mapping u would have given only 2. check the number of inputs and make sure they match.
    Regards
    Bharadwaj Hari

  • OWB : INSERT/UPDATE IS GIVING  VLD-2752 WARNING WHEN VALIDATING MAPING

    I desing maping for dept,emp tables in OWB,
    I AM USING INSERT/UPDATE TABLE OPERATOR PROPERTIES FOR TARGET TABLE,
    WHEN I TRY TO VALIDATE IT I AM GETING THIS WARNING
    VLD-2752: Attributes of update matching criteria are not mapped in dept_emp_merge
    can any body explain me about this problem and how to solve it?
    Thanks & Regards,
    k azamtulla khan

    Hi azamtulla khan,
    It seems your mapping is fine. i thought problems is contsratints. 
    can you check in your target table having primaykeys are not.
    if target table has primay key set the target properties insert/update.
    if target does not have any keys try to add key's.
    regards
    venkat
    [pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • White noise, sort of packet loss when talking with...

    Hi, For some unknown reason when I talk with one specific person the call doesn't exactly drop out it sort of cuts the audio and gives me white noise (sort of like when you get packet loss when transferring files or gaming), I have 0 idea why it does

  • HP 1012 printer with Windows 7 64-bit

    Looking for HP 1012 printer driver for Windows 7? You, like me, tried to install the HP 1012 printer onto a computer that ran Windows 7, but to no avail. You need to go to Start --> Devices and Printers -->  Add a printer --> Add a local printer -->

  • Custom Stamp no longer worker in Acrobat X

    I created a custom stamp using Adobe X; not sure it was working the way it was suppose to but it still met my needs. I used a PDF form which I created using Word, added some form fields and saved it. Added the PDF form file as a custom stamp. Opened

  • OCR and ASM dependancy in 11.2

    Grid Version: 11.2.0.2 Platform : Solaris 10 Question1. Since ASM's configuration information is stored in OCR , if OCR is lost (for eg: due to a corrupt LUN in OCR's Disk group) , will ASM instance crash ? Question2. If ASM instance crashes (for eg:

  • Can't install Adobe Presenter 8 Trial version

    Hello, I am trying to install A trial of Adobe presenter 8 and once i have signed in i get the following error occur at 2% Exit Code: 21 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW021 ... ---------------