Variable grouping in package specifications Initialiazing

Hi Experts,

I know this might be a basic question, here is my piece of code

I have a variable declared as type data number and initialized to 10 g_number

I have EMP_SAL_TAB which is a kind of data EMP_SAL that is defined on line 6.

but am getting error when I try to initialize it in line 11.

now, my query is why am getting error of initialization of the collection on line 11?  Sorry for a very basic question, but it is always good to clear a query.

create or replace PACKAGE emp_sal AS
g_salary_spec number;
   PROCEDURE find_sal(c_id emp.empno%type);
   FUNCTION CONCATE_NAMES (C_ID EMP.EMPNO%TYPE) RETURN VARCHAR2;
   
   type emp_sal is table of char(2) index by binary_integer;
   emp_sal_tab emp_sal;
   
   g_number number:=10;
   
   emp_sal_tab(1):= 100;
   
END emp_sal;

You can't write code in the package specification. An assignment statement is code.

And associative arrays have NO constructors. See Oracle documentation on how the collections initialized.

http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25519/composites.htm#LNPLS00506

This example shows that you can initialize a VARRAY

Why you use a package for this variable?

If you need to initialize an associative array it during initialization block the package body.

http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25519/packages.htm#LNPLS99926

Tags: Database

Similar Questions

  • Rollback in a Package specification

    Hello

    Is there any logical situation when point rollback of record is used in the package specification? If so, please explain the situation with examples.

    I0'ts as:

    create or replace package pckg as

    procedure (sth);

    Service (sth);

    Restore to the point of backup svpnt;

    Procedure (smth);

    end;

    3065482 wrote:

    Hello

    Is there any logical situation when point rollback of record is used in the package specification? If so, please explain the situation with examples.

    I0'ts as:

    create or replace package pckg as

    procedure (sth);

    Service (sth);

    Restore to the point of backup svpnt;

    Procedure (smth);

    end;

    A package specification defines public types, variables, cursors and procedures available in the package etc.

    The package specification itself does not contain executable code, that belongs in the package body.

    Therefore, any logic to try to include a rollback statement in a package specification such that it will never be executed, even if you can get it to compile (that you won't)

  • pls-00323: subprogram or cursor "Dec" is declared in the package specification

    Hello

    How to fix the error below
    pls-00323: subprogram or cursor 'Drec' is declared in package specification and must be defined in the package body
    in fact, my code is here

    Spec
    create or replace package x is
    
      type typ_x277  is record (
      rcncd fin_rcn_grp_mas.rcn_cd%type,
      icode item_master.item_code%type,
      idesc item_master.short_desc%type,
      ob_qty Number,
      rcpt_qty number,
      issue_qty number,
      incr_qty number,
      Rate number,
      incr_value number);
      
      type ref_x277 is ref cursor return typ_x277; 
      
      Procedure drec(x277_rec in out ref_x277,rcncd varchar,fdate date,tdate date);
    
    end x;
    body
    create or replace package body x is
    
    Procedure drec(x277_rec in out ref_x277,rcncd varchar2,fdate date,tdate date) as
    Begin
    open x277_rec for 
    Select rcn_cd,item_code,short_desc,op,rcpt,issu,incrqty,month_rate,incrqty*month_rate incrvalue
    from(
    Select rcn_cd,item_code,short_desc,find_item_opening(item_code,fdate) op,rcpt,issu,(find_item_opening(item_code,fdate)+rcpt) - issu incrqty,month_rate
    from(
    select rcn_cd,a.item_code,short_desc,month_rate,sum(nvl(mrir_qty,0)) Rcpt,sum(nvl(issue_qty,0)) issu
    from(
      select item_key,b.rcn_cd,mrir_ccn(a.po_no,a.item_code) as ccn,a.item_code,sum(a.quantity) as mrir_qty, null issue_qty 
        from kar a,fin b
        where trunc(a.document_date,'DD') between fdate and tdate and
              b.rcn_cd=rcncd and
              mrir_ccn(a.po_no,a.item_code)=b.ccn_cd and
              nvl(a.quantity,0) > 0 and
              a.card_code = '50'
        group by item_key,b.rcn_cd,mrir_ccn(a.po_no,a.item_code),a.item_code
        having sum(a.quantity) > 0
    union    
         select item_key,b.rcn_cd,a.ccn,a.item_code,null mrir_qty, sum(a.quantity) as issue_qty 
        from kardex a,fin_rcn_grp_mas b
        where trunc(a.document_date,'DD') between fdate and tdate and
              b.rcn_cd=rcncd and
              a.ccn=b.ccn_cd and
              nvl(a.quantity,0) > 0 and
              a.card_code in ('70','71','72')
        group by item_key,b.rcn_cd,a.ccn,a.item_code)a,
    item_master b,item_quantity c
    where a.item_code = b.item_code
    and a.item_key = b.item_key
    and a.item_key = c.item_key
    and b.item_key = c.item_key
    group by rcn_cd,a.item_code,short_desc,month_rate
    having sum(nvl(mrir_qty,0)) > 0
    order by rcpt desc,a.item_code));
    end;
    
    
    end x277;
    my spec is perfectly compiled where the body becomes the error said above.

    How to recover this question.

    Iqbal

    In spec you have this

    Procedure gillison (x277_rec in ref_x277, rcncd varchar, date, date of tdate fdate);

    In the body, you have this

    Procedure gillison (x277_rec in ref_x277, rcncd varchar2, date, date of tdate fdate) as

    for rcncd in spec its VARCHAR and the body its VARCHAR2. Change both to VARCHAR2

  • How to put facilities in the trade and specifications of materials package specification?


    Hi support them.

    When BOM is imported in the ERP, one or more facilities are needed to define in the LES. Currently, only the specification of Formulation contains information of facilities. If the BOM contains information of Formulation, trade and specification of package of materials, how to define these facilities in trade and material package specifications? What is the best practice?

    Thank you.

    Terry

    You should use approvals of sourcing for the use case.   Facilitated the formulation information section is here so you can specify (x) manufacturing what is intended for the recipe for the site.

  • How do I update the second variable in the package

    Hi all

    I created variables Var1, Var2 with different query refreshing, now I'm using these variables in the package to give inputs to the procedure, drag variables in the package and also declaring variables and once drag aging two variables defined as refresh variables and related to the procedure, has developed a scenario run the package my package was running successfully but second variable Var2 was not only refreshing the first variable will be refreshing, how should I refresh second variable also? Any suggestions are appreciated,

    Hmm, I'll give you solid evidence

    http://dwteam.in/WP-content/uploads/2013/01/OTN1.jpg

    Thank you

  • Session system variable ': GROUP '

    Dear friends,

    I'm having a problem with retrieving a value for the session system reserved variable: GROUP IN OBIEE 11.1.1.5
    What I read in other posts, I should be able to use: variable group after where clause, and if there are several groups assigned to a user INSTR should deal with this matter. However I can't get this to work.
    I use a variable here is the code

    Select "ORGANIZATIONS", s.ORGANIZATION_ID
    of s T_VZA_SECURITY
    where
    INSTR (": GROUP ', trim (s.group_id)") > 0
    -INSTR ("MyGroup', trim (s.group_id)") > 0


    I also tried to replace ": GROUP ' session variable with ' VALUEOF (NQ_SESSION." GROUP)"

    my security table
    create the table T_VZA_SECURITY
    (GROUP_ID VARCHAR (20),)
    ORGANIZATION_ID VARCHAR (20),
    OWNING_DEPARTMENT_ID VARCHAR (20),
    ASSIGNED_DEPARTMENT_ID VARCHAR (20)
    );

    Thank you

    Just to cut your discussio runs: 11g fills the ROLE, not the GROUP variable. Roles of application FMW FTW!

    http://obiee101.blogspot.com/2011/07/obiee11g-groups-are-roles-now.html

  • Lov return value in a variable to library package (PLL)

    Hello world!

    I use a kind of generic/dynamic LOV for multiple forms (referenced LOV and custom in a library (PLL) functions.

    Is anyway to set a LOV to return a value into a variable package library?
    When I try, I get the error "+ name of the FRM-11908 element must be valid and exists in the form. +"When you click on the '+' column mapping LOV...

    I also tried to use the global variable... I can put my LOV to return value to a global variable... but I can not access in the library package... I get an error: "+ error 49 bad bind variable... blah blah blah... met the OVERALL symbol while waits for blah blah blah... +»


    Did anyone of you knows how to work around these errors and get my LOV returns values returned in a package variable or access a global variable in a package?

    Thank you
    Guillaume

    Apart from the form (pll, menu), read you with Name_In() and you write with Copy()

    François

  • The research of groups for a specific purpose

    Hello

    I know that you can go to the Group page and click on a specific group and see which members make up this group, but is it possible to choose a specific target and see all the groups to which they belong? While this wouldn't be a problem if there are a few groups and each target only belongs to one, but if there's a situation where you have 100 + groups and some targets can belong to several groups and you must find all the groups a specific target is in, it could become a very time dependent and ineffective task.

    Thank you very much in advance,

    GC

    Hi GC,.

    A home of the target page, you can click on the "Target information" icon (with the letter i in the circle) on the right side of the name to see what target groups/target target is a member of.

    Kind regards

    -Loc

  • PLS-00323: subprogram or cursor is declared in a package specification and must be defined in the package body

    Hi all

    Please help me understand why I receive PLS-00323 error when my function exists in the header and body of the package.

    Please find below the source code.

    Maybe I should post more details here, please tell me what else should I show to get help.

    I tried to compile my drawing

    EXEC DBMS_UTILITY.compile_schema (pattern = > 'ZVIT');

    but still

    Select * from user_errors

    Returns

    NAME TYPE SEQUENCE LINE (LINE)

    ------------------------------ ------------ ---------- ---------- ----------

    TEXT

    --------------------------------------------------------------------------------

    ATTRIBUTE MESSAGE_NUMBER

    --------- --------------

    PACKAGE 2 8 12 PKG_PK8842_ACCNOTMOVE BODY

    PLS-00323: subprogram or cursor "ACCNOTMOVEFIZ" is declared in a specific package

    cation and must be defined in the package body

    ERROR 323

    PACKAGE 1 3 12 PKG_PK8842_ACCNOTMOVE BODY

    PLS-00323: subprogram or cursor "ACCNOTMOVEJUR" is declared in a specific package

    cation and must be defined in the package body

    ERROR 323

    2 selected lines.

    source code:

    CREATE OR REPLACE PACKAGE ZVIT. PKG_PK8842_AccNotMove

    AS

    FUNCTION AccNotMoveJUR)

    p_contragentId dwh_CR_contragent.ID%TYPE,

    p_date Date)

    RETURN number;

    FUNCTION AccNotMoveFIZ)

    p_contragentId dwh_CR_contragent.ID%TYPE,

    p_date Date)

    RETURN number;

    FUNCTION DtLastMove)

    p_Id B2_OLAP. DIMAACCOUNT_ALL.ID%TYPE)

    Date of RETURN;

    END;

    /

    CREATE OR REPLACE PACKAGE BODY ZVIT. PKG_PK8842_AccNotMove

    AS

    FUNCTION AccNotMoveJUR)

    p_contragentId zvit.dwh_CR_contragent.ID%TYPE,

    p_date Date)

    RETURN number

    IS

    l_Result Number (1);

    l_contragentId zvit.dwh_CR_contragent.ID%TYPE;

    l_dateopen Date;

    Date of l_dtMove1;

    Date of l_dtMove2;

    BEGIN

    l_Result: = 0;

    BEGIN

    Select Distinct a.contragentid

    In l_contragentId

    OF B2_OLAP. DIMAACCOUNT_ALL one

    where a.contragentid = p_contragentId

    and a.BACCOUNTID in (2600,2650)

    and a.ACCOUNTSTATEID not in (1,2);

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_contragentId: = NULL;

    END;

    IF l_contragentId IS NOT NULL THEN

    l_Result: = 0;

    ON THE OTHER

    BEGIN

    Select MAX (a.dateopen)

    In l_DateOpen

    OF B2_OLAP. DIMAACCOUNT_ALL one

    where a.contragentid = p_contragentId

    and a.BACCOUNTID in (2600,2650)

    and a.ACCOUNTSTATEID <>2

    and a.DateOpen > p_date;

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_DateOpen: = NULL;

    END;

    IF l_DateOpen IS NOT NULL THEN

    l_Result: = 0;

    ON THE OTHER

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2600,2650)

    and d.ACCOUNTBID = a.Id

    and d.arcdate > = p_date

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3)

    and not in Substr (d.accountano, 1, 4) ('2608 ', ' 2658');

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    IF l_dtMove1 IS NULL THEN

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2600,2650)

    and d.ACCOUNTBID = a.Id

    and d.arcdate > = p_date

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3)

    and not in Substr (d.accountano, 1, 4) ('2608 ', ' 2658');

    - and d.DOCUMENTSTATEID = 2

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    END IF;

    IF l_dtMove1 IS NULL THEN

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2600,2650)

    and d.ACCOUNTAID = a.Id

    and d.arcdate > = p_date

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3);

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    END IF;

    IF l_dtMove1 IS NULL THEN

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2600,2650)

    and d.arcdate > = p_date

    and d.ACCOUNTAID = a.Id

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3);

    - and d.DOCUMENTSTATEID = 2

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    END IF;

    IF l_dtMove1 IS NULL THEN

    l_Result: = 1;

    On the other

    l_Result: = 0;

    End If;

    END IF;

    END IF;

    RETURN l_Result;

    END AccNotMoveJUR;

    --------------------------------------------------------------------------------

    FUNCTION AccNotMoveFIZ)

    p_contragentId zvit.dwh_CR_contragent.ID%TYPE,

    p_date Date)

    RETURN number

    IS

    l_Result Number (1);

    l_contragentId zvit.dwh_CR_contragent.ID%TYPE;

    l_dateopen Date;

    Date of l_dtMove1;

    BEGIN

    l_Result: = 0;

    BEGIN

    Select Distinct a.contragentid

    In l_contragentId

    OF B2_OLAP. DIMAACCOUNT_ALL one

    where a.contragentid = p_contragentId

    and a.BACCOUNTID in (2620,2625)

    and a.ACCOUNTSTATEID not in (1,2);

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_contragentId: = NULL;

    END;

    IF l_contragentId IS NOT NULL THEN

    l_Result: = 0;

    ON THE OTHER

    BEGIN

    Select MAX (a.dateopen)

    In l_DateOpen

    OF B2_OLAP. DIMAACCOUNT_ALL one

    where a.contragentid = p_contragentId

    and a.BACCOUNTID in (2620,2625)

    and a.ACCOUNTSTATEID <>2

    and a.DateOpen > p_date;

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_DateOpen: = NULL;

    END;

    IF l_DateOpen IS NOT NULL THEN

    l_Result: = 0;

    ON THE OTHER

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2620,2625)

    and d.ACCOUNTBID = a.Id

    and d.arcdate > = p_date

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3)

    and Substr(d.accountano,1,4) <>'2628';

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    IF l_dtMove1 IS NULL THEN

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2620,2625)

    and d.arcdate > = p_date

    and d.ACCOUNTBID = a.Id

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3)

    and Substr(d.accountano,1,4) <>'2628';

    - and d.DOCUMENTSTATEID = 2

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    END IF;

    IF l_dtMove1 IS NULL THEN

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2620,2625)

    and d.ACCOUNTAID = a.Id

    and d.arcdate > = p_date

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3);

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    END IF;

    IF l_dtMove1 IS NULL THEN

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2620,2625)

    and d.arcdate > = p_date

    and d.ACCOUNTAID = a.Id

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3);

    - and d.DOCUMENTSTATEID = 2

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    END IF;

    IF l_dtMove1 IS NULL THEN

    l_Result: = 1;

    On the other

    l_Result: = 0;

    End If;

    END IF;

    END IF;

    RETURN l_Result;

    END AccNotMoveFIZ;

    --------------------------------------------------------------------------------

    FUNCTION DtLastMove)

    p_Id B2_OLAP. DIMAACCOUNT_ALL.ID%TYPE)

    Date of RETURN

    IS

    l_Result Date;

    Date of l_DtLast1;

    Date of l_DtLast2;

    Date of l_DtLast3;

    Date of l_DtLast4;

    BEGIN

    l_Result: = NULL;

    BEGIN

    SELECT MAX (d.arcdate)

    In l_DtLast1

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE d.ACCOUNTBID = p_Id

    - and d.arcdate > = p_date

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3)

    and Substr (d.accountano, 1, 4) not in ('2608', ' 2658 ', ' 2628');

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_DtLast1: = NULL;

    END;

    BEGIN

    SELECT MAX (d.arcdate)

    In l_DtLast2

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE d.ACCOUNTBID = p_Id

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3)

    and Substr (d.accountano, 1, 4) not in ('2608', ' 2658 ', ' 2628');

    - and d.DOCUMENTSTATEID = 2

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_DtLast2: = NULL;

    END;

    BEGIN

    SELECT MAX (d.arcdate)

    In l_DtLast3

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE d.ACCOUNTAID = p_Id

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3);

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_DtLast3: = NULL;

    END;

    BEGIN

    SELECT MAX (d.arcdate)

    In l_DtLast4

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE d.ACCOUNTAID = p_Id

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3);

    - and d.DOCUMENTSTATEID = 2

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_DtLast4: = NULL;

    END;

    l_DtLast1:=NVL(l_DtLast1,to_date('01.01.1900','dd.mm.yyyy'));

    l_DtLast2:=NVL(l_DtLast2,to_date('01.01.1900','dd.mm.yyyy'));

    l_DtLast3:=NVL(l_DtLast3,to_date('01.01.1900','dd.mm.yyyy'));

    l_DtLast4:=NVL(l_DtLast4,to_date('01.01.1900','dd.mm.yyyy'));

    l_Result: = Greatest (l_DtLast1, l_DtLast2, l_DtLast3, l_DtLast4);

    IF l_Result = TO_DATE('01.01.1900','dd.mm.yyyy') THEN

    l_Result: = NULL;

    END IF;

    RETURN l_Result;

    END DtLastMove;

    ---////////////////////////////////////////////////////

    END;

    /

    You declare your parameter with a different type between the specification and body, your statements must match.

  • By passing the package variables to the package...

    Hello world

    I have the following problem:

    Package A compiled in scenario A - not referencing not date of process.
    Package B compiled in scenario B with declare the flow variable called ProcessDate.
    Package MAIN calling declare variable ProcessDate, then calling scenario A, then B Scenario and then ENDS.

    MAIN scenario created with the ProcessDate startup parameter.

    So I want to start the MAIN scenario, with a parameter to ProcessDate. He asks me for the setting, but then scenario B fails as if he did not get the parameter. However, when I run the only TI, scenario B works very well after asking for the value of the parameter.

    any help appreciated.
    Thank you!
    Nick

    Hi Nick,

    When you drop scenario B in the main package, please do not forget to pass the variable processdate to scenario B. This can be done by using the additional Variables tab in the scenario using the menu drop down.

    Thank you
    Ritika

  • 30EA2 save the package specification and body - safe only spec?

    It seems that the "save the body and spec package' in the menu contextual on the specifications in the object tree discovered records actually only the spec (.pls).

    Is this true?

    Is safe spec and body in a single file.

  • Mail group on a specific day

    Hello

    Not exactly a newbe but it's something I've never considered. I have a database with a list of users, and each user has an email that they are related. I want to set up the ColdFusion application o he sends an email to all members on a specific date. My question is: what is the best way to do it?

    I've considered writing a script that runs each time a page is loaded to check dates and sending the group by e-mail if the current date is the date at which to email. Of course, this will affect the loading time of the page whenever you accessed. My next concern is that if I decide to go forward with this option, the script is just go check the date if the page is loaded that day.

    Any input would be much appreciated.

    Thank you

    Steven

    I think that a CFAdministrator task schedular would suffice your needs. You can creat a task schedulr and registry in CFAdmin and he would go every day to check, if today is the day to send a mail group.

    Jayesh Viradiya

  • Scope of variables in the package or interface level

    Hello

    Can we define the scope of the ODI project at the level of the interface or package variables
    because in my project im using a last refresh rundate variable will change the value of the variable at the time of execution of each package.

    Thanxs
    Malezieux

    You can create it as 'No persistent' and then its value exist by session ODI.

    In this way, several sessions may keep an independent value to the same variable.

  • loading of several groups of users in a session system variable GROUP table

    Hi, I found that the value of the variable of session system THAT GROUP can be assigned by defining a sql in initialization blocks.

    However, if there is some users with more than one group of users.

    is it possible to table leads (using sql in the initialization blocks)?

    Thank you!!

    Session variable of the SEO GROUP in initialization for different types of authentication blocks
    http://108obiee.blogspot.com/2009/10/referencing-group-session-variable-in.html

    Users who belong to many groups of external table with semicolons, see example 2 and 3 of the post office.

    Concerning
    Goran
    http://108obiee.blogspot.com

  • The variable group OBIEE: VALUEOF (NQ_SESSION. GROUP)

    Hello world

    Quick question, one of my colleagues told me that the session variable, NQ_SESSION. GROUP, shows only the groups that are assigned to the level of the presentation (or source of data transmitted from LDAP or other), but it doesn't show any group within the RPD itself assignments.

    There is another variable that manages these group assignments?

    How it would force the NQ_SESSION. GROUP to include the RPD group membership information, without having to create an external table?

    -Joe
    Quick question, one of my colleagues told me that the session variable, NQ_SESSION. The GROUP, shows that the groups that are assigned to the presentation > level (or source of data transmitted from LDAP or other), but it doesn't show any group within the RPD itself assignments.

    Not correct. NQ_SESSION. BAND still has it as the charge of the RPD, whether through static SPR assignments or blocks Init.

    I've heard say that when you go external with authentication, then it must also go externally with groups. Is this true? Or OBIEE should be picking up > groups that we define in the RPD?

    OBIEE will pick them up. To test this situation simply put the following text in the title of any request for answers:

    @{biServer. variables\ ['NQ_SESSION.]} {[GROUP '------]}

Maybe you are looking for

  • Problem setting new iPad pro

    cchose option to transfer info to iCloud.   Said may take some time to set up your Apple ID.  Was slain here with the little thingie traffic for hours.    What is going on.

  • Nieuw naar achteren out window

    Telkens als ik een nieuw window open vanuit een link in een pagina, het nieuwe naar achteren window out, buy a pagina van waaruit ik hem opende. ERG lastig. HEB said clean op twee computers different.

  • I have a G5 tower

    I have a G5 tower of 2004 won't turn on.when I plugged the power cable it makes the rattling, but pressing the button does nothing (not light, no fan)

  • Fluctuations of the Wi - Fi connection!

    I bought a Toshiba Tecra M3 1.73Ghz with 802.11bg wireless in July of this year and it was working fine until about a month. At the start, my wireless connection saves 58MBps (and the "excellent" signal strength) but within 5 minutes, which drops dra

  • HP Pavilion DV7 laptop: Finger Reader

    Fingerprint reader does not work after installing Norton Internet security on Windows 7.