Dependent Names

Hi Everyone,
Please help me with this problem.
I have a package pack1 which contains some procedures and functions.
And these procedures and functions used by in some others procedure.
Now i want to know that procedure name which is calling all the procedures and functions
which are inside of the package pack1.
Below are the detailed information.
CREATE OR REPLACE PACKAGE pack1
AS
PROCEDURE proc1;
PROCEDURE proc2;
PROCEDURE proc3;
PROCEDURE proc4;
FUNCTION fun1 RETURN NUMBER;
FUNCTION fun2 RETURN NUMBER;
END pack1;
CREATE OR REPLACE PACKAGE BODY pack1
AS
PROCEDURE proc1
AS
BEGIN
null;
END proc1;
PROCEDURE proc2
AS
BEGIN
null;
END proc2;
PROCEDURE proc3
AS
BEGIN
null;
END proc3;
PROCEDURE proc4
AS
BEGIN
null;
END proc4;
FUNCTION fun1 RETURN NUMBER
AS
BEGIN
RETURN(10);
END fun1;
FUNCTION fun2 RETURN NUMBER
AS
BEGIN
RETURN(10);
END fun2;
END pack1;
CREATE OR REPLACE PROCEDURE main_proc
AS
n1 NUMBER;
n2 NUMBER;
BEGIN
pack.proc1;
pack1.proc2;
pack1.proc3;
pack1.proc4;
n1:=pack1.fun1;
n2:=pack1.fun2;
END main_proc;
Now i want to know the name of main_proc i.e Here from main_proc i called all the subprograms which are
defined in the pack1 package.

Hello,
if you need your calls more detailed, read about Using PL/Scope
Regards
Marcus

