Pstack showing "??????" in place of function name

I am using solaris 5.10 kernel patch Generic_127127-11
When I do pstack on a core file it shows following output
----------------- lwp# 11 --------------------------------
001b8d88 ???????? (14c0fb90, 14c50c70, 8, fe3fb9b4, 0, 0)
00199964 ???????? (0, 148db224, 148db224, 0, c, 0)
00196b30 ???????? (ffffffff, 449d3, 7a2dc2, 36, fe3fba9c, 0)
00176eec ???????? (12a8b4a0, 1, 176e10, 0, 0, 0)
001d7210 ???????? (0, 0, 1300678, 0, 0, 0)
001da740 ???????? (12797c0, 899028, 897800, ffffc2f7, f423f, fff0bdc0)
001a7ec0 ???????? (ffffffff, 0, 0, 0, 0, 0)
001a7e20 ???????? (0, 0, 0, 0, 0, 0)
000e3c68 ???????? (117d5c0, fe3fbdb8, 0, 117bea0, fe3fbd8c, 13880)
000caab4 ???????? (117bd50, ca3a4, 471e2c, fe3fbd98, feef1818, 0)
00471ed8 ???????? (117bd50, 471ea0, 6203b0, ff000000, fec64a00, 0)
00485674 ???????? (117b0b0, 485624, 0, 89cc00, 0, fec64a00)
004855e4 ???????? (117b0b0, 906d48, 0, 0, fec64a00, 1)
Is there any specific reason for "??????" in place of function names ?
Is is possible that core file is not written completely ?
If yes, what can be done to make core file be written completely ?

You are asking on a wrong forum: if you really hit pstack problem, there's no one here to help you, as pstack is Solaris utility. It does not belong to Sun Studio. It's better to post to one of OpenSolaris forums, for example, this one: http://www.opensolaris.org/jive/forum.jspa?forumID=9
However, in this case I guess I can answer your question: ??? instead of function names appear when pstack can't map address of particular PC (0x001b8d88 for example) to a symbol.
Symbols are located in two separate sections of executable/shared library: .symtab and .dynsym. The former is used to (this is very rough description) find names when linking object (*.o) files and is not needed at run time. .dynsym is used at run time to find symbols referenced by name, which are usually in the other library (like "printf" symbol, for example).
pstack can use both .symtab and .dynsym, provided that they can be found. .symtab is not present in memory image of the process from which core file is generated, so pstack needs original executable file to be available to read .symtab (you can ask the system to pull symtab from files at the time core is generated using coreadm -I defaultsymtab+ command; see coreadm(1M)). Also, many build scripts remove symbol table from final executable (by using strip(1), for example).
In terms of C++ (again, rough description), all functions end up in .symtab and only non-local functions are present both in .symtab and .dynsym. So there are fewer chances for a static function to have a name in a.out than for an extern function.
To summarize, pstack can print ??? instead of symbol name because either (or combination) of
- absence of original executable (NB: it should be at the same place; core file may contain relative path to executable!);
- stripped executable and ??? symbols are all local (static) functions;
- mismatch of some kind (core file refers to a.out, but a.out there is different so addresses does not make sense anymore);
- missing information in core file (see coreadm(1M)),
- corrupted core file (theoretically, if core was corrupted during write, it should have PF_SUNW_FAILURE flag in pflag core output, but I have no personal experience here).

