Getting name of package during execution of procedure

Hi all

I have a requirement where I need to get the name of the package when I run procedure that is in a package.

I tried to use the substitution API

Select < % = odiRef.getPackage ("PACKAGE_NAME") % > double

When I used in variable and run I get the expression mission and when I see the code I am able to see selection of double that is an incorrect code.

can you please help me with this problem.

Thank you

Kumar

<%=odiRef.getPackage("PACKAGE_NAME")%> works fine,

Maybe you forgot the quotes:

Select '<%=odiRef.getPackage("PACKAGE_NAME")%> '. "double


What is your version of ODI?

and you can read similar post

How to get the name of the running Package

Tags: Business Intelligence

Similar Questions

  • I get an error 0xc0000142 during execution of Windows Easy Transfer.

    Original title: Windows easy transfer does not work

    I anm try to transfer a profile of an old XP machine to my Win 7 PC.

    When I try to run Windows Easy Tranmsfer on the Win7 PC I get an error Application failed to start correctly (0xc0000142)

    How can I get it to work?

    You must use the Windows 7 PC easy transfer utility to create the file to transfer on the XP PC. The file generated by the XP version of the utility is not compatible with Windows 7

    On the Windows 7 PC to run the Windows easy transfer utility

    On the home screen select next and then choose the method of transfer (external drive)?

    Then select so this is my new computer, on the next screen, it asks if you have already saved your files, click on no, then I need to install it now.

    You can create the installation program on the device you want to use for the transfer as the external HARD disk or USB key. It will then copy the utility to transfer files on the selected device.

    Connect it to PC XP and run the transfer utility on the XP PC, which was created by Windows 7. It will recreate your file transfer but this time they should work on Windows 7 PCs.

  • Problem with pl/sql procedure, trying to get the value of the user during execution

    Hello

    Using oracle 11.2.0.3

    Can run sql that gets the value of the user during the fine workmanship and also via an anonymous block.

    uses of SQL & Enter_Product_Number

    anonymous block using: Enter_Product_number.

    However, get problems when trying to create a pl/sql procedure, use one of the above

    relevant below tried code part & and: buit works do not error, try bad bind variable if used: and ora-600 if try use &.

    How can we have a procedure from pl/sql that can call and receives a value of user during execution?

    Only way around what I can think of is to pass parameters to the procedure

    Thank you

    create or replace procedure ins_into_issues is

    v_nd_rec_cnt number (10);

    v_normal_rec_cnt number (10);

    Start

    Select count (*)

    in v_nd_rec_cnt

    refmast.issues I have

    where i.iss_product_num = & old_nd_product_number;

    Select count (*)

    in v_normal_rec_cnt

    refmast.issues I have

    where i.iss_product_num = & normal_product_number;

    -code below commented above works.

    end;

    Hello

    what something like this:

    create or replace procedure INS_INTO_ISSUES ( in_normal number, in_old number )  is
      v_nd_rec_cnt     number(10);
      v_normal_rec_cnt number(10);
    begin
        select count(*)
          into v_nd_rec_cnt
         from refmast.issues i
         where i.iss_product_num = in_old;
      --
        select count(*)
          into v_normal_rec_cnt
          from refmast.issues i
         where i.iss_product_num = in_normal;
    end;
    

    concerning

    Kay

  • If Condition get spent during execution, even when the data Condition fails

    Hi gurus,

    We came back to condition in the procedure below


    / * Condition in a procedure * /.

    If i.effective_end_date > p_end_date and i.effective_start_date < = p_end_date

    then

    Start

    If l_future_rec_flag then

    -Call API with update insertion mode

    l_datetrack_mode: = hr_api.g_update_change_insert;

    on the other

    -Call API with Update Mode

    l_datetrack_mode: = hr_api.g_update;

    end if;

    -api call

    end;

    end if;

    / * Condition in a procedure * /.

    data sent to this if condition during execution is as below, I printed it using fnd_file.put_line (fnd_file.log).

    i.effective_end_date > p_end_date and i.effective_start_date < = p_end_date

    31 December 12 > 31 March 13 and 1 January 13 < = 31 March 13

    , my doubt is that the above data made it clear the if condition fails with past data. but during the execution, the condition happened and will block to start and run the api and get api error.

    Error occurred during the assignment process. Check the log file for more details. ORA-20001: unable to change the update of insert mode when there is no future lines

    Cause: The insert DateTrack change update mode can be done if there is no future lines after the current date.

    Action: Perform an update operation DateTrack or erase your changes.

    Error occurred during the assignment process. Check the log file for more details. ORA-20001: unable to change the update of insert mode when there is no future lines

    Can anyone help on this.

    Thanks in advance

    Hi gurus,

    Now, it has been resolved, we used the to_date for date comparison function and now it works perfectly.

  • [HELP] name of the symbol of EEG during execution of [version 20141]

    Hello world

    I would like to get the symbol 'current' name during execution.

    in the previous version, I get this information using the sym 'sym.getSymbolTypeName ()' function, but it doesn't seem to work on the new animated version of edge.

    Thanks for the help!

    Use sym.name as a workaround.

    This has been classified as a bug and will be available in the next version.

    Thanks for reporting this.

    HTH,

    Vivekuma

  • Why get error during execution the FPGA VI?

    Hello world

    I have a lot of sense of wrong during execution of a program that has been correctly executed previously. I don't know what I did wrong.

    Now, whenever I run this FPGA VI, I get an error (in the attachment). And, then runs the FPGA VI, but it does not give the data required those he supposed to give as output.

    Any help or recommendations would be appreciated also.

    Thank you.

    Hi auree123,

    There are a few reasons for this error
    may occur.  Could you tell us more about what's going on?

    You are
    I get this error when you compile and if so, at what stage?

    It looks like
    as you may be running it in Interactive Mode, which means that you are viewing
    the front of the FPGA VI on the development computer that you are running - is
    that correct?  If so, you could try to create a VI on your host
    Open a FPGA reference and communicate with the FPGA programmatically rather than interactively.

    Thank you

    Morgan S

    Technical sales engineer

  • How to get the output (!) during procedure-run / RAS dbms_output.put_line

    Hello again,

    during a migration script written in plsql, we print several status information on-screen using dbms_output.put_line.

    for your information:

    the script commits each lines x during a massive update. A commit is carried out whenever I want to have the output: Timestamp + number of lines committed themselves.

    Unfortunately the output by dbms_output.put_line is emptied to sqldeveloper once the procedure is complete.
    So I have all the time after the migration is complete, but if possible I need the information when it is put into the stack of the dbms_output.
    Is it possible to flush the output while the process is still ongoing? Are the alternatives to dbms_output.put_line who could help?

    Oracle is 10.2.0.4

    Thank you very much
    Andreas

    Published by: Andreas s. the 11.03.2011 01:38

    Note:
    Messages sent using the DBMS_OUTPUT are not actually sent until full subprogramme of the shipment or the relaxation. > There is no mechanism to flush the output during execution of a procedure.

    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_output.htm

    you could just write your output to a table?

  • Getting the 80070005 error during the backup with windows vista home premium then closes backup

    When I use backup in windows I get errors then backup closes. the errors were 0x800700AA and now 0x80070005. I'm not familiar with what they mean but have tried Fixit without success.

    Hi Brian,.

    This error code means that the file or folder you want to backup does not have the necessary permissions.

    Method 1:

    If you need to make a backup of any file or folder, please ensure that give you all the permissions for that particular file or folder.

    To set the permissions of files, see the procedure below:

    a. right click on the file or folder and then click Properties.

    b. click the Security tab.

    c. under group or user names, click your name to see the permissions you have.

    d. If they don't get permission, click on change and give the full control.

    e. then check if you are able to backup.

    What are the permissions?

    Method 2: Check if you are able to backup by following these steps:

    Try to temporarily disable your anti-virus and malware during execution of the backup. If the backup works fine, then you have to search for updates and firewall settings in the security software.

    Note: Make sure that you enable the antivirus software, other security and firewall after the test programs.

    Method 3:

    Disable UAC during backup control.

    Enable or disable the User Account Control

    Note: Make sure that you enable user account control and the back of the antivirus on the computer after you complete these steps. It is not recommended to disable these settings on the computer. It's just to solve the problem.

  • Enter the mathematical expression during execution

    Thanks to LabVIEW 7.0.  Is there a way to enter a mathematical expression during execution?  I am collection of bytes of a device in which the user may have to configure the runtime.  For example, if a package returns 2 bytes, i and j, the user wants to run an equation on the bytes as y = 200i - 3j.  The equation could be anything.  I looked at Expression nodes and formula, but it doesn't seem to be a way to get into the equation by program.  Anyone has any ideas on this subject?

    Thank you.

    I opened LV 7.1 which is the oldest I have.  In this version, the mathematics are in the palette to analyze it.

    In the functions palette click on search and type "parse" or "formula". These searches are formula several screw analysis

    If you have only the Base of LV version, you don't have these screws

    Lynn

  • MCListbox property node does not during execution

    Hi I have problem with MCListbox property node. I wanted to fill the column with names and elements in the table.

    Initially, the program runs smoothly under development without error time.

    However when I she ran during execution of the table cannot be completed and produced by mistake. The error that says that "[get article] Config Registry.vi data: invalid object 0.

    I'm not sure what the error means that I need to find the bug in the moment of the execution because it works very well under development time. I found MCListbox property node errors after the names and elements are tempted to be filled in the table. I don't know why there are errors to the difference in time of development. See attachment below

    Thanks please advise

    Clement

    You read data from the configuration file? How do you get the path that it? You know that there is a difference (http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363) between the path to the runtime and development environment? What LV version do you use? There are some recent changes. http://forums.NI.com/NI/board/message?board.ID=170&message.ID=473427&jump=true

  • During execution of the backup and maintenance on one of my computers, I noticed a folder and the file that I can't identify me...

    Original title: identity of unknown folder

    During execution of the backup and maintenance on one of my computers (Windows xp home, sp3), I noticed a folder and the file that I can't identify.  The name of the folder is cc68f6b7a7ca948eefb018f001 and the name of the update.exe file.  The properties of the file that it is a Windows Service Pack installation.  I tried Googling the name of the folder, but found nothing.

    Can you tell me with regard to this issue, and what, if anything, I have to do?

    Thank you.

    When some programs (including Windows) installs things, it can create a temporary folder composed of 20-30 random letters and numbers or random numbers and letters in the root of the drive of the volume with more free space.

    This explains why the records are sometimes on your C drive or any other drive - the most space?

    For example, you can see a similar to or called folder:

    D:\9470bb12e8a4f3447657236478e41c5

    There may be other folders and files in this main temporary folder such as amd64 and i386 platforms.

    They should normally be deleted when the installation is complete, but sometimes they are not - especially if the installation fails.  They are harmless but annoying.  You can think something is wrong when there are no or fear, that the files are really necessary.  To avoid confusion, you can delete the temporary files.

    If your installation has failed or the installation does not remove the folder to the random name when it finishes running again installation will be another folder at the random name.

    You may be able to identify installation (out of curiosity) by looking at some of the contents of the folder and decide if this installation was not serious, just remove the files/folders.  If the installation does not work for some reason, run again just installation will create a new temporary folder to the random name so the old temporary folder is really useless.

    Records are sometimes tough to remove.  Even if you are an administrator on the system, you might get a "sharing violation", "access denied", "used" or type similar message when you try to delete temporary folders.  Facilities sometimes use different permissions that can have a regular user with the administrator group.

    There are many methods to try to remove the folders, and some require third party programs to install or change some windows settings that could compromise the security of your system if you do not change them back when you're done.

    Start your system in Mode safe mode (by pressing the F8 key several times just before XP attempts to load) is one good method to try to remove the files because it does not have to make any changes to your system configuration or by downloading third-party programs.

    If you are running XP Home Edition, the following section on turn off "Simple file sharing" does not apply to you since in XP Home, Simple file sharing is always turned on.  If you are running XP Home Edition, skip the next few paragraphs and resume where it says:

    "If no part tool above work try a third popular called Unlocker.

    If Safe Mode does not work you can change the security of the folder when you start in Normal Mode to give your username full control over the files by navigating to it in Solution Explorer, click on tools, Folder Options, view and in the advanced settings window, uncheck (at the bottom of the list) use simple file sharing (recommended) and click OK.  This disables him recommended simple file sharing on your computer if you want to turn it back on when you're done to make everything you do.

    Right-click on the files of interest, click Properties and click the now visible security tab.  Change the properties, but you need (for example, select your user name, and check the box to allow full control), click OK to apply the changes.

    With usage share of active simple files (recommended) the checked the properties of the folder tabs are:

    General, sharing, customize

    With the use of sharing files simple disabled (recommended) box unchecked, the properties of the folder tabs are:

    General, security, customize

    Now, try to manipulate/delete the folder.

    It's a good idea to go back to the Explorer and the cheque in the box easy to use sharing files (recommended) when you have finished making everything you do.

    If none of the above works, try a popular third-party tool called Unlocker.

    Unlocker can be downloaded here:

    http://www.emptyloop.com/Unlocker/

    If you use Unlocker, be sure to install because he wants to add a bunch of options, addons, shortcuts and other extras that you don't need.

    You must add the shell extension so when you right click on the offending file, you will have a Unlocker option to choose.  I would just install it long enough to clean up the leftovers and then, I usually just uninstall and all parts of it.  You can always install it again another day if you like.

    Unlocker can be uninstalled when you have finished using it.

    Reboot when finished to ensure that boring records are really missing.

  • Fill the programmatic view object during execution

    Hi all

    I have a requirement to switch between the three different data source during execution in a single page. The user interface and the field names are the same for these three cases, but data from various sources (queries).

    So, imagine that we have 3 objects in view which has implemented read-only (object request depending on the view) and we want to fill a display object at the main performance as a data source for my page.

    My idea is to use "Prgorammatic view object" for this data source and then fill dynamically the contents of one of the three objects view read-only based on a setting in the user's selection.

    First of all, I want to know if it is thin approach and if yes, then get some points on the implementation or any other sample.

    I found this example:

    http://techiecook.WordPress.com/2011/05/17/programmatically-populate-view-objects-in-Oracle-ADF/

    Thanks in advance,

    Nasser

    Hello

    It is more a case of use for Adaptive connections. See:https://blogs.oracle.com/groundside/entry/towards_ultra_reusability_for_adf

    You can use EL to change the name of the ViewObject that an iterator in ADF queries its data. If the switch is on the link layer and there is no need for programmatic view objects. Unlike in the article of the blog above, VO 3 exist in your case then you don't need to create on the fly. Just change the name of VO in the managed bean referenced

    Frank

  • ORA - 06502:numeric or of value errORA-04088: error during execution of trigger

    I received the following error message by entering a number in the maximum value (i.e. 9 999 999.) allowed in a data entry form that is distinct from the basic form:

    ORA-06502: PL/SQL: digital or error number precision value: ORA-06512 too big: "< owner >. < trigger >", line 194 ORA-04088: error during execution of trigger '< owner >. < trigger >.

    Where < owner > is the schema name and < Trigger > is the name of the trigger. The block of data in the application for participation is based on a database table, and the sum of all the values entered (with a maximum value of 99.999.999.) appears in the form of Basic. A grand total of this amount along w / other totals on the basic shape is also displayed with a maximum value defined as 999 999 999. Only, I get the above error message when the total is greater than 99999999. If the total is less than or equal to 99.999.999, the basic form works very well. Why?

    I checked all the attributes of the database columns and form fields and everything seems to be okay, and I'm out of my mind. I desperately need your help to solve this problem quickly because the pressure is on...

    Thanks in advance for any help.

    Orchid says:
    Hello Hamid,

    Thanks for your help. Yes, it works as suggested, after that I have increased the length of NUMBER data base table column (9) to NUMBER (11).

    gives you the correct answer, and you don't mark it ;)

    >

    Apparently, Oracle database truncates the decimal points and only update the value of 9 digits without giving errors, but the form of Oracle application is more picky and it generates forms and Oracle error messages when you run the application. It seems that there is a difference when executing the sql commands in the Oracle database and execution of these Oracle Forms application controls. Do you agree?

    Yes

    Thanks again for all the help.

    You can only give reward for it by checking the useful and correct answer.

  • Pass the value of the variable during execution

    Hello

    I have a package with a set of interfaces and three other variables.

    I want to pass the value of the variable at runtime, based on the value passed I want to decide which interface to run then. How can I do this? I got a set variable but I want to asssign the value during execution.

    Any help is greatly appreciated.


    Thank you
    San

    You have many options to achieve this goal.

    1. keep the run settings in the database, extract the Variables in a time of refreshment and use these variables in your Interfaces to get values of execution.

    2. change the value to the variables on the outside. You can declare a variable in a package as a step of the statement, and then use the variable in your interface in a successive step in your package. Then, create a scenario of your package and creating the scenario, it will prompt you to include the variables that you want to include as a startup parameter. Choose the one (s) concerned. Citing this scenario using Java or an OdiStartScen command or by using Webservices ODI externally, you can provide values of the runtime as a result.

    I hope this helps.

    Concerning
    A

    Published by: 922636 on August 29, 2012 23:53

  • Compilation failed during execution: dsymutil

    Hello

    You try to compile a standard package for ios with major failure. The fast version works perfectly without any error.

    I am on mac os x lion and using flash builder 4.5.1. The error I get is:

    Error occurred during the application of packaging:

    /var/folders/N4/52v6ttx96c7bnw8vnysh5j780000gn/T/cmd460615453403880056.tmp: line 2: dsymutil: command not found
    Compilation failed during execution: dsymutil

    I can not find something posted previously or any where in fact.

    / Daniel

    I am answering my own question here.

    Install Xcode from the appstore (it's free) and you'll get dsymutil. Weird workaround plans can I run this installer on another computer that had no installed XCode (but still has dsymutil).  But at least it solved the problem.

Maybe you are looking for