Similar Messages

  • Plug-in errors and dependency errors with a CAF app in DS in NW CE 7.1

    I am learining to build CAF apps in Developer Studio in NW CE 7.1.  Here are my steps and the errors I am getting:
    Open Developer Studio
    Switch to the CA perspective
    File->New->Project
    Choose Development Component under Development Infrastructure
    Press Next
    Choose Composite Application under sap.com
    Choose MyComponents[demo.sap.com] under 'Local Development'
    Vendor: demo.sap.com
    Name: carpool
    Caption: Car Pool
    Language: American English
    Domain: SAP-xApps
    Support Component: CAF-APP (typed in, not chosen)
    Press Finish
    The following error appears:
    Status ERROR
    Plugin : com.sap.ide.metamodel.core.services.eclipse
    code=0
    Internal error
       Plugin name: Metamodel Core
       Internal error  : com.sap.ide.metamodel.core.services.eclipse
       Class      : com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker
       Method     : computeIdeJarProperties
       Message    : C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
       Exception  : java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    at java.util.jar.JarFile.<init>(JarFile.java:132)
    at java.util.jar.JarFile.<init>(JarFile.java:70)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.computeIdeJarProperties(ArchiveVersionChecker.java:296)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.doFullCheck(ArchiveVersionChecker.java:214)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.checkProject(ArchiveVersionChecker.java:125)
    at com.sap.ide.mmservices.core.eclipse.generation.GenerationServiceEclipse.checkArchiveVersions(GenerationServiceEclipse.java:110)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.checkArchiveVersions(GenerationBuilder.java:335)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.build(GenerationBuilder.java:85)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    I do not think I missed anything installing NW CE 7.1, but this error makes me think that some plug-in was erroneously left out of the install. 
    Incidentally, I can continue onward and build an app (this is obviously a tutorial), but when I try to deploy I get the following error:
    The deployment of the archive failed with an exception!
    ([ERROR CODE DPL.DCAPI.1027]) DependenciesResolvingException.
    Reason:[ERROR CODE DPL.DC.3033] An unresolved dependencies error
    occurred while sorting the deployment batch items regarding the
    dependencies.;nested exception is:
    com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.UnresolvedDepen
    denciesException:[ERROR CODE DPL.DC.3437]Unresolved dependencies
    found for the following deployment items:
    1. Component: name:'carpool~ear',vendor:'my.company',location:
    'localDevelopment',version:'20080501110329',software type: 'J2EE',
    dependencies:'[name:'cafruntimeear',vendor:'sap.com',name:
    'cafcoreear',vendor:'sap.com']
    Unresolved dependency:
    name:'cafruntimeear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Unresolved dependency:
    name:'cafcoreear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Please check the error log for further informations.
    Again, this looks like I am missing some components.
    Any assistance is greatly appreciated.
    TB

    Further developments:  As you may note from the error message, DS is looking for com.sap.ide.metamodel.core.services.eclipse in both the C: and the E: drive at the same time.  In fact, this file exists in the E: drive subdirectory listed, so I obviously have an error with two drive designations being concatenated.  Does anyone know how I can change the lookup directory for this dependency (or any dependency)? 
    Thanks,
    TB

  • SDM Deployment fails - Dependency caf/core/ear missing

    crosspost from: SDM Deployment fails - Dependency caf/core/ear missing
    deploying a DC from NWDS into SDM the following Exception is thrown:
    07.01.2008 16:20:38 /userOut/daView_category (eclipse.UserOutLocation) [ThreadDeploy Thread,5,main] INFO:
    002Additional log information about the deployment
    <!LOGHEADERSTART/>
    <!HELPManual modification of the header may cause parsing problem!/>
    <!LOGGINGVERSIONhttp://1.5.3.7185 - 630/>
    <!NAME[/usr/sap/IT1/DVEBMGS00/SDM/program/log/sdmcl20080107151422.log]/>
    <!PATTERNhttp://sdmcl20080107151422.log/>
    <!FORMATTERcom.sap.tc.logging.TraceFormatter(%24d %s: %m)/>
    <!ENCODINGUTF8/>
    <!LOGHEADEREND/>
    Jan 7, 2008 4:14:22 PM Info:
    Starting deployment
    Jan 7, 2008 4:14:22 PM Info: Error handling strategy: OnErrorStop
    Jan 7, 2008 4:14:22 PM Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Jan 7, 2008 4:14:22 PM Info: Update strategy: UpdateAllVersions
    Jan 7, 2008 4:14:22 PM Info: Starting deployment prerequisites:
    Jan 7, 2008 4:14:23 PM Info: Loading selected archives...
    Jan 7, 2008 4:14:23 PM Info: Loading archive '/usr/sap/IT1/DVEBMGS00/SDM/program/temp/temp23425innobis.dewkbtmetadata.ear'
    Jan 7, 2008 4:14:24 PM Info: Loading archive '/usr/sap/IT1/DVEBMGS00/SDM/program/temp/temp23426innobis.dewkbtear.ear'
    Jan 7, 2008 4:14:24 PM Info: Loading archive '/usr/sap/IT1/DVEBMGS00/SDM/program/temp/temp23427innobis.dewkbtdictionary.sda'
    Jan 7, 2008 4:14:25 PM Info: Loading archive '/usr/sap/IT1/DVEBMGS00/SDM/program/temp/temp23428innobis.dewkbtpermissions.ear'
    Jan 7, 2008 4:14:26 PM Info: Selected archives successfully loaded.
    Jan 7, 2008 4:14:26 PM Error: Unresolved dependencies found for the following SDAs:
    1.: development component 'wkbt/ear'/'innobis.de'/'NetWeaver Developer Studio'/'20080107144202'/'0'
    dependency:
    name: 'caf/core/ear'
    vendor: 'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    Deployment will be aborted.
    Jan 7, 2008 4:14:26 PM Error: Prerequisites were aborted.
    Jan 7, 2008 4:14:27 PM Error: Error while creating deployment actions.
    system:
    sap.com/SAP-JEECOR 7.00 SP10 (1000.7.00.10.0.20061026144500)
    sap.com/SAP-JEE 7.00 SP10 (1000.7.00.10.0.20061026144500)
    I checked http://<srv>/sap/monitoring/ComponentInfo
    the missing 'caf/core/ear' is not listed, however several other CAFs are:
    sap.com caf/core null (964250) SAP AG MAIN_APL70VAL_C 20061212133926 sap.com/CAF
    sap.com caf/core/dict null (964586) SAP AG MAIN_APL70VAL_C 20061212131613 sap.com/CAF
    sap.com caf/core/gp/facade/backgroundco/ear null (964227) SAP AG MAIN_APL70VAL_C 20061212134201 sap.com/CAF
    sap.com caf/core/metadata null (963689) SAP AG MAIN_APL70VAL_C 20061212133653 sap.com/CAF
    etc....
    Is it possible to deploy this missing caf-ear component supplementary?
    I have the strange feelings caf/core/ear is something 7.1 CE only related....
    thanks for any hint!
    kai

    Kai, I didn't mean to offend you. But good forum practice is to avoid duplicate posts.
    Regards,
    \-- Vladimir

  • "recording name conflict" error

    Hi,
    I have a dependency problem building a new copy of Heimdal Kerberos (SS12.1 on SPARC) that I don't know how to work around. When make begins linking a number of the shared libraries together, it bombs out with:
    ld: fatal: recording name conflict: file `../krb5/.libs/libkrb5.so' and file `/opt/heimdal/lib/sparcv9/libkrb5.so' provide identical dependency names: libkrb5.so.25 (possible multiple inclusion of the same file)
    Libtool is finding /opt/heimdal/lib/sparcv9/libkrb5.so, listed in an .la file for openldap. But, since I built a new version of libkrb5.so, located at ../krb5/.libs/libkrb5.so, it fails. I tried to rename the old directory, but then it fails when it can't find it:
    ggrep: /opt/heimdal/lib/sparcv9/libgssapi.la: No such file or directory
    /opt/gnu/bin/sed: can't read /opt/heimdal/lib/sparcv9/libgssapi.la: No such file or directory
    libtool: link: `/opt/heimdal/lib/sparcv9/libgssapi.la' is not a valid libtool archive
    gmake[3]: *** [libhdb.la] Error 1
    gmake[3]: Leaving directory `/opt/ws/dists/Services/heimdal-1.2.1/lib/hdb'
    gmake[2]: *** [all] Error 2
    gmake[2]: Leaving directory `/opt/ws/dists/Services/heimdal-1.2.1/lib/hdb'
    gmake[1]: *** [all-recursive] Error 1
    gmake[1]: Leaving directory `/opt/ws/dists/Services/heimdal-1.2.1/lib'
    gmake: *** [all-recursive] Error 1
    How do I get libtool to ignore the old file & use the new one? Any help would be greatly appreciated.
    Thanks.
    -John

    You probably have a shared library with a runpath that includes the location of the old libkrb5.so, and that does not include the location of the new version. The reference to libkrb5.so then can't be satisfied if you remove or rename the old directory. That dependency would also explain the linker complaint about the two copies of libkrb5.so when both are visible.
    Run ldd on the various project libraries to find ones with a dependency on /opt/heimdal/lib/sparcv9/libkrb5.so. Rebuild them with a new runpath (-R option) that does not include /opt/heimdal/lib/sparcv9 but does include the directory containing the new library version.
    If you can't remove /opt/heimdal/lib/sparcv9 from the runpath because the applciation needs other libraries in that directory, you need to replace the libkrb5.so in the directory with your new version. (I would rename the old directory so that you don't lose it.)
    (Note: the -L option tells the linker where to look for libraries at program link time. The -R option tells the run-time loader where to look for libraries when the program is run.)
    You also mention a ".la" file. I don't know what that is. I don't find a mention of such a thing in the Solaris Linker and Libraries Guide.

  • ESS BP-50.4 Benefit Enrollment - Dependant Selections

    Hi - I have installed the ESS BP 50.4 and for benefit enrollment all of the screens that all you to select eligible dependants - the check box shows at the top of the screen when the dependant name shows in a table at the bottom of the screen....how/where do I correct this?
    Thanks - Janet

    Did you ever resolve this issue?  I am experiencing the same issue.

  • Unresolved dependency

    I created a carpool app using CAF application. The build is OK but when I deploy I get the following error.
    1. Component: name: 'carpoolear', vendor: 'demo.sap.com', location: 'NetWeaver Developer Studio', version: '20070502150427', software type: 'J2EE', dependencies: '[name: 'cafruntimeear', vendor: 'sap.com', name: 'cafcore~ear', vendor: 'sap.com']'
    Unresolved dependency:
    name: 'cafruntimeear', vendor: 'sap.com'     ( The component sap.com_cafruntimeear doesn't exist in the deployment batch and is not deployed.)
    Unresolved dependency:
    name: 'cafcoreear', vendor: 'sap.com'     ( The component sap.com_cafcoreear doesn't exist in the deployment batch and is not deployed.)
    Any suggestion would be greatly appreciated.
    Thanks,

    Hi,
    I have been facing the same problem, but as far as documentation is concerned, CAF is already there in SAP NW CE 7.1.
    Can someone please help us from where do we install CAF.
    Best Regards,
    Amit

  • Far Dependency

    Hello all,
    I am getting an error that popped up when I made an undeploy and then tried to deploy again and what I do I could neither get rid of the error not deploy my process.
    The error message says something like, "Far Dependency: name of the process is not defined in the descriptor"
    I have tried every possible thing ( including deleting the problematic sub process itself ) but no luck
    Does anyone have an idea how to overcome this, any similar experience?
    My installation is LiveCycle ES2, patch 1, on Windows7. Workbench 9.5
    Thank you,

    Hi Budy I got the same problem but I figure out something which is to do something with C:\Documents and Settings\yusufgoy\Workbench ES2\test_Bilgin\1.0 PoC.process_dependency file . I opened it with notepad but I couldnt save same format as before. ı m still working on it . PLEASE SOME EXPERT HELP US

  • Override the name attribute in inputText or inputHidden

    Hi all,
    Is it possible to override the name attribute of an input element? For example, the following JSF page:
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <f:view>
    <html>
    <body>
    <h:form>
      <h:inputText/><br />
      <h:inputHidden /><br />
      <h:inputText id="input1" /><br />
      <h:inputHidden id="input2" /><br />
    </h:form>
    </body>
    </html>
    </f:view>Produces the following HTML:
    <html>
    <body>
    <form id="j_id_jsp_188410409_1" name="j_id_jsp_188410409_1" method="post" action="/cbs/test.jsf" enctype="application/x-www-form-urlencoded">
    <input type="hidden" name="j_id_jsp_188410409_1" value="j_id_jsp_188410409_1" />
    <input type="text" name="j_id_jsp_188410409_1:j_id_jsp_188410409_2" />
      <br />
      <input type="hidden" name="j_id_jsp_188410409_1:j_id_jsp_188410409_3" /><br />
      <input id="j_id_jsp_188410409_1:input1" type="text" name="j_id_jsp_188410409_1:input1" /><br />
      <input id="j_id_jsp_188410409_1:input2" type="hidden" name="j_id_jsp_188410409_1:input2" /><br />
    <input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="_id2" />
    </form>
    </body>
    </html>Would I have to write a custom component and then override the getName and setName attributes?
    Many Thanks
    Andy

    Note that the HTML you posted does not match the JSF source you posted.
    If you just need dependable names, add an id to the <h:form> and then the name will be in the format formId:inputId.
    Another possibility is to use the prependId attribute of <h:form> to suppress the name mangling.
    Yet another possibility is to use the forceId attribute of the Tomahawk components.

  • Regd-LM Service 701 and LM tool deployment dependancy in Solution Manager

    Hi,
      While Upgrading LM Service to 701 patch 4, i am getting a dependancy error. The log details are as follows,
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[E:\usr\sap\DSM\DVEBMGS10\SDM\program\log\sdmcl20090917072303.log]/>
    <!PATTERN[sdmcl20090917072303.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[UTF8]/>
    <!LOGHEADER[END]/>
    Sep 17, 2009 8:23:05 AM  Info: -
    Starting validation -
    Sep 17, 2009 8:23:05 AM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorSkipDepending
    Sep 17, 2009 8:23:05 AM  Info: Update strategy: UpdateLowerOrChangedVersions
    Sep 17, 2009 8:23:05 AM  Info: Starting deployment prerequisites:
    Sep 17, 2009 8:23:08 AM  Info: Loading selected archives...
    Sep 17, 2009 8:23:08 AM  Info: Loading archive 'E:\usr\sap\DSM\DVEBMGS10\SDM\program\temp\LMTOOLS04_1-10005881.SCA'
    Sep 17, 2009 8:23:12 AM  Info: Selected archives successfully loaded.
    Sep 17, 2009 8:23:13 AM  Error: Unresolved dependencies found for the following SDAs:
    1.: development component 'tc/di/cts/config/service/appl'/'sap.com'/'MAIN_NW701P04_C'/'2969406'/'1'
    dependency:
           name:     'tc/di/cts/common'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    Deployment will be aborted.
    Sep 17, 2009 8:23:13 AM  Error: No Software Component Archive (SCA) or Software Delivery Archive (SDA) selected. Select at least one.
    Deployment will be aborted.
    Sep 17, 2009 8:23:13 AM  Error: Prerequisites were aborted.
    Sep 17, 2009 8:23:13 AM  Error: Error while creating deployment actions. No Software Component Archive (SCA) or Software Delivery Archive (SDA) selected. Select at least one.
    Deployment will be aborted.
    Sep 17, 2009 8:23:14 AM  Info: -
    Ending validation -
    Kindly help me to resolve this issue.
    Thanks & Regards,
    Vaishali.K

    Hi,
    LMSERVICE03P_4-20004805.SCA   Patch 4 for SOLMANDIAG 7.01 SP03  (Software package in production process (See note 1120196)
    Hope this helps.
    Feel free to revert back.
    -=-Ragu

  • Dependency service in maintenance, but the parent service still online.

    Hi,
    I am confused about the usage of require_all/error flags for a dependency. I have a service *"example"* which is dependent on *"example2*" with require_all/error flag set.
    When I mark example2 dependency in maintenance mode, example service remains in online state. Considering flag restart_on="error" means that the service will restart if the dependency services fails, this doesn't seem to work for me.
    All the manifest and method files are pasted below . Thanks for any help that can provided.
    example.xml
    <?xml version="1.0"?>
    <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    <service_bundle type='manifest' name='NORTsvc:example'>
    <service
    name='application/example'
    type='service'
    version='1'>
    <create_default_instance enabled='true' />
    <single_instance/>
    <dependency
    name='minimal'
    grouping='require_all'
    restart_on='error'
    type='service'>
    <service_fmri value='svc:/application/example2'/>
    </dependency>
    <exec_method
    type='method'
    name='start'
    exec='/lib/svc/method/example.sh start'
    timeout_seconds='0' />
    <exec_method
    type='method'
    name='stop'
    exec='/lib/svc/method/example.sh stop'
    timeout_seconds='0' >
    </exec_method>
    <property_group name='startd' type='framework'>
    <propval name='duration' type='astring' value='contract' />
    </property_group>
    <template>
    <common_name>
    <loctext xml:lang='C'>
    An example service
    </loctext>
    </common_name>
    </template>
    </service>
    </service_bundle>
    example2.xml
    <?xml version="1.0"?>
    <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    <service_bundle type='manifest' name='NORTsvc:example'>
    <service
    name='application/example2'
    type='service'
    version='1'>
    <create_default_instance enabled='true' />
    <single_instance/>
    <dependency
    name='minimal'
    grouping='require_all'
    restart_on='none'
    type='service'>
    </dependency>
    <exec_method
    type='method'
    name='start'
    exec='/lib/svc/method/example2.sh start'
    timeout_seconds='0' />
    <exec_method
    type='method'
    name='stop'
    exec='/lib/svc/method/example2.sh stop'
    timeout_seconds='0' />
    <property_group name='startd' type='framework'>
    <propval name='duration' type='astring' value='transient' />
    </property_group>
    <stability value='Unstable' />
    <template>
    <common_name>
    <loctext xml:lang='C'>
    An example service
    </loctext>
    </common_name>
    </template>
    </service>
    </service_bundle>
    example.sh
    #!/sbin/sh
    case "$1" in
    'start')
    mkfile 16m /var/tmp/myfile
    'stop')
    rm -f /var/tmp/myfile
    echo "Usage: $0 { start | stop }"
    exit 1
    esac
    exit 0
    example2.sh
    #!/sbin/sh
    case "$1" in
    'start')
    mkfile 16m /var/tmp/myfile2
    'stop')
    rm -f /var/tmp/myfile2
    echo "Usage: $0 { start | stop }"
    exit 1
    esac
    exit 0

    Its interesting if you can run file on it:
    file /usr/local/lib/libgcc_s.so.1
    .. really should work.
    But yes, i suggest that you install a libgcc_s.so.1 from a x86/intel package. As far as i can tell you have installed the SPARC package.
    If you are using the sunfreeware.com packages, the libgcc_s.so.1 file is included in the SMCgcc package which can be downloaded from:
    ftp://ftp.sunfreeware.com/pub/freeware/intel/10/gcc-3.4.6-sol10-x86-local.gz
    The size of the libgcc_s.so.1 found in the SPARC package matches the one you had in your post (168580 bytes), so i am rather sure you have installed the SPARC gcc package on your intel platform.
    I also suspect that running /usr/local/bin/gcc will return something like "Invalid argument"..
    .7/M .
    Edited by: abrante on Sep 29, 2011 2:45 PM
    A simpler way to check which arch you are running is to run the following command (if you have the sunfreeware package):
    pkginfo -l SMCgcc |grep ARCH

  • Finding Dependant Information

    Hi all,
    I want to display dependant name with thier parent name
    desc people_Details
    Pers_id,P_name,emp_number,sex,dob
    101------ Rajeev -------------1101---------M----2-DEC-1970
    102-------SumithaRajeev------------------F----10-Jun-1980
    103----John-------------------1002-------M------18-JAN-1965
    105------RAJ-------------------1023------M--------23-SEP-1967
    106------RenukaRaj----------------------F--------10-MAR-1972
    desc people_dep
    pers_id,dep_pers_id,status
    101----102-------------Spouse
    105------106----------spouse
    Desired output
    EMpno--Parentname DepName--depdob
    1101---rajeev -------SumithaRajeev----10-Jun-1980
    105-----Raj-------Renukaraj--------------10-MAR-1972
    rgds
    shrey

    try this.
    SQL> select emp1.emp_number empno, emp1.p_name empname, emp2.p_name dependent_name, emp2.dob dependent_dob
      2   from (select 101 Pers_id, 'Rajeev'        P_name, 1101 emp_number, 'M' gender, '2-DEC-1970'  dob from dual union all
      3         select 102 Pers_id, 'SumithaRajeev' P_name, null emp_number, 'F' gender, '10-Jun-1980' dob from dual union all
      4         select 103 Pers_id, 'John'          P_name, 1002 emp_number, 'M' gender, '18-JAN-1965' dob from dual union all
      5         select 105 Pers_id, 'RAJ'           P_name, 1023 emp_number, 'M' gender, '23-SEP-1967' dob from dual union all
      6         select 106 Pers_id, 'RenukaRaj'     P_name, null emp_number, 'F' gender, '10-MAR-1972' dob from dual) emp1,
      7        (select 101 Pers_id, 102 dep_pers_id, 'spouse' status from dual union all
      8         select 105 Pers_id, 106 dep_pers_id, 'spouse' status from dual) dependent,
      9        (select 101 Pers_id, 'Rajeev'        P_name, 1101 emp_number, 'M' gender, '2-DEC-1970'  dob from dual union all
    10         select 102 Pers_id, 'SumithaRajeev' P_name, null emp_number, 'F' gender, '10-Jun-1980' dob from dual union all
    11         select 103 Pers_id, 'John'          P_name, 1002 emp_number, 'M' gender, '18-JAN-1965' dob from dual union all
    12         select 105 Pers_id, 'RAJ'           P_name, 1023 emp_number, 'M' gender, '23-SEP-1967' dob from dual union all
    13         select 106 Pers_id, 'RenukaRaj'     P_name, null emp_number, 'F' gender, '10-MAR-1972' dob from dual) emp2
    14   where emp1.pers_id = dependent.pers_id
    15     and dependent.dep_pers_id = emp2.pers_id;
         EMPNO EMPNAME       DEPENDENT_NAME DEPENDENT_DOB
          1101 Rajeev        SumithaRajeev  10-Jun-1980
          1023 RAJ           RenukaRaj      10-MAR-1972
    SQL>

  • Cmp dependant object

    does anybody have a working example of a ejb20 bean that uses dependant
    objects with a CMP relationship. I am trying to do a simple relationship
    where an ejb has a Collection of dependant objects.
    I cant get past the xml parsing errors when ejbc is run.
    The error is
    ERROR: weblogic.xml.process.XMLParsingException: The content of element
    type "ej
    b-jar" must match
    "(description?,display-name?,small-icon?,large-icon?,enterpris
    e-beans,dependents?,relationships?,assembly-descriptor?,ejb-client-jar?)".
    - wit
    h nested exception:
    [org.xml.sax.SAXParseException: The content of element type "ejb-jar"
    must match
    "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,dependent
    s?,relationships?,assembly-descriptor?,ejb-client-jar?)".] Line: 152
    Column: 11
    here is the ejb-jar.xml file:
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
    JavaBeans 2.0//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <ejb-name>SurveyEJB</ejb-name>
    <home>erm.com.clickaction.erm.surveys.ejb20.SurveyHome</home>
    <remote>erm.com.clickaction.erm.surveys.ejb20.Survey</remote>
    <ejb-class>erm.com.clickaction.erm.surveys.ejb20.SurveyBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Long</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>SurveyBean</abstract-schema-name>
    <cmp-field>
    <field-name>surveyKey</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>clientKey</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>name</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>description</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>version</field-name>
    </cmp-field>
    <primkey-field>surveyKey</primkey-field>
    <query>
    <query-method>
    <method-name>findAllSurveys</method-name>
    <method-params/>
    </query-method>
    <ejb-ql><![CDATA[WHERE surveyKey is not null]]></ejb-ql>
    </query>
    </entity>
    <entity>
    <ejb-name>TopicEJB</ejb-name>
    <home>erm.com.clickaction.erm.surveys.ejb20.TopicHome</home>
    <remote>erm.com.clickaction.erm.surveys.ejb20.Topic</remote>
    <ejb-class>erm.com.clickaction.erm.surveys.ejb20.TopicBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Long</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>TopicBean</abstract-schema-name>
    <cmp-field>
    <field-name>topicKey</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>name</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>description</field-name>
    </cmp-field>
    <primkey-field>topicKey</primkey-field>
    <query>
    <query-method>
    <method-name>findAllTopics</method-name>
    <method-params/>
    </query-method>
    <ejb-ql><![CDATA[WHERE topicKey is not null]]></ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>SurveyEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>TopicEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    <dependents>
    <dependent>
    <description>Topic</description>
    <dependent-class>erm.com.clickaction.erm.surveys.ejb20.Topic</dependent-class>
    <dependent-name>Topic</dependent-name>
    <cmp-field><field-name>topicKey</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>description</field-name></cmp-field>
    <pk-field>topicKey</pk-field>
    </dependent>
    </dependents>
    <relationships>
    <ejb-relation>
    <ejb-relation-name>Survey-Topic</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>survey-has-topics</ejb-relationship-role-name>
    <multiplicity>one</multiplicity>
    <role-source><ejb-name>SurveyEJB</ejb-name></role-source>
    <cmr-field>
    <cmr-field-name>topics</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>topics-belongto-survey</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    <cascade-delete/>
    <role-source><dependent-name>TopicEJB</dependent-name></role-source>
    <cmr-field>
    <cmr-field-name>survey</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    </ejb-jar>
    thanks
    simon evans
    [email protected]

    Hi Simon,
    I'm reposting your message to the ejb group where you can get more help. This group
    is monitored more for issues regarding general product usability feedback, rather
    than "how to" issues.
    However, I do see you've uncovered a usability issue in as much as you couldn't find
    appropriate documentation or examples to help understand the problem. Moreover, you
    weren't able to figure out what to do next using the ejbc compiler error messages.
    I'll take a look at the problem from this point of view.
    In the mean time, ejb team, can you lend a hand?
    dan
    simon wrote:
    does anybody have a working example of a ejb20 bean that uses dependant
    objects with a CMP relationship. I am trying to do a simple relationship
    where an ejb has a Collection of dependant objects.
    I cant get past the xml parsing errors when ejbc is run.
    The error is
    ERROR: weblogic.xml.process.XMLParsingException: The content of element
    type "ej
    b-jar" must match
    "(description?,display-name?,small-icon?,large-icon?,enterpris
    e-beans,dependents?,relationships?,assembly-descriptor?,ejb-client-jar?)".
    - wit
    h nested exception:
    [org.xml.sax.SAXParseException: The content of element type "ejb-jar"
    must match
    "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,dependent
    s?,relationships?,assembly-descriptor?,ejb-client-jar?)".] Line: 152
    Column: 11
    here is the ejb-jar.xml file:
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
    JavaBeans 2.0//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <ejb-name>SurveyEJB</ejb-name>
    <home>erm.com.clickaction.erm.surveys.ejb20.SurveyHome</home>
    <remote>erm.com.clickaction.erm.surveys.ejb20.Survey</remote>
    <ejb-class>erm.com.clickaction.erm.surveys.ejb20.SurveyBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Long</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>SurveyBean</abstract-schema-name>
    <cmp-field>
    <field-name>surveyKey</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>clientKey</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>name</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>description</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>version</field-name>
    </cmp-field>
    <primkey-field>surveyKey</primkey-field>
    <query>
    <query-method>
    <method-name>findAllSurveys</method-name>
    <method-params/>
    </query-method>
    <ejb-ql><![CDATA[WHERE surveyKey is not null]]></ejb-ql>
    </query>
    </entity>
    <entity>
    <ejb-name>TopicEJB</ejb-name>
    <home>erm.com.clickaction.erm.surveys.ejb20.TopicHome</home>
    <remote>erm.com.clickaction.erm.surveys.ejb20.Topic</remote>
    <ejb-class>erm.com.clickaction.erm.surveys.ejb20.TopicBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Long</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>TopicBean</abstract-schema-name>
    <cmp-field>
    <field-name>topicKey</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>name</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>description</field-name>
    </cmp-field>
    <primkey-field>topicKey</primkey-field>
    <query>
    <query-method>
    <method-name>findAllTopics</method-name>
    <method-params/>
    </query-method>
    <ejb-ql><![CDATA[WHERE topicKey is not null]]></ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>SurveyEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>TopicEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    <dependents>
    <dependent>
    <description>Topic</description>
    <dependent-class>erm.com.clickaction.erm.surveys.ejb20.Topic</dependent-class>
    <dependent-name>Topic</dependent-name>
    <cmp-field><field-name>topicKey</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>description</field-name></cmp-field>
    <pk-field>topicKey</pk-field>
    </dependent>
    </dependents>
    <relationships>
    <ejb-relation>
    <ejb-relation-name>Survey-Topic</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>survey-has-topics</ejb-relationship-role-name>
    <multiplicity>one</multiplicity>
    <role-source><ejb-name>SurveyEJB</ejb-name></role-source>
    <cmr-field>
    <cmr-field-name>topics</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>topics-belongto-survey</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    <cascade-delete/>
    <role-source><dependent-name>TopicEJB</dependent-name></role-source>
    <cmr-field>
    <cmr-field-name>survey</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    </ejb-jar>
    thanks
    simon evans
    [email protected]

  • Problem with regrouping data in BI Publisher

    I have tried all that has been suggested in Oracle documentation but still can't get my report to work.
    I am working on our Benefits Confirmations and Summary report. I am getting the records as I need them except that I am getting only the number of records right. The dependent names and beneficiary names are always only the first record in the data file!
    I have included the tree structure below that we have in the file. From the layout below, I need to retrieve the data element "A" and few elements from group "i".
    i have used for-each-group for getting the data in A and for-each-group:current_group();./B/i
    This is the layout we have in the file (There are many more elements above A and below C but this part of the tree is all that we are concerned with):
    -A
    -B
    --i
    ---1
    ---2
    ---3
    ---4
    ---5
    ---6
    ---7
    --i
    ---1
    ---2
    ---3
    ---4
    ---5
    ---6
    ---7
    --iii
    -C

    check for the SECURITY_MODEL in the file xmlp-server-config.xml under Configuration Folder (Repository). I will have to check the exact term but I think its value should be LDAP. I think the SSO is working fine, just that its not able to connect to LDAP. Check if there is any error in the console / log file. I have not checked each step of the document that you referred to, but please verify the steps for LDAP integration from the user guide.

  • I can't deploy my webdynpro to SAP EP

    Hi, I created my Webdynpro Application, but when I try to deploy to SAP EP, and
    NWDS display this log on Deploy console
    [001]Deployment finished with warning
    Settings
    SDM host : bvpmepd
    SDM port : 50018
    URL to deploy : file:/C:/Users/sistemas/AppData/Local/Temp/temp8616demo.sap.com~sifweb.ear
    Result
    => deployment not executed : file:/C:/Users/sistemas/AppData/Local/Temp/temp8616demo.sap.com~sifweb.ear
    Unresolved dependencies found for the following SDAs:
    1.: development component 'sifweb'/'demo.sap.com'/'localDevelopment'/'20110304125206'/'0'
    dependency:
           name:     'tc/ddic/runtime/facade'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    dependency:
           name:     'tc/aii/base/offline/facade'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    dependency:
           name:     'tc/bl/exception/lib'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    dependency:
           name:     'tc/wd/api'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    dependency:
           name:     'tc/bl/logging/api'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    dependency:
           name:     'tc/bl/jrfc/api'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    Deployment will be aborted.
    Deployment exception : Got problems during deployment [WARNING: 4/03/2011 12:52:31 PM /userOut/daView_category (eclipse.UserOutLocation) [Thread[Deploy Thread,5,main]] ]
    And this try to display on Explorer
    and display this
      Details:   com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'demo.sap.com/sifweb' and application 'CapturaDocumentosApp' are not deployed on the server. Please check the used URL for typos.
    Exception id: [E41F136228E400710000000400000D3400049DAA7D960587]
    I don't know how to solve the problem.
    I do all the instruccion of SAP tutorials to create the first Webdynpro As Java Aplication

    Hi,
    The DC's error is indecating are the default DC's which normally get deployed at time of J2ee Server installation (I mean following DC's)
    1.: development component 'sifweb'/'demo.sap.com'/'localDevelopment'/'20110304125206'/'0'
    dependency:
    name: 'tc/ddic/runtime/facade'
    vendor: 'sap.com'
    name: 'tc/aii/base/offline/facade'
    vendor: 'sap.com'
    name: 'tc/bl/exception/lib'
    vendor: 'sap.com'
    name: 'tc/wd/api'
    vendor: 'sap.com'
    name: 'tc/bl/logging/api'
    vendor: 'sap.com'
    name: 'tc/bl/jrfc/api'
    vendor: 'sap.com'
    So i doubt if those DC's are not available in server, I believe these one is dependancy problem.
    Regards
    Jeetendra

  • Trying to create a service that starts at boot

    People,
    I'm trying to create a service that will start at boot (in single-user mode, actually). I am up and running but I do NOT want to run the service now. I only want to run the service when the machine reboots.
    I've been rummaging around all day trying to figure this out but I'm stuck. I can create a service that runs. I can create an XML file in /var/svc/manifest/site/patch-install.xml that will be read when I boot- because after I boot, I can list the service:
    svcs -a | grep patch
    disabled       18:23:23 svc:/site/patch-install:defaultI have inserted the following in my xml:
    <create_default_instance enabled='true' />and also
    <create_default_instance enabled='false' />but it makes no difference. Anyone have any idea? What is the purpose of create_default_instance? I don't understand; item 9 on http://www.sun.com/bigadmin/content/selfheal/sdev_intro.html seems rather opaque to me.
    Also, what exactly is the purpose of /var/svc/profile/ ? I tried putting some code to enable my xml but it didn't do anything. Just wondering if this might fit into the picture.
    BTW, I do not want the login prompt to appear until my method is complete.
    Thanks.
    -mschwage
    Here fyi is my /var/svc/manifest/site/patch-install.xml file:
    <?xml version="1.0"?>
    <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    <service_bundle type='manifest' name='Patches:patch-install'>
    <service
            name='site/patch-install'
            type='service'
            version='1'>
            <create_default_instance enabled='false' />
            <single_instance />
            <dependent
                    name='patch-install_single-user'
                    grouping='require_all'
                    restart_on='none'>
                    <service_fmri value='svc:/milestone/single-user' />
            </dependent>
            <exec_method
                    type='method'
                    name='start'
                    exec='/var/tmp/S92delay'
                    timeout_seconds='86400' />
            <exec_method
                    type='method'
                    name='stop'
                    exec=':true'
                    timeout_seconds='0' />
            <property_group name='startd' type='framework'>
                    <propval name='duration' type='astring' value='transient' />
            </property_group>
            <stability value='External' />
            <template>
                    <common_name>
                            <loctext xml:lang='C'>
                            Install patchset upon boot.
                            </loctext>
                    </common_name>
            </template>
    </service>
    </service_bundle>

    Hushpuppy wrote:
    People,
    I'm trying to create a service that will start at boot (in single-user mode, actually). I am up and running but I do NOT want to run the service now. I only want to run the service when the machine reboots.I'd probably create the service now (by importing the manifest manually rather than waiting for the reboot), then set general/enabled in the default instance to be be true with svcprop. That should tell it to start at boot, but not enable it immediately.
    I've been rummaging around all day trying to figure this out but I'm stuck. I can create a service that runs. I can create an XML file in /var/svc/manifest/site/patch-install.xml that will be read when I boot- because after I boot, I can list the service:Yes, that's the default. Or you can load it immediately to create the service now.
    # svccfg import patch-install.xml
    I have inserted the following in my xml:
    <create_default_instance enabled='true' />and also
    <create_default_instance enabled='false' />but it makes no difference. Anyone have any idea? What is the purpose of create_default_instance? I don't understand; item 9 on http://www.sun.com/bigadmin/content/selfheal/sdev_intro.html seems rather opaque to me.There's a difference between a "service" like network/smtp or console-login and an "instance" like network/smtp:sendmail or console-login:default. In most cases, you just want a single "default" instance of your service. The above line sets the default instance 'enabled' property to true or false. When I import your manifest as is, the service comes in as 'disabled'. If I set it to true, it comes in as 'maintenance' (almost certainly because it was enabled, tried to start, and couldn't find the start method on my machine).
    Also, what exactly is the purpose of /var/svc/profile/ ? I tried putting some code to enable my xml but it didn't do anything. Just wondering if this might fit into the picture.'profiles' are loaded exactly once, and they are mainly used to set certain services to enabled or disabled.
    3 of them are loaded if present, platform.xml, generic.xml, and site.xml. The last is not generated by the OS, but left for you to use. But it's usually only useful as a "first boot" type thing. Because if you make changes to it, it will not be reread. This isn't usually a problem because after first boot you're in control of the services. The usual thing is that at first boot the manifests load to create services, then the profiles are loaded to set then enabled or disabled. This isn't possible before that point because there's no service to modify yet.
    BTW, I do not want the login prompt to appear until my method is complete.Any login prompt like a network login, or only the console login prompt? If the latter, then you'll want a dependency so that system-console-login depends on your service. But if your service has a problem at boot time, you'd make it difficult to log in.
    Darren

Maybe you are looking for