Similar Messages

  • Show current function name during development.

    Is it possible to show the name of the function in which I am at the moment?
    In VB6 and Visual Studio the function name is shown on top (see attachment).
    Inside long functions this functionality avoid much scrolling.
    Attachments:
    current_function.jpg ‏5 KB

    This is a really useful feature that unfortunately is not available in CVI.
    Some months ago I posted a product suggestion asking for its implementation.
    You can give a kudo to the idea if you think is useful too.
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

  • During high load the, many times pstack show's __1cDstdQ_STLP_mutex_spin4iA

    Hello,
    I am testing my application with 1500 msg/sec after a while the perfomance drops immediately. The pstack during the pstack show's the below output. Most of the time the pstack in STLP_mutex_spin. I am currently running my application on muti-processor with 32 cores. The application is compiled with stlport4 libraries.
    ffffffff72ed327c nanosleep (ffffffff7fffb800, 0)
    ffffffff7316a4a4 __1cDstdQ_STLP_mutex_spin4iA_N_S_nsec_sleep6Fi_v_ (6, 1, 40, 40, 1, 1) + 1c
    ffffffff7316a320 __1cDstdQ_STLP_mutex_spin4iA_K_M_do_lock6Fpol_v_ (ffffffff73318830, 1, 1, ffffffff7fffb8cc, ffffffff73318838, 1e) + 118
    ffffffff73169f40 __1cDstdM__node_alloc4BiA_N_M_deallocate6FpvL_v_ (100736b08, 8, 7, ffffffff733189b8, 0, ffffffff73310880) + 40
    ffffffff73178ae8 __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___Gappend4Cpkc_6MTD4rkn0AUforward_iterator_tag__r1_ (100e79260, ffffffff7fffdb28, ffffffff7fffdb3e, ffffffff7fffc748, 100e79276, 16) + 140
    ffffffff7756902c __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2G6Mpkc_r1_ (ffffffff7fffc748, ffffffff7fffdb28, 16, 0, 0, 0) + ac
    ffffffff7ad8e154 __1cGImsDisPDIS_BaseContextFstore6MrnGImsMsgPPhMessagePacker_pkcI66n0AQDIS_ContextState_IIIIbkI_v_ (ffffffff7fffc6a0, 100d23f18, 0, ffffffff, ffffffff7b0026a4, ffffffff7fffdb28) + 124
    ffffffff7ad37f1c __1cGImsDisODIS_DispatcherPprocess_rtp_msg6MrnLRtpComMsg_t_rknPRtpComMsgInfo_t_b_n0AODIS_ReturnCode__ (ffffffff7b002538, ffffffff7fffdb90, ffffffff7fffdb28, 0, 0, 0) + f24
    ffffffff7ad5447c __1cGImsDisODIS_DispatcherMreceive_loop6M_n0AODIS_ReturnCode__ (ffffffff7b002538, ffffffff7fffd118, ffffffff79c29578, 20, 105514, 0) + 3c2c
    ffffffff7ad61cfc __1cGImsDisODIS_DispatcherDrun6Mn0ASDIS_DispatcherType_pn0ASDIS_FeatureManager__i_ (ffffffff7b002538, 0, ffffffff7fffe318, ffffffff79c29e20, ffffffff79c29e48, 1) + 20c
    000000010000d34c main (1, ffffffff7fffe3f8, ffffffff7fffe408, 0, ffffffff7920dfc0, ffffffff79400200) + 564
    The prstat -Lmp show the below oupt. The SLP column increases when the performance drops.
    26385 rtp99 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 0 0 0 0 UMSdid_cscf/2
    Total: 1 processes, 15 lwps, load averages: 5.63, 5.52, 4.90
    PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/LWPID
    26385 rtp99 73 6.7 0.0 0.0 0.0 20 0.1 0.2 897 147 98K 0 UMSdid_cscf/1
    26385 rtp99 20 4.2 0.1 0.0 0.0 74 0.0 2.0 11K 371 19K 0 UMSdid_cscf/7
    26385 rtp99 20 4.2 0.0 0.0 0.0 74 0.0 2.1 11K 327 18K 0 UMSdid_cscf/4
    26385 rtp99 20 4.0 0.0 0.0 0.0 74 0.0 2.0 11K 290 18K 0 UMSdid_cscf/5
    26385 rtp99 19 4.1 0.0 0.0 0.0 74 0.0 2.1 11K 247 18K 0 UMSdid_cscf/6
    26385 rtp99 19 4.1 0.1 0.0 0.0 74 0.0 2.1 11K 378 18K 0 UMSdid_cscf/3
    26385 rtp99 3.1 3.4 0.0 0.0 0.0 0.0 93 0.6 2K 127 17K 0 UMSdid_cscf/11
    26385 rtp99 2.5 3.2 0.0 0.0 0.0 94 0.0 0.6 3K 24 7K 0 UMSdid_cscf/10
    26385 rtp99 1.8 2.1 0.0 0.0 0.0 0.0 96 0.3 1K 15 9K 0 UMSdid_cscf/15
    26385 rtp99 1.7 1.9 0.0 0.0 0.0 0.0 96 0.3 1K 0 9K 0 UMSdid_cscf/13
    26385 rtp99 1.4 2.0 0.0 0.0 0.0 96 0.0 0.4 2K 1 4K 0 UMSdid_cscf/14
    26385 rtp99 1.4 1.8 0.0 0.0 0.0 96 0.0 0.4 2K 1 4K 0 UMSdid_cscf/12
    26385 rtp99 0.0 0.0 0.0 0.0 0.0 100 0.2 0.0 3 0 19 0 UMSdid_cscf/8
    26385 rtp99 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 4 0 16 0 UMSdid_cscf/9
    26385 rtp99 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 0 0 0 0 UMSdid_cscf/2
    Total: 1 processes, 15 lwps, load averages: 5.61, 5.52, 4.91
    PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/LWPID
    26385 rtp99 68 6.1 0.0 0.0 0.0 18 7.8 0.2 756 170 92K 0 UMSdid_cscf/1
    26385 rtp99 19 3.6 0.0 0.0 0.0 69 6.5 1.9 9K 287 16K 0 UMSdid_cscf/5
    26385 rtp99 18 3.6 0.0 0.0 0.0 70 6.3 1.8 9K 319 17K 0 UMSdid_cscf/3
    26385 rtp99 18 3.6 0.0 0.0 0.0 69 7.7 1.8 9K 308 16K 0 UMSdid_cscf/4
    26385 rtp99 18 3.6 0.0 0.0 0.0 69 7.0 1.8 9K 238 16K 0 UMSdid_cscf/6
    26385 rtp99 18 3.6 0.0 0.0 0.0 67 10 1.8 9K 257 16K 0 UMSdid_cscf/7
    26385 rtp99 2.9 3.2 0.0 0.0 0.0 0.1 93 0.6 2K 156 16K 0 UMSdid_cscf/11
    26385 rtp99 2.3 3.0 0.0 0.0 0.0 94 0.0 0.7 3K 18 6K 0 UMSdid_cscf/10
    26385 rtp99 1.7 2.0 0.0 0.0 0.0 0.2 96 0.3 1K 12 9K 0 UMSdid_cscf/15
    26385 rtp99 1.6 1.7 0.0 0.0 0.0 0.4 96 0.3 1K 11 9K 0 UMSdid_cscf/13
    26385 rtp99 1.4 1.9 0.0 0.0 0.0 96 0.0 0.4 1K 14 3K 0 UMSdid_cscf/14
    26385 rtp99 1.4 1.6 0.0 0.0 0.0 97 0.0 0.4 1K 6 3K 0 UMSdid_cscf/12
    26385 rtp99 0.0 0.0 0.0 0.0 0.0 100 0.2 0.0 3 0 19 0 UMSdid_cscf/8
    26385 rtp99 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 8 0 27 0 UMSdid_cscf/9
    Total: 1 processes, 15 lwps, load averages: 5.58, 5.52, 4.91
    PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/LWPID
    26385 rtp99 60 5.1 0.1 0.0 0.0 12 23 0.2 613 226 80K 0 UMSdid_cscf/1
    26385 rtp99 16 2.7 0.0 0.0 0.0 59 21 1.3 6K 218 12K 0 UMSdid_cscf/7
    26385 rtp99 16 2.6 0.0 0.0 0.0 61 19 1.3 6K 175 12K 0 UMSdid_cscf/3
    26385 rtp99 16 2.6 0.0 0.0 0.0 57 23 1.4 6K 213 12K 0 UMSdid_cscf/6
    26385 rtp99 16 2.6 0.0 0.0 0.0 58 22 1.3 6K 203 12K 0 UMSdid_cscf/5
    26385 rtp99 16 2.6 0.0 0.0 0.0 58 23 1.3 6K 203 12K 0 UMSdid_cscf/4
    26385 rtp99 2.4 2.6 0.0 0.0 0.0 0.4 94 0.4 2K 61 13K 0 UMSdid_cscf/11
    26385 rtp99 2.1 2.6 0.0 0.0 0.0 95 0.0 0.6 2K 20 5K 0 UMSdid_cscf/10
    26385 rtp99 1.5 1.7 0.0 0.0 0.0 0.0 97 0.3 1K 23 7K 0 UMSdid_cscf/15
    26385 rtp99 1.4 1.5 0.0 0.0 0.0 0.6 96 0.3 1K 12 7K 0 UMSdid_cscf/13
    26385 rtp99 1.2 1.5 0.0 0.0 0.0 97 0.0 0.3 1K 3 3K 0 UMSdid_cscf/14
    26385 rtp99 1.2 1.4 0.0 0.0 0.0 97 0.0 0.3 1K 1 3K 0 UMSdid_cscf/12
    26385 rtp99 0.0 0.0 0.0 0.0 0.0 100 0.2 0.0 3 0 19 0 UMSdid_cscf/8
    26385 rtp99 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 8 0 25 0 UMSdid_cscf/9
    26385 rtp99 0.0 0.0 0.0 0.0 0.0 100 0.0 0.0 0 0 0 0 UMSdid_cscf/2
    Pls help, Thanks in Advance
    Regards,
    Baaasssi

    First, compiler and system messages are hard to read unless you enclose them in "code" blocks. The Forum software otherwise interprets some character sequences as formatting directives. But I was able to puzzle out the actual mangled names of functions.
    You appear to have hit the STLport default-allocator bottleneck. If multiple threads are frequently allocating and deallocating library objects (like strings), they block one another via a spin lock. Although the STLport source code has some alternative allocators, they don't seem to work well.
    Some alternatives:
    1. Try another implementation of the C++ Standard library, such as Apache stdcxx
    [http://stdcxx.apache.org/]
    Refer to the C++ Users Guide section 12.7 "Replacing the C++ Standard Library".
    2. Write or find a replacement allocator, and use it explicitly throughout your code instead of the default allocator.
    3. See whether you can reduce the number of actual object allocations and deallocations by managing objects on your own free list.

  • How to get the function name/ID  of the current page

    HI,
    I searched the forum and google, but it is not clear on how to get the function name of the current page.
    I have 4 functions in my self service A ,B,C,D (seeded page links ) they all have to go to a page called hhhPG. Based on which function user is clicks I have to show the data in hhhPG.
    so my question is how to get the function name ? I mean I need to know if user click on link A , B, C or D link and came to this page.
    I found below in one forum and also there is getfunctionID in pageContext , but I do not know what to pass to getfunctionid("???") to get value.
    FunctionSecurity funcSecurity = pageContext.getFunctionSecurity();
    Or is there a better way of know where user is coming from ? like geturl....
    Please help, I need this ASAP.
    Thank you.

    Use below to find out how the user came into the page
    FunctionSecurity funcSecurity = pageContext.getFunctionSecurity();
    boolean isFunc1 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME1"));
    boolean isFunc2 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME2"));
    boolean isFunc3 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME3"));
    boolean isFunc4 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME4"));
    So one of them will be true based on the function the user came in.
    Write your logic based on these flags.
    Regards,
    Peddi.

  • Module Function Name Resolution - Issues with DefaultCommandPrefix

    Just getting started on module development, running PS4, and I've run into an... inconsistency... that I'm trying to understand. I've got two test functions, Get-Something and Set-Something in a script module. In my manifest file I specify a DefaultCommandPrefix
    of 'Test'.
    My issue is the function name resolution doesn't result in an executable result if you leave PowerShell up to it's own process.
    To begin with I closed all sessions and deleted all files in the CommandAnalysis directory. After starting a session I waited for the CommandAnalysis cache to populate. Then I ran a series of test commands to illustrate how, most of the time, the function
    name PowerShell registers with tab completion can't be executed because it lacks the 'Test' prefix. Even worse, much of the time tab completion won't recognize the correct (i.e., with prefix) name of the function and honor tab completion for it.
    Having just learned of the CommandAnalysis cache I assumed I would see it change as PowerShell 'learned' more about the module because the name resolves differently over time. I've included three files at the end of this post, the module code (ModuleTest.psm1),
    the manifest (ModuleTest.psd1) and the capture of output to the PowerShell session (ModuleTest.txt). I've tried to include the times I used <tab> and <ret> for tab completion and execution as well as (comments in parenthesis for things I did like
    starting a new session and checking the CommandAnalysis cache for changes).
    An example is, when first starting a session typing 'get-som<tab>' will resolve to 'Get-Something' (prefix 'Test' missing) and typing 'get-test<tab>' won't resolve to 'Get-TestSomething'. Try to execute the 'Get-Something' from tab completion
    and you'll get the 'name not recognized, blah, blah'.
    Now if you type 'get-som<tab>' PowerShell will resolve to 'ModuleTest\Get-Something' - looks promising... but no.  Try to execute the 'ModuleTest\Get-Something' from tab completion and you'll still get the 'name not recognized, blah, blah'.
    Even though the same key strokes resolved differently there were no changes made to the CommandAnalysis cache so I'm lost on why it produces two different (though equally useless) results.
    Manually importing the module and sometimes running Get-Command -Module ModuleTest will make tab completion of the function names behave correctly. Is this a known issue with using DefaultCommandPrefix in script modules or is there something I need to include
    in the manifest to enforce strict name recognition (including the prefix)?
    <ModuleTest.psm1>
    function Get-Something
     Write-Host "Get-Something Executed"
    function Set-Something
     Write-Host "Set-Something Executed"
    <ModuleTest.psd1>
    # Script module or binary module file associated with this manifest
    ModuleToProcess = 'ModuleTest.psm1'
    # Version number of this module.
    ModuleVersion = '1.0.0.0'
    # ID used to uniquely identify this module
    GUID = '241877ff-64be-40c8-a603-8d5acf7a48d8'
    # Author of this module
    Author = 'wb3'
    # Company or vendor of this module
    CompanyName = ''
    # Copyright statement for this module
    Copyright = '(c) 2015. All rights reserved.'
    # Description of the functionality provided by this module
    Description = 'Module description'
    # Minimum version of the Windows PowerShell engine required by this module
    PowerShellVersion = '2.0'
    # Name of the Windows PowerShell host required by this module
    PowerShellHostName = ''
    # Minimum version of the Windows PowerShell host required by this module
    PowerShellHostVersion = ''
    # Minimum version of the .NET Framework required by this module
    DotNetFrameworkVersion = '2.0'
    # Minimum version of the common language runtime (CLR) required by this module
    CLRVersion = '2.0.50727'
    # Processor architecture (None, X86, Amd64, IA64) required by this module
    ProcessorArchitecture = 'None'
    # Modules that must be imported into the global environment prior to importing
    # this module
    RequiredModules = @()
    # Assemblies that must be loaded prior to importing this module
    RequiredAssemblies = @()
    # Script files (.ps1) that are run in the caller's environment prior to
    # importing this module
    ScriptsToProcess = @()
    # Type files (.ps1xml) to be loaded when importing this module
    TypesToProcess = @()
    # Format files (.ps1xml) to be loaded when importing this module
    FormatsToProcess = @()
    # Modules to import as nested modules of the module specified in
    # ModuleToProcess
    NestedModules = @()
    # Default command prefix
    DefaultCommandPrefix = 'Test'
    # Functions to export from this module
    FunctionsToExport = '*'
    # Cmdlets to export from this module
    CmdletsToExport = '*'
    # Variables to export from this module
    VariablesToExport = '*'
    # Aliases to export from this module
    AliasesToExport = '*'
    # List of all modules packaged with this module
    ModuleList = @()
    # List of all files packaged with this module
    FileList = @()
    # Private data to pass to the module specified in ModuleToProcess
    PrivateData = ''
    <ModuleTest.output>
    PS C:\Scripts\PowerShell> Get-ChildItem -Path 'C:\Program Files\WindowsPowerShell\Modules' -Recurse<ret>
        Directory: C:\Program Files\WindowsPowerShell\Modules
    Mode                LastWriteTime     Length Name
    d----          3/5/2015   9:06 AM            ModuleTest
        Directory: C:\Program Files\WindowsPowerShell\Modules\ModuleTest
    Mode                LastWriteTime     Length Name
    -a---          3/5/2015   8:50 AM       2907 ModuleTest.psd1
    -a---          3/5/2015   9:01 AM        140 ModuleTest.psm1
    PS C:\Scripts\PowerShell> Get-Module -ListAvailable<ret>
        Directory: C:\Program Files\WindowsPowerShell\Modules
    ModuleType Version    Name                                ExportedCommands
    Script     1.0.0.0    ModuleTest                          {Get-Something, Set-Something}
    PS C:\Scripts\PowerShell> get-som<tab>
    PS C:\Scripts\PowerShell> Get-Something<ret>
    Get-Something : The term 'Get-Something' is not recognized as the name of a cmdlet, function, script file, or operable
    program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + Get-Something
    + ~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (Get-Something:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    (No change in CommandAnalysis cache)
    PS C:\Scripts\PowerShell> get-som<tab>
    PS C:\Scripts\PowerShell> ModuleTest\Get-Something<ret>
    ModuleTest\Get-Something : The term 'ModuleTest\Get-Something' is not recognized as the name of a cmdlet, function,
    script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
    correct and try again.
    At line:1 char:1
    + ModuleTest\Get-Something
    + ~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (ModuleTest\Get-Something:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    (No change in CommandAnalysis cache)
    PS C:\Scripts\PowerShell> get-tes<tab>
    PS C:\Scripts\PowerShell> Get-TestSomething<ret>
    Get-Something Executed
    (New Session)
    (No change in CommandAnalysis cache)
    PS C:\Scripts\PowerShell> get-tes<tab><ret>
    get-tes : The term 'get-tes' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + get-tes
    + ~~~~~~~
        + CategoryInfo          : ObjectNotFound: (get-tes:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    PS C:\Scripts\PowerShell> Import-Module ModuleTest<ret>
    (No change in CommandAnalysis cache)
    PS C:\Scripts\PowerShell> get-tes<tab><ret>
    PS C:\Scripts\PowerShell> Get-TestSomething
    Get-Something Executed
    (New Session)
    (No change in CommandAnalysis cache)
    PS C:\Scripts\PowerShell> get-tes<tab><ret>
    get-tes : The term 'get-tes' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + get-tes
    + ~~~~~~~
        + CategoryInfo          : ObjectNotFound: (get-tes:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    PS C:\Scripts\PowerShell> Get-Command -Module ModuleTest<ret>
    CommandType     Name                                              
    ModuleName
    Function        Get-TestSomething                                 
    ModuleTest
    Function        Set-TestSomething                                 
    ModuleTest
    (No change in CommandAnalysis cache)
    PS C:\Scripts\PowerShell> get-tes<tab>
    PS C:\Scripts\PowerShell> Get-TestSomething<ret>
    Get-Something Executed
    PS C:\Scripts\PowerShell> moduletest\get<tab><ret>
    PS C:\Scripts\PowerShell> Get-TestSomething<ret>
    Get-Something Executed
    William Busby, PMP

    Hi William,
    yes, that's something you'll either have to do the hard way or live with admin confusion.
    If you're using Sapien's PowerShell Studio as an Editor (hint: Usually a great idea), you can very easily rename a function, even in a multi-file module project, by rightcklicking on the function-name and selecting "rename".
    Alternatively you can do a bulk rename with Powershell:
    Get all functions in your module (Load it and check exportedcommands)
    loop over each function-name
    calculate new name
    search your entire project for all references and replace them.
    Let me see ...
    function Rename-ModulePrefix
    [CmdletBinding()]
    Param (
    [Parameter(Position = 0, Mandatory = $true)]
    [string]
    $ModuleName,
    [Parameter(Position = 1, Mandatory = $true)]
    [string]
    $OldPrefix,
    [Parameter(Position = 2, Mandatory = $true)]
    [string]
    $NewPrefix,
    [Parameter(Position = 3)]
    [string]
    $Path
    # Catch all typos
    Import-Module $ModuleName -ErrorAction 'Stop'
    # Get root path if not manually passed
    if (-not $PSBoundParameters["Path"])
    $Path = (Get-Module $ModuleName).Path
    # Get module files
    $Files = Get-ChildItem -Path $path -Recurse -Include "*.ps1", "*.psm1", "*.psd1"
    # Iterate over each file
    foreach ($file in $Files)
    # Null variable in case you get an empty file somewhere and run this from Win 7
    $data = $null
    # Get Content of file
    $data = Get-Content $file
    # Replace strings
    foreach ($c in (Get-Module $ModuleName).ExportedCommands)
    $newName = $c.Name -replace $OldPrefix, $NewPrefix
    $data = $data | ForEach-Object { $_ -replace $c.Name, $newName }
    # Write back to file
    $data | Set-Content $file
    While I didn't proof it, in theory this should do it (Make a backup before running it :) ).
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • JPublisher generated wrapper package function name contains "ORIG_PKG"$FN

    jPublisher generated wrapper package function name contains "ORIG_PKG"$FN
    which shows compilation error as
    Compilation errors for PACKAGE BODY <schema>.JPUB_PLSQL_WRAPPER
    Error: PLS-00181: unsupported preprocessor directive '$FN'
    Line: 2699
    Text: FUNCTION "ORIG_PKG"$FN (P_SOURCE VARCHAR2,
    Along with this, the generated .sqlj file have a calling sqlj content having the same format as
    #sql [getConnectionContext()] __jPt_result = { VALUES(JPUB_PLSQL_WRAPPER."ORIG_PKG"$FN( ...
    This also show sqlj compilation error such as
    Error(91,5): Expected "$FN" and found ")" instead.
    and a warning
    Warning(91,5): Invalid SQL syntax at:
    JPUB_PLSQL_WRAPPER."ORIG_PKG"$FN(
    ^^^^
    Encountered "$FN" :
    Was expecting one of:
    <EOF>
    "AND" ...
    "BETWEEN" ...
    "IN" ...
    "IS" ...
    "LIKE" ...
    "NOT" ...
    "OR" ...
    "ROW" ...
    "AT" ...
    "MOD" ...
    "RANGE" ...
    <CONCAT_OP_> ...
    Any suggestion would be helpful. thank you.

    Just to put a proper closure to this thread, there were 2 issues with the Jdev version I was using (11.1.2.0.0)
    1) Wrapper for PL/SQL not getting generated properly.
    2) Webservice proxies are not getting generated properly.
    The 2 issues were taken care by generating the wrapper and proxy on a much higher version of Jdev.

  • 'SUBSTRING_INDEX' is not a recognized built-in function name.

    actually iam modifing the servlet code to connect with MSSQL.previously it was MYSQL.now compiling is ok.
    while running it shows error at the top of the linked page as...
    error
    [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]'SUBSTRING_INDEX' is not a recognized built-in function name.
    ->can any one give me the solution for this error.

    Don't use that function because it doesn't exist in SQL-Server.
    OR
    Change your SQL to use a function that does exist.
    OR
    Create a user defined function in SQL server that has that name.

  • ETL Tasks failing Database driver error...Function Name : Execute Multiple

    HI,
    We have Installed OBI Apps V796. Below are the details.
    OBI Apps V796
    OBIEE 10.1.3.4.1
    DAC 10.1.3.4.1
    Informatica 8.6.0
    We are getting the below error for the task "SDE_ORA_PartyPersonDimension_Customer" when we run the execution plan related to supply chain and order management analytics.
    Severity     Timestamp     Node     Thread     Message Code     Message
    ERROR     6/23/2009 8:25:54 PM     node01_obiee     WRITER_1_*_1     WRT_8229     Database errors occurred:
    Database driver error...
    Function Name : Execute Multiple
    SQL Stmt : INSERT INTO W_PARTY_PER_DS(PARTY_TYPE,FST_NAME,FULL_NAME,MID_NAME,LAST_NAME,DEPARTMENT_NAME,CONTACT_ID,CONTACT_TYPE,FAX_PH_NUM,PAGER_NUM,MOBILE_NUM,WORK_PHONE,SEX_MF_CD,ETHNICITY_CD,MARITAL_STAT_CD,BIRTH_DT,BIRTH_PLACE,DEATH_DT,ST_ADDRESS,CITY,STATE,ZIPCODE,COUNTRY,EMAIL_ADDR,JOB_TITLE,ANNL_INCOME,SUPPRESS_EMAIL_FLG,PROF_TITLE,STATUS_CD,ST_ADDRESS2,ST_ADDRESS3,ST_ADDRESS4,CREATED_BY_ID,CHANGED_BY_ID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,DELETE_FLG,DATASOURCE_NUM_ID,INTEGRATION_ID,TENANT_ID,X_CUSTOM,CUSTOMER_NUM) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ".
    As a work around we tried by changing the Target load type option to normal(previously it is bulk) and still the task failed. Also tried by enabling the Constraint based loading option and still the tas got failed.
    Any suggestions............
    As
    Regards
    Venkatesh.

    Exactly same problem I'm also facing. The log is not showing any exact error information for the cause. And the surprise thing is when i'm running the debugger its inserting all the records. But when i run the task it is failing. Here is the log.
    DIRECTOR> VAR_27028 Use override value [DataWarehouse] for session parameter:[$DBConnection_OLAP].
    DIRECTOR> VAR_27028 Use override value [ORA_11_5_10] for session parameter:[$DBConnection_OLTP].
    DIRECTOR> VAR_27028 Use override value [ORA_11_5_10.DATAWAREHOUSE.SDE_ORA11510_Adaptor.SDE_ORA_PartyPersonDimension_Customer_Full.log] for session parameter:[$PMSessionLogFile].
    DIRECTOR> VAR_27028 Use override value [4] for mapping parameter:[$$DATASOURCE_NUM_ID].
    DIRECTOR> VAR_27027 Use default value [] for mapping parameter:[mplt_BC_ORA_PartyPersonDimension.$$Hint1].
    DIRECTOR> VAR_27027 Use default value [] for mapping parameter:[mplt_BC_ORA_PartyPersonDimension.$$Hint2].
    DIRECTOR> VAR_27027 Use default value [] for mapping parameter:[mplt_BC_ORA_PartyPersonDimension.$$LAST_EXTRACT_DATE].
    DIRECTOR> VAR_27028 Use override value [DEFAULT] for mapping parameter:[$$TENANT_ID].
    DIRECTOR> TM_6014 Initializing session [SDE_ORA_PartyPersonDimension_Customer_Full] at [Mon Dec 28 19:10:26 2009].
    DIRECTOR> TM_6683 Repository Name: [AA_REPOSITORY_SERVICE]
    DIRECTOR> TM_6684 Server Name: [AA_INTEGRATION_SERVICE]
    DIRECTOR> TM_6686 Folder: [SDE_ORA11510_Adaptor]
    DIRECTOR> TM_6685 Workflow: [SDE_ORA_PartyPersonDimension_Customer_Full] Run Instance Name: [] Run Id: [1371]
    DIRECTOR> TM_6101 Mapping name: SDE_ORA_PartyPersonDimension_Customer [version 1].
    DIRECTOR> TM_6963 Pre 85 Timestamp Compatibility is Enabled
    DIRECTOR> TM_6964 Date format for the Session is [MM/DD/YYYY HH24:MI:SS]
    DIRECTOR> TM_6703 Session [SDE_ORA_PartyPersonDimension_Customer_Full] is run by 32-bit Integration Service [node01_obiee], version [8.6.1 HotFix6], build [0622].
    MANAGER> PETL_24058 Running Partition Group [1].
    MANAGER> PETL_24000 Parallel Pipeline Engine initializing.
    MANAGER> PETL_24001 Parallel Pipeline Engine running.
    MANAGER> PETL_24003 Initializing session run.
    MAPPING> CMN_1569 Server Mode: [UNICODE]
    MAPPING> CMN_1570 Server Code page: [UTF-8 encoding of Unicode]
    MAPPING> TM_6151 The session sort order is [Binary].
    MAPPING> TM_6185 Warning. Code page validation is disabled in this session.
    MAPPING> TM_6156 Using low precision processing.
    MAPPING> TM_6180 Deadlock retry logic will not be implemented.
    MAPPING> TM_6307 DTM error log disabled.
    MAPPING> TE_7022 TShmWriter: Initialized
    MAPPING> DBG_21075 Connecting to database [BIDB], user [AABAW]
    MAPPING> CMN_1716 Lookup [Lkp_W_ORA_PARTY_CONTACT_PS] uses database connection [Relational:DataWarehouse] in code page [MS Windows Latin 1 (ANSI), superset of Latin1]
    MAPPING> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:26 2009]
    MAPPING> TE_7004 Transformation Parse Warning [IIF(ISNULL(CONTACT_PARTY_ID||DATASOURCE_NUM_ID), '', 'Contact')]; transformation continues...
    MAPPING> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:26 2009]
    MAPPING> TE_7004 Transformation Parse Warning [<<PM Parse Warning>> [||]: operand converted to a string
    ... IIF(ISNULL(CONTACT_PARTY_ID||>>>>DATASOURCE_NUM_ID<<<<), '', 'Contact')]; transformation continues...
    MAPPING> TM_6007 DTM initialized successfully for session [SDE_ORA_PartyPersonDimension_Customer_Full]
    DIRECTOR> PETL_24033 All DTM Connection Info: [<NONE>].
    MANAGER> PETL_24004 Starting pre-session tasks. : (Mon Dec 28 19:10:26 2009)
    MANAGER> PETL_24027 Pre-session task completed successfully. : (Mon Dec 28 19:10:26 2009)
    DIRECTOR> PETL_24006 Starting data movement.
    MAPPING> TM_6660 Total Buffer Pool size is 12582912 bytes and Block size is 128000 bytes.
    READER_1_1_1> DBG_21438 Reader: Source is [DEV01], user [apps]
    READER_1_1_1> BLKR_16051 Source database connection [ORA_11_5_10] code page: [MS Windows Latin 1 (ANSI), superset of Latin1]
    READER_1_1_1> BLKR_16003 Initialization completed successfully.
    WRITER_1_*_1> WRT_8146 Writer: Target is database [BIDB], user [AABAW], bulk mode [ON]
    WRITER_1_*_1> WRT_8106 Warning! Bulk Mode session - recovery is not guaranteed.
    WRITER_1_*_1> WRT_8221 Target database connection [DataWarehouse] code page: [MS Windows Latin 1 (ANSI), superset of Latin1]
    WRITER_1_*_1> WRT_8124 Target Table W_PARTY_PER_DS :SQL INSERT statement:
    INSERT INTO W_PARTY_PER_DS(PARTY_TYPE,FST_NAME,FULL_NAME,MID_NAME,LAST_NAME,DEPARTMENT_NAME,CONTACT_ID,CONTACT_TYPE,FAX_PH_NUM,PAGER_NUM,MOBILE_NUM,WORK_PHONE,SEX_MF_CD,ETHNICITY_CD,MARITAL_STAT_CD,BIRTH_DT,BIRTH_PLACE,DEATH_DT,ST_ADDRESS,CITY,STATE,ZIPCODE,COUNTRY,EMAIL_ADDR,JOB_TITLE,ANNL_INCOME,CON_ACTIVE_FLG1,SUPPRESS_EMAIL_FLG,PROF_TITLE,STATUS_CD,ST_ADDRESS2,ST_ADDRESS3,ST_ADDRESS4,CREATED_BY_ID,CHANGED_BY_ID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,DELETE_FLG,DATASOURCE_NUM_ID,INTEGRATION_ID,TENANT_ID,X_CUSTOM,CUSTOMER_NUM) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    WRITER_1_*_1> WRT_8124 Target Table W_PARTY_PER_DS :SQL UPDATE statement:
    UPDATE W_PARTY_PER_DS SET PARTY_TYPE = ?, FST_NAME = ?, FULL_NAME = ?, MID_NAME = ?, LAST_NAME = ?, DEPARTMENT_NAME = ?, CONTACT_ID = ?, CONTACT_TYPE = ?, FAX_PH_NUM = ?, PAGER_NUM = ?, MOBILE_NUM = ?, WORK_PHONE = ?, SEX_MF_CD = ?, ETHNICITY_CD = ?, MARITAL_STAT_CD = ?, BIRTH_DT = ?, BIRTH_PLACE = ?, DEATH_DT = ?, ST_ADDRESS = ?, CITY = ?, STATE = ?, ZIPCODE = ?, COUNTRY = ?, EMAIL_ADDR = ?, JOB_TITLE = ?, ANNL_INCOME = ?, CON_ACTIVE_FLG1 = ?, SUPPRESS_EMAIL_FLG = ?, PROF_TITLE = ?, STATUS_CD = ?, ST_ADDRESS2 = ?, ST_ADDRESS3 = ?, ST_ADDRESS4 = ?, CREATED_BY_ID = ?, CHANGED_BY_ID = ?, CREATED_ON_DT = ?, CHANGED_ON_DT = ?, AUX1_CHANGED_ON_DT = ?, AUX2_CHANGED_ON_DT = ?, AUX3_CHANGED_ON_DT = ?, AUX4_CHANGED_ON_DT = ?, SRC_EFF_TO_DT = ?, DELETE_FLG = ?, TENANT_ID = ?, X_CUSTOM = ?, CUSTOMER_NUM = ? WHERE SRC_EFF_FROM_DT = ? AND DATASOURCE_NUM_ID = ? AND INTEGRATION_ID = ?
    WRITER_1_*_1> WRT_8124 Target Table W_PARTY_PER_DS :SQL DELETE statement:
    DELETE FROM W_PARTY_PER_DS WHERE SRC_EFF_FROM_DT = ? AND DATASOURCE_NUM_ID = ? AND INTEGRATION_ID = ?
    WRITER_1_*_1> WRT_8270 Target connection group #1 consists of target(s) [W_PARTY_PER_DS]
    WRITER_1_*_1> WRT_8003 Writer initialization complete.
    READER_1_1_1> BLKR_16007 Reader run started.
    READER_1_1_1> RR_4029 SQ Instance [mplt_BC_ORA_PartyPersonDimension.SQ_HZ_PERSON_PARTY] User specified SQL Query [SELECT b1.party_id,        b1.party_type,        b1.person_name,        b1.person_first_name,        b1.person_middle_name,        b1.person_last_name,        b1.status,        b1.phone_area_code,        b1.phone_number,        b1.address1,        b1.address2,        b1.address3,        b1.address4,        b1.postal_code,        b1.city,        b1.state,        b1.country,        b1.email_address,        b1.date_of_birth,        b1.place_of_birth,        b1.date_of_death,        b1.gender,        b1.declared_ethnicity,        b1.marital_status,        b1.person_title,        b1.personal_income,        b1.do_not_mail_flag,        b1.created_by,        b1.creation_date,        b1.last_updated_by,        b1.last_update_date1 last_update_date,        b1.last_update_date2 last_update_date,        b1.last_update_date3 last_update_date,        b1.party_number,        b1.ACCNT_FLG FROM (SELECT              per.party_id,              pty.party_type,              per.person_name,              per.person_first_name,              per.person_middle_name,              per.person_last_name,              pty.status,              cnp.phone_area_code,              cnp.phone_number,              pty.address1,              pty.address2,              pty.address3,              pty.address4,              pty.postal_code,              pty.city,              pty.state,              pty.country,              pty.email_address,              per.date_of_birth,              per.place_of_birth,              per.date_of_death,              per.gender,              per.declared_ethnicity,              per.marital_status,              per.person_title,              per.personal_income,              pty.do_not_mail_flag,              per.created_by,              per.creation_date,              per.last_updated_by,              per.last_update_date last_update_date1,              pty.last_update_date last_update_date2,              cnp.last_update_date last_update_date3,              pty.party_number,              (CASE WHEN acct.PARTY_ID IS NOT NULL THEN 'Y' END) ACCNT_FLG,              MAX (per.person_profile_id) OVER (PARTITION BY per.party_id) max_person_profile_id,              per.person_profile_id       FROM hz_person_profiles per,            hz_parties pty,            hz_contact_points cnp,            (SELECT a1.party_id,                    COUNT (1) cnt             FROM (SELECT per.party_id                   FROM hz_person_profiles per                                      UNION ALL                   SELECT pty.party_id                   FROM hz_parties pty                                      UNION ALL                   SELECT  --/*+ use_hash(pty cnp) index_ffs(pty, hz_parties_u1)*/                         pty.party_id                   FROM hz_parties pty,                        hz_contact_points cnp                   WHERE pty.party_id = cnp.owner_table_id                         ) a1             GROUP BY party_id) TEMP,            hz_cust_accounts acct       WHERE     per.party_id = TEMP.party_id             AND per.party_id = pty.party_id             AND pty.party_id = cnp.owner_table_id(+)             AND cnp.owner_table_name(+) = 'HZ_PARTIES'             AND cnp.contact_point_type(+) = 'PHONE'             AND cnp.primary_flag(+) = 'Y'             AND acct.PARTY_ID(+) = pty.PARTY_ID) b1 WHERE b1.person_profile_id = b1.max_person_profile_id HAVING COUNT (1) >= 0 GROUP BY b1.party_id,          b1.party_type,          b1.person_name,          b1.person_first_name,          b1.person_middle_name,          b1.person_last_name,          b1.status,          b1.phone_area_code,          b1.phone_number,          b1.address1,          b1.address2,          b1.address3,          b1.address4,          b1.postal_code,          b1.city,          b1.state,          b1.country,          b1.email_address,          b1.date_of_birth,          b1.place_of_birth,          b1.date_of_death,          b1.gender,          b1.declared_ethnicity,          b1.marital_status,          b1.person_title,          b1.personal_income,          b1.do_not_mail_flag,          b1.created_by,          b1.creation_date,          b1.last_updated_by,          b1.last_update_date1,          b1.last_update_date2,          b1.last_update_date3,          b1.party_number,          b1.ACCNT_FLG]
    READER_1_1_1> RR_4049 SQL Query issued to database : (Mon Dec 28 19:10:26 2009)
    WRITER_1_*_1> WRT_8005 Writer run started.
    WRITER_1_*_1> WRT_8158
    *****START LOAD SESSION*****
    Load Start Time: Mon Dec 28 19:10:26 2009
    Target tables:
    W_PARTY_PER_DS
    READER_1_1_1> RR_4050 First row returned from database to reader : (Mon Dec 28 19:10:29 2009)
    LKPDP_1> DBG_21312 Lookup Transformation [Lkp_W_ORA_PARTY_CONTACT_PS]: Lookup override sql to create cache: SELECT W_ORA_PARTY_CONTACT_PS.DEPARTMENT AS DEPARTMENT, W_ORA_PARTY_CONTACT_PS.ORG_CONTACT_ID AS ORG_CONTACT_ID, W_ORA_PARTY_CONTACT_PS.CONTACT_NUMBER AS CONTACT_NUMBER, W_ORA_PARTY_CONTACT_PS.JOB_TITLE AS JOB_TITLE, W_ORA_PARTY_CONTACT_PS.DATASOURCE_NUM_ID AS DATASOURCE_NUM_ID, W_ORA_PARTY_CONTACT_PS.CONTACT_PARTY_ID AS CONTACT_PARTY_ID FROM W_ORA_PARTY_CONTACT_PS WHERE CUST_ACCOUNT_ROLE_ID=0 ORDER BY DATASOURCE_NUM_ID,CONTACT_PARTY_ID,DEPARTMENT,ORG_CONTACT_ID,CONTACT_NUMBER,JOB_TITLE
    LKPDP_1> TE_7212 Increasing [Index Cache] size for transformation [Lkp_W_ORA_PARTY_CONTACT_PS] from [1048576] to [1392640].
    LKPDP_1> TM_6660 Total Buffer Pool size is 609824 bytes and Block size is 65536 bytes.
    LKPDP_1:READER_1_1> DBG_21438 Reader: Source is [BIDB], user [AABAW]
    LKPDP_1:READER_1_1> BLKR_16051 Source database connection [DataWarehouse] code page: [MS Windows Latin 1 (ANSI), superset of Latin1]
    LKPDP_1:READER_1_1> BLKR_16003 Initialization completed successfully.
    LKPDP_1:READER_1_1> BLKR_16007 Reader run started.
    LKPDP_1:READER_1_1> RR_4049 SQL Query issued to database : (Mon Dec 28 19:10:29 2009)
    LKPDP_1:READER_1_1> RR_4050 First row returned from database to reader : (Mon Dec 28 19:10:30 2009)
    LKPDP_1:TRANSF_1_1> DBG_21079 Creating Lookup Cache : (Mon Dec 28 19:10:30 2009)
    LKPDP_1:READER_1_1> BLKR_16008 Reader run completed.
    LKPDP_1:TRANSF_1_1> DBG_21682 Lookup table row count : 3247
    LKPDP_1:TRANSF_1_1> DBG_21297 Lookup cache row count : 3238
    LKPDP_1:TRANSF_1_1> DBG_21294 Lookup cache creation completed : (Mon Dec 28 19:10:30 2009)
    LKPDP_1:TRANSF_1_1> CMN_1671 Created new cache files PMLKUP16713_5_0_1371W32.[dat/idx] in directory E:\Informatica\PowerCenter861\server\infa_shared\Cache for Lookup [Lkp_W_ORA_PARTY_CONTACT_PS].
    LKPDP_1:TRANSF_1_1> DBG_21641 Lkp_W_ORA_PARTY_CONTACT_PS: Index cache size = [1392640], Data cache size = [2097152]
    WRITER_1_*_1> WRT_8167 Start loading table [W_PARTY_PER_DS] at: Mon Dec 28 19:10:29 2009
    WRITER_1_*_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    WRITER_1_*_1> WRT_8229 Database errors occurred:
    Database driver error...
    Function Name : Execute Multiple
    SQL Stmt : INSERT INTO W_PARTY_PER_DS(PARTY_TYPE,FST_NAME,FULL_NAME,MID_NAME,LAST_NAME,DEPARTMENT_NAME,CONTACT_ID,CONTACT_TYPE,FAX_PH_NUM,PAGER_NUM,MOBILE_NUM,WORK_PHONE,SEX_MF_CD,ETHNICITY_CD,MARITAL_STAT_CD,BIRTH_DT,BIRTH_PLACE,DEATH_DT,ST_ADDRESS,CITY,STATE,ZIPCODE,COUNTRY,EMAIL_ADDR,JOB_TITLE,ANNL_INCOME,CON_ACTIVE_FLG1,SUPPRESS_EMAIL_FLG,PROF_TITLE,STATUS_CD,ST_ADDRESS2,ST_ADDRESS3,ST_ADDRESS4,CREATED_BY_ID,CHANGED_BY_ID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,DELETE_FLG,DATASOURCE_NUM_ID,INTEGRATION_ID,TENANT_ID,X_CUSTOM,CUSTOMER_NUM) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    WRITER_1_*_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    WRITER_1_*_1> WRT_8425 ERROR: Writer execution failed.
    WRITER_1_*_1> WRT_8333 Rolling back all the targets due to fatal session error.
    WRITER_1_*_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    WRITER_1_*_1> CMN_1022 Database driver error...
    CMN_1022 []
    WRITER_1_*_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    WRITER_1_*_1> WRT_8183 Rollback failed for the target [W_PARTY_PER_DS]
    WRITER_1_*_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    WRITER_1_*_1> WRT_8081 Writer run terminated. [Error in loading data to target table [W_PARTY_PER_DS]]
    WRITER_1_*_1> WRT_8168 End loading table [W_PARTY_PER_DS] at: Mon Dec 28 19:10:30 2009
    WRITER_1_*_1> WRT_8035 Load complete time: Mon Dec 28 19:10:30 2009
    LOAD SUMMARY
    ============
    WRT_8036 Target: W_PARTY_PER_DS (Instance Name: [W_PARTY_PER_DS])
    WRT_8038 Inserted rows - Requested: 1568 Applied: 1552 Rejected: 0 Affected: 1552
    WRITER_1__1> WRT_8043 ****END LOAD SESSION*****
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [W_PARTY_PER_DS], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [mplt_SA_ORA_PartyPersonDimension.EXP_PARTY_PERSON], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [mplt_SA_ORA_PartyPersonDimension.EXP_PARTY_PERSON], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [mplt_BC_ORA_PartyPersonDimension.EXP_PER_PARTY], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [mplt_BC_ORA_PartyPersonDimension.EXP_PER_PARTY], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [mplt_BC_ORA_PartyPersonDimension.SQ_HZ_PERSON_PARTY], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [mplt_BC_ORA_PartyPersonDimension.SQ_HZ_PERSON_PARTY], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Mon Dec 28 19:10:30 2009]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [mplt_BC_ORA_PartyPersonDimension.SQ_HZ_PERSON_PARTY], and the session is terminating.
    TRANSF_1_1_1> DBG_21511 TE: Fatal Transformation Error.
    MANAGER> PETL_24031
    ***** RUN INFO FOR TGT LOAD ORDER GROUP [1], CONCURRENT SET [1] *****
    Thread [READER_1_1_1] created for [the read stage] of partition point [mplt_BC_ORA_PartyPersonDimension.SQ_HZ_PERSON_PARTY] has completed.
         Total Run Time = [3.765415] secs
         Total Idle Time = [0.781122] secs
         Busy Percentage = [79.255350]
    Thread [TRANSF_1_1_1] created for [the transformation stage] of partition point [mplt_BC_ORA_PartyPersonDimension.SQ_HZ_PERSON_PARTY] has completed.
         Total Run Time = [1.001440] secs
         Total Idle Time = [0.690994] secs
         Busy Percentage = [30.999937]
         Transformation-specific statistics for this thread were not accurate enough to report.
    Thread [WRITER_1_*_1] created for [the write stage] of partition point [W_PARTY_PER_DS] has completed. The total run time was insufficient for any meaningful statistics.
    MAPPING> CMN_1793 The index cache size that would hold [3238] rows in the lookup table for [Lkp_W_ORA_PARTY_CONTACT_PS], in memory, is [696320] bytes
    MAPPING> CMN_1792 The data cache size that would hold [3238] rows in the lookup table for [Lkp_W_ORA_PARTY_CONTACT_PS], in memory, is [1908736] bytes
    MANAGER> PETL_24005 Starting post-session tasks. : (Mon Dec 28 19:10:30 2009)
    MANAGER> PETL_24029 Post-session task completed successfully. : (Mon Dec 28 19:10:30 2009)
    MAPPING> TE_7216 Deleting cache files [PMLKUP16713_5_0_1371W32] for transformation [Lkp_W_ORA_PARTY_CONTACT_PS].
    MAPPING> TM_6018 The session completed with [0] row transformation errors.
    MANAGER> PETL_24002 Parallel Pipeline Engine finished.
    DIRECTOR> PETL_24013 Session run completed with failure.
    DIRECTOR> TM_6022
    SESSION LOAD SUMMARY
    ================================================
    DIRECTOR> TM_6252 Source Load Summary.
    DIRECTOR> CMN_1740 Table: [SQ_HZ_PERSON_PARTY] (Instance Name: [mplt_BC_ORA_PartyPersonDimension.SQ_HZ_PERSON_PARTY])
         Output Rows [1788], Affected Rows [1788], Applied Rows [1788], Rejected Rows [0]
    DIRECTOR> TM_6253 Target Load Summary.
    DIRECTOR> CMN_1740 Table: [W_PARTY_PER_DS] (Instance Name: [W_PARTY_PER_DS])
         Output Rows [1552], Affected Rows [1552], Applied Rows [1552], Rejected Rows [0]
    DIRECTOR> TM_6023
    ===================================================
    DIRECTOR> TM_6020 Session [SDE_ORA_PartyPersonDimension_Customer_Full] completed at [Mon Dec 28 19:10:31 2009].

  • [svn:osmf:] 9830: Changing a function name.

    Revision: 9830
    Author:   [email protected]
    Date:     2009-08-31 06:47:49 -0700 (Mon, 31 Aug 2009)
    Log Message:
    Changing a function name.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/CompositeViewableTrai t.as

    Have you consulted the documentation in the SDK about what methods are available? It will show you how to get the list of fields and/or the proper count for iteration.
    IIRC you can't change the name via VBA

  • Unexpected Signal : 11 Function name=XmRenderTableFree

    Hi,
    Could someone please help me. I am trying to install Oracle9i but when I run the installer I'm getting an error. A copy of the log file is below.
    Thanks for any assistance.
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0xf4c2de34
    Function name=XmRenderTableFree
    Library=/usr/dt/lib/libXm.so.2.1
    Current Java thread:
         at sun.awt.motif.MComponentPeer.pSetFont(Native Method)
         at sun.awt.motif.MComponentPeer.setFont(MComponentPeer.java:207)
         at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:105)
         at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:53)
         at sun.awt.motif.MToolkit.createFrame(MToolkit.java:138)
         at java.awt.Frame.addNotify(Frame.java:353)
         at java.awt.Window.addNotify(Window.java:344)
         at java.awt.Window.show(Window.java:387)
         at java.awt.Component.show(Component.java:946)
         at java.awt.Component.setVisible(Component.java:903)
         at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:596)
    Dynamic libraries:
    0x10000      /tmp/OraInstall2007-01-11_01-55-19PM/jre/bin/sparc/native_threads/java
    0xff340000      /usr/lib/secure/libSCSubject.so
    0xff210000      /usr/lib/secure/libiconv_plug.so
    0xff378000      /usr/lib/libthread.so.1
    0xff380000      /usr/lib/libdl.so.1
    0xff110000      /usr/lib/libc.so.1
    0xff0f0000      /usr/sfw/lib/libgcc_s.so.1
    0xfed80000      /tmp/OraInstall2007-01-11_01-55-19PM/jre/lib/sparc/client/libjvm.so
    0xfed50000      /usr/lib/libCrun.so.1
    0xfed20000      /usr/lib/libsocket.so.1
    0xfec70000      /usr/lib/libnsl.so.1
    0xfec50000      /usr/lib/libm.so.1
    0xfeb90000      /usr/lib/libm.so.2
    0xfeb60000      /usr/lib/libscf.so.1
    0xfeb40000      /usr/lib/libuutil.so.1
    0xfeb10000      /usr/lib/libmd.so.1
    0xfeaf0000      /usr/lib/libmp.so.2
    0xfeac0000      /tmp/OraInstall2007-01-11_01-55-19PM/jre/lib/sparc/native_threads/libhpi.so
    0xfea90000      /tmp/OraInstall2007-01-11_01-55-19PM/jre/lib/sparc/libverify.so
    0xfea50000      /tmp/OraInstall2007-01-11_01-55-19PM/jre/lib/sparc/libjava.so
    0xfea20000      /tmp/OraInstall2007-01-11_01-55-19PM/jre/lib/sparc/libzip.so
    0xfdbc0000      /usr/lib/nss_files.so.1
    0xfd8e0000      /tmp/OraInstall2007-01-11_01-55-19PM/jre/lib/sparc/libawt.so
    0xf4ce0000      /tmp/OraInstall2007-01-11_01-55-19PM/jre/lib/sparc/motif21/libmawt.so
    0xfd890000      /tmp/OraInstall2007-01-11_01-55-19PM/jre/bin/../lib/sparc/libmlib_image.so
    0xf4ad0000      /usr/lib/libXm.so.4
    0xf4a40000      /usr/lib/libXt.so.4
    0xfd850000      /usr/lib/libXext.so.0
    0xfd820000      /usr/lib/libXtst.so.1
    0xf4920000      /usr/lib/libX11.so.4
    0xfb7d0000      /usr/lib/libSM.so.6
    0xfb790000      /usr/lib/libICE.so.6
    0xfb6d0000      /usr/lib/libXp.so.1
    0xfb6b0000      /usr/lib/libgen.so.1
    0xfead0000      /usr/lib/libw.so.1
    0xfb550000      /usr/lib/libXinerama.so.1
    0xf4890000      /tmp/OraInstall2007-01-11_01-55-19PM/jre/lib/sparc/libfontmanager.so
    0xfb420000      /usr/openwin/lib/libdps.so.5
    0xfb530000      /usr/openwin/lib/X11/locale/lib/common/xlcDef.so.2
    0xf57d0000      /usr/openwin/lib/libXcursor.so.1
    0xf57a0000      /usr/lib/libXrender.so.1
    0xf56c0000      /tmp/OraInstall2007-01-11_01-55-19PM/jre/lib/sparc/libjpeg.so
    Local Time = Thu Jan 11 13:55:27 2007
    Elapsed Time = 6
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.3.1-b24 mixed mode)
    #

    Please could someone help as I still haven't found a solution to this problem.
    Thanks.

  • User Function Name wrong resultset in Oracle Apps Query

    Hi,
    I am using the below query to extarct the user function names alonng with responsilibity .But doing so i am getting a User Function Name for eg 'Cross Validation Rules' under Order Management User.But thats wrong.Cross validation rules should exists in Receivables,GL and Payables.
    select distinct frv.menu_id, frv.responsibility_id, frv.responsibility_name, fff.function_name, ffft.user_function_name
    from
    fnd_responsibility_vl frv,
    fnd_responsibility frp,
    fnd_form_functions fff,
    fnd_form_functions_tl ffft,
    fnd_resp_functions resp,
    fnd_menu_entries mnu,
    fnd_menus fmn
    where
    fff.function_id = ffft.function_id
    and mnu.menu_id=frp.menu_id
    and mnu.menu_id=fmn.menu_id
    and frv.responsibility_id=resp.responsibility_id
    and mnu.function_id=ffft.function_id
    and resp.rule_type='M'
    and frv.menu_id in (select me.menu_id
    from fnd_menu_entries me
    start with me.function_id = fff.function_id
    connect by prior me.menu_id = me.sub_menu_id )
    and (frv.responsibility_name like '%Order%')
    order by 1
    Kindly any help will be helpful for me

    What is your application release?
    I am using the below query to extarct the user function names alonng with responsilibity .But doing so i am getting a User Function Name for eg 'Cross Validation Rules' under Order Management User.But thats wrong.Cross validation rules should exists in Receivables,GL and Payables.Please try the queries in these docs.
    Script To Extract Submenu And Function Information About A Menu [ID 458701.1]
    HOW TO GENERATE MENU TREE FOR A MENU ATTACHED TO A RESPONSIBILITY IN ORACLE APPLICATIONS 11i ? [ID 312014.1]
    Thanks,
    Hussein

  • Print message in function name not present

    I have to execute a function from a table . It is like
    cursor c1 is select fun_name from config_Table loop
    v_format_sql := 'select '||c1.fun_name|| ' from dual ';
    execute immediate v_format_sql into format_count;
    end loop;
    But if the function in the config_Table is not there or the function name is wrong it exits from the program
    Please help me to print the text "function name wrong" if the function name does not exists in the database.

    Hi,
    You can do it like this:
    SELECT COUNT(*) INTO v_func_count FROM user_objects
    WHERE OBJECT_TYPE='FUNCTION' AND STATUS='VALID'
    AND object_name = TO_UPPER(c1.fun_name);
    IF v_func_count = 0 THEN
    -- Function does not exist or not in valid state.
    END IF;
    Regards

  • I'm getting a "The procedure entrypoint ssSr192x__​ssSr192drv​ssSrReset could no be located in the dynamic link library ssSR192x.d​ll" because the ActiveX instrument driver DLL doesn't have the function names in the export table.

    Is there a way for my CVI project to reference the functions in the ActiveX without including the instrument .fp in the project?
    Thanks much.
    I'm confused on how CVI uses ActiveX components and hope someone can help.
    I'm using an ActiveX driver from an instrument manufacturer and I use the .TLB to generate a .fp, .c, and .h file. If I register the .dll and load the .fp in my project, all is well. Unfortunately in my application the functions to control this instrument are in another DLL whose .lib I include in my CVI projec
    t. Running the CVI project this way gives me "The procedure entrypoint ssSr192x__ssSr192drvssSrReset could no be located in the dynamic link library ssSR192x.dll" because the instrument function names aren't in the export table in the instrument DLL. Non-ActiveX DLLs have the export tables so everything works for them.
    Program structure with non-ActiveX DLLs:
    CVI project (.exe with common.lib in project list)
    |
    V
    Common DLL (MeasDMM() with hp1234.lib in project list)
    |
    V
    Instrument DLL (hp1234_measure())
    Since I get a .c and .h file from the .TLB, I've tried recompiling the DLL (.dll and .lib produced) and the functions seem to work, but I get "Class not registered" errors unless I play games with the registry so I'm obviously violating numerous Microsoft rules!
    Is there a way for my CVI project to reference the functions in the ActiveX without including the instrument .fp in the project? Thanks much.
    Jeff Fish
    Advisory Test Engineer
    StorageTek

    Hello Jeff,
    Where were your getting the .lib file for the ActiveX DLL? Did you use the "hp1234"
    ActiveX driver generated by the "Create ActiveX Automation Controller" CVI Tool to build a static library? If you open an include file and choose Options >> Generate DLL..., it will generate source code or a static import library to load the specified DLL and load functions specified in the include file (this only works if the functions are exported from a DLL). However, in the case of our ActiveX Automation Controllers, ActiveX calls are used to access a DLL. This means that you do not need an import library. You should be able to open the "hp1234" source file and click Options >> Create Object File. Simply #include "hp1234.h" and add "hp1234.obj" to your Common DLL project;
    the .fp file is not necessary. If this does not answer your questions or if you experience further difficulty, please post further details on what you are doing and the errors that are being encountered ("play games with the registry" and "recompiling 'the' DLL" are a bit vague in this case).
    Jeremiah
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • I recently bought an Ipod touch 2nd gen, (Ebay). It's in great shape and seemed to be wiped clean.  When I connect (via windows computer) to Itunes with usb cord the Ipod icon shows, but the only function you can do is eject. When its in the upper right h

    I recently bought an Ipod touch 2nd gen, (Ebay). It's in great shape and seemed to be wiped clean.
    When I connect (via windows computer) to Itunes with usb cord the Ipod icon shows, but the only function you can do is eject. When its in the upper right hand corner and you click on it all you get is a done button, when it's in the side bar right click and your only option is eject, left click has no effect. If I go to "file">devices it's as if there are no devices connected.
    I purchased a song with Itunes on the Ipod itself, and it transferred to my library on the computer automatically .
    I have an Iphone 5 and a nano that are still functioning with Itunes thru computer so I'm thinking the issue is with the Ipod touch. I've reset it several times, rebooted it, with no change.
    nothing on the internet has helped, I called tech support and got disconnected. Should I take it to a retail store? I just don't know where to go next, I'm of course willing to pay for tech or repair. looking for suggestions.

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer          
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • What is the best method to parse a java file for function names

    st="class";
    while (StreamTokenizer.TT_EOF != tokenizer.nextToken ())
       if (StreamTokenizer.TT_WORD == tokenizer.ttype)
        if (tokenizer.sval.toLowerCase().equals(st.toLowerCase())){
        System.out.print (tokenizer.nextToken() + " "); //prints the class name on the console
        fileOut.print (tokenizer.sval + " "); //prints the class name to a file
    }The above program searches a .java file for classes. I want to modify it so that it searches for function names as well. After several hours of figuring out various ways to do it with StreamTokenizer, I still havnt found a way. There seems to be no way to go back, i.e. no previousToken method, in StreamTokenizer.
    Is it possible to do search for using StreamTokenizer, and are there easier ways of doing it?

    Simple string tokenizing isn't an effective way to do this. You probably want something like ANTLR.

Maybe you are looking for