Function within package error

Hi friends,
I have a package called xxhw_ams_utils with a function in it get_salary
When i tried to execute that function within the package like the below manner means, im getting error like
ORA-00904: "XXHW_AMS_UTILS"."GET_SALARY": invalid identifier
select apps.xxhw_ams_utils.get_salary(1072) from dualwhere 1072 is the assignment id that im passing for testing purpose.
This is the actually the get_salary function which is inside the package xxhw_ams_utils coding
FUNCTION get_salary
(p_asg_id IN NUMBER)
    RETURN VARCHAR2 IS
l_gross VARCHAR2(20);
l_basic VARCHAR2(20);
BEGIN
select eev.screen_entry_value
into l_basic
       from   pay_element_entry_values_f eev,
              per_pay_bases              ppb,
              pay_element_entries_f       pe
       where  ppb.pay_basis_id  +0 = 61
       and    pe.assignment_id     = 1072
       and    eev.input_value_id   = ppb.input_value_id
       and    eev.element_entry_id = pe.element_entry_id
       and    sysdate between
                        eev.effective_start_date and eev.effective_end_date
       and    sysdate between
                        pe.effective_start_date and pe.effective_end_date;
EXCEPTION
WHEN OTHERS THEN RAISE;
END; Suppose if i executed like the below manner means, i getting the correct result
select eev.screen_entry_value
--into l_basic
       from   pay_element_entry_values_f eev,
              per_pay_bases              ppb,
              pay_element_entries_f       pe
       where  ppb.pay_basis_id  +0 = 61
       and    pe.assignment_id     = 1072------------------------------------>assignment id (that im passing)
       and    eev.input_value_id   = ppb.input_value_id
       and    eev.element_entry_id = pe.element_entry_id
       and    sysdate between
                        eev.effective_start_date and eev.effective_end_date
       and    sysdate between
                        pe.effective_start_date and pe.effective_end_date;Suppose if i execute like the below means it is returning error like invalid character.
select apps.xxhw_ams_utils.get_salary(1072) from dualWhy might be the problem friends.
Brgds,
Mini

Hi Giri,
Thanks yes i didnt mentioned that function get_salary in the package specification and now the package is compiled successfully,
But when i tried to execute i get the error like
ORA-06503: PL/SQL: Function returned without value
ORA-06512: at "APPS.XXHW_AMS_UTILS", line 177when i execute like
select apps.xxhw_ams_utils.get_salary(1072) from dualBrgds,
Mini

Similar Messages

  • Return value from function within package

    Hi,
    There is a function within a pl/sql package that I am trying to get data from. The problem is that the data returned can be up to 32,767 chars (varchar2 limit).
    It accepts 3 input parameters and returns on varchar2.
    The only way I can get it to work is using this syntax:
    ==================================
    variable hold varchar2(4000);
    call TrigCodeGenerator.GenerateCode(VALUE1', 'VALUE2','VALUE3') into :hold;
    print hold;
    =====================================
    However, if the data returned is greater than 4000 then I get this error:
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 1
    I can't increase the size of the variable (hold) as there seems to be a limitation on this type of variable.
    Also, I am running this in sql plus worksheet. Will it limit the display of the data (assuming, that someone can get the whole 32,767 chars displayed back) ?
    Thanks in advance,
    Ned

    Never mind,
    I declared the variable hold as clob and set the long and longchunksize parameters to 100,000 and it seems to work.

  • How to get a called procedure/function name within package?

    Hi folks,
    is it possible to obtain a called procedure/function name within package?
    For a measuring and tracing purpose, I would like to store an info at the beginning of each procedure/function in package with timestamp + additional details if needed.
    For example:
    CREATE OR REPLACE PACKAGE BODY "TEST_PACKAGE" IS
       PROCEDURE proc_1 IS
       BEGIN
          api_log.trace_data(sysdate, 'START.' || ???????);
          api_log.trace_data(sysdate, 'END.' || ???????);
       END;
       PROCEDURE proc_2 IS
       BEGIN
          api_log.trace_data(sysdate, 'START.' || ???????);
          proc_1;
          api_log.trace_data(sysdate, 'END.' || ???????);
       END;
    END; I would like to replace "???????" with a function which would return a name of called procedure, so result of trace data after calling TEST_PACKAGE.proc_2 would be:
       11.1.2013 09:00:01    START.*TEST_PACKAGE.proc_2*
       11.1.2013 09:00:01    START.*TEST_PACKAGE.proc_1*
       11.1.2013 09:00:01    END.*TEST_PACKAGE.proc_1*
       11.1.2013 09:00:01    END.*TEST_PACKAGE.proc_2*I tried to use "dbms_utility.format_call_stack" but it did not return the name of procedure/function.
    Many thanks,
    Tomas
    PS: I don't want to use an hardcoding

    You've posted enough to know that you need to provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION).
    >
    is it possible to obtain a called procedure/function name within package?
    For a measuring and tracing purpose, I would like to store an info at the beginning of each procedure/function in package with timestamp + additional details if needed.
    >
    I usually use this method
    1. Create a SQL type for logging information
    2. Put the package name into a constant in the package spec
    3. Add a line to each procedure/function for the name.
    Sample package spec
          * Constants and package variables
              gc_pk_name               CONSTANT VARCHAR2(30) := 'PK_TEST';Sample procedure code in package
          PROCEDURE P_TEST_INIT
          IS
            c_proc_name CONSTANT VARCHAR2(80)  := 'P_TEST_INIT';
            v_log_info  TYPE_LOG_INFO := TYPE_LOG_INFO(gc_pk_name, c_proc_name); -- create the log type instance
          BEGIN
              NULL; -- code goes here
          EXCEPTION
          WHEN ??? THEN
              v_log_info.log_code := SQLCODE;  -- add info to the log type
              v_log_info.log_message := SQLERRM;
              v_log_info.log_time    := SYSDATE;
              pk_log.p_log_error(v_log_info);
                                    raise;
          END P_PK_TEST_INIT;Sample SQL type
    DROP TYPE TYPE_LOG_INFO;
    CREATE OR REPLACE TYPE TYPE_LOG_INFO AUTHID DEFINER AS OBJECT (
    *  NAME:      TYPE_LOG_INFO
    *  PURPOSE:   Holds info used by PK_LOG package to log errors.
    *             Using a TYPE instance keeps the procedures and functions
    *             independent of the logging mechanism.
    *             If new logging features are needed a SUB TYPE can be derived
    *             from this base type to add the new functionality without
    *             breaking any existing code.
    *  REVISIONS:
    *  Ver        Date        Author           Description
    *   1.00      mm/dd/yyyy  me               Initial Version.
        PACKAGE_NAME  VARCHAR2(80),
        PROC_NAME     VARCHAR2(80),
        STEP_NUMBER   NUMBER,
        LOG_LEVEL   VARCHAR2(10),
        LOG_CODE    NUMBER,
        LOG_MESSAGE VARCHAR2(1024),
        LOG_TIME    TIMESTAMP,
        CONSTRUCTOR FUNCTION type_log_info (p_package_name IN VARCHAR2 DEFAULT 'Uninitialized',
                                            p_proc_name IN VARCHAR2 DEFAULT 'Uninitialized',
                                            p_step_number IN NUMBER DEFAULT 1,
                                            p_LOG_level IN VARCHAR2 DEFAULT 'Uninit',
                                            p_LOG_code IN NUMBER DEFAULT -1,
                                            p_LOG_message IN VARCHAR2 DEFAULT 'Uninitialized',
                                            p_LOG_time IN DATE DEFAULT SYSDATE)
                    RETURN SELF AS RESULT
      ) NOT FINAL;
    DROP TYPE BODY TYPE_LOG_INFO;
    CREATE OR REPLACE TYPE BODY TYPE_LOG_INFO IS
        CONSTRUCTOR FUNCTION type_log_info (p_package_name IN VARCHAR2 DEFAULT 'Uninitialized',
                                            p_proc_name IN VARCHAR2 DEFAULT 'Uninitialized',
                                            p_step_number IN NUMBER DEFAULT 1,
                                            p_LOG_level IN VARCHAR2 DEFAULT 'Uninit',
                                            p_LOG_code IN NUMBER DEFAULT -1,
                                            p_LOG_message IN VARCHAR2 DEFAULT 'Uninitialized',
                                            p_LOG_time IN DATE DEFAULT SYSDATE)
         RETURN SELF AS RESULT IS
        BEGIN
          self.package_name  := p_package_name;
          self.proc_name     := p_proc_name;
          self.step_number   := p_step_number;
          self.LOG_level   := p_LOG_level;
          self.LOG_code    := p_LOG_code;
          self.LOG_message := p_LOG_message;
          self.LOG_time    := p_LOG_time;
          RETURN;
        END;
    END;
    SHO ERREdited by: rp0428 on Jan 11, 2013 10:35 AM after 1st cup of coffee ;)

  • Need Help: Using Ref Cursor in ProC to call a function within a Package

    I'm calling a function within a package that is returning a REF CURSOR.
    As per the Oracle Pro*C Programmer's Guide, I did the following:
    1) declared my cursor with a: EXEC SQL BEGIN DECLARE SECTION and declared the cursor as: SQL_CURSOR my_cursor;
    2) I allocated the cursor as: EXEC SQL ALLOCATE :my_cursor;
    3) Via a EXEC SQL.....END-EXEC begin block
    I called the package function and assign the return value to my cursor
    e.g. my_cursor := package.function(:host1, :host2);
    Now, the only difference between my code and the example given in the Pro*C Programmer's Guide is that the example calls a PROCEDURE within a package that passes back the REF CURSOR as an OUT host variable.
    Whereas, since I am calling a function, the function ASSIGNS the return REF CURSOR in the return value.
    If I say my_cursor := package.function(:host1, :host2); I get a message stating, "PLS-00201: identifier MY_CURSOR" must be declared"
    If I say :my_cursor := package.function(:host1, :host2); I get a message stating, "ORA-01480: trailing null missing from STR bind value"
    I just want to call a package function and assign the return value to a REF CURSOR variable. There must be a way of doing this. I can do this easily in standard PL/SQL. How can this be done in Pro*C ???
    Thanks for any help.

    Folks, I figured it out. For those who may face this problem in the future you may want to take note for future reference.
    Oracle does not allow you to assign the return value of a REF CURSOR from a FUNCTION ( not Procedure - - there is a difference) directly to a host variable. This is the case even if that host variable is declared a CURSOR variable.
    The trick is as follows: Declare the REF CURSOR within the PL/SQL BEGIN Block, using the TYPE statement, that will contain the call to the package function. On the call, you then assign the return REF CURSOR value that the function is returning to your REF CURSOR variable declared in the DECLARE section of the EXEC SQL .... END-EXEC PL/SQL Block.
    THEN, assign the REF CURSOR variable that was populated from the function call to your HOST cursor varaible. Then fetch this HOST Cursor variable into your Host record structure variable. Then you can deference individual fields as need be within your C or C++ code.
    I hope this will help someone facing a deadline crunch. Happy computing !

  • How do I view a FUNCTION within a Package Body

    I can see the FUNCTION being executed within the Package...
    FUNCTION Stop_Refresh_AsBilled
    RETURN Number;
    And within Oracle SQL Developer and using the Connection and "Packages" part of the Schema, I see the Function Name. However, when I <Double-Click> on the FUNCTION Name within the Schema, it is taking me to where the FUNCTION is executed within the Package and NOT to the PL/SQL Code that actually makes up the FUNCTION.
    Am I missing something here??? Maybe in my Preferences??? How can I drill down further to actually find the FUNCTION Definition and PL/SQL Code that makes up the FUNCTION within the Package Body???
    I can bring up the Package Body and Search on the FUNCTION that way. I'm hoping there is an easier way however to drill down to the actual PL/SQL Code that makes up the FUNCTION.
    I hope I am being clear in my explanation here.
    Thanks for your review and I am hopeful for a reply.
    PSULionRP

    Jim, opening the body node to see all functions and procedures sometimes does not work in 3.0
    I have many packages generated by Feuerstien's CodeGen utility. The Query package appears just fine with every function and procedure appearing as expected in both header and body nodes. However, the Change Package fails miserably. Header shows all functions and procedures fine, but the body node only shows the top private declarations of variables and types. Not one function or procedure appears in the expanded node.
    The only thing I can figure is that the Change package of about 30 named items has many of the same name+ with overloaded parameters. I think SQL Dev is having problems parsing the names in the body even though it does fine with the names in the header of the package--perhaps because of many private variables and PRAGMA's declared at the top of the body.
    Both packages have about 30 functions, but the Change package body has over 2000 lines while the Query package has fewer than 500.
    Just adding to the mystery--but I think it merits a bug report (gotta figure out where to report it now).

  • Saving Functions or Packages  As Files using is alert to errors

    I just downloaded the sqldeveloper 1.55. I often have to save functions as files (for MS VSS usage). I have noticed these defects again:
    - no default name for the file (why not the name of the function or package)
    - no check if the target file is readonly or otherwise saving files.
    I have told this about year ago - having no effect on the product.
    Hannu

    Hi
    I mean actually this: 1. select the function
    2. on the right mouse choose: Export DDL
    3. Choose Save to file
    Now there is no default name and the directory is not remembered if you save more functions. Also, no error message if saving fails.
    Hannu

  • PI 711 Installation: Loading of 'SAPNTAB' import package: error but no log

    Hello,
    I'm perfromong an installation of a SAP PI 7.11 ystem on windoows Server 2003 and Oracle 10.2 .
    I've perfromed the installation of the DEV system without particular issue.
    But now when tryning to install the QAS system , I can't finish the installation : Im' stuck in the import ABAP step ...
    It is impossible to import the 'SAPNTAB' package. I couln't find the reason.
    I've tried updating the R3load binary, rebooting the server, restarting the instalaltion from scratch but it didn't help.
    Here I provide you the logs, maybe you can help me
    SAPNTAB.log
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110223195542
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/711_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: version R7.11/V1.4 [UNICODE]
    Compiled Dec 14 2010 22:52:23
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -i SAPNTAB.cmd -dbcodepage 4103 -l SAPNTAB.log -stop_on_error -loadprocedure fast
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (DB) INFO: SVERS deleted/truncated #20110223195543
    sapinst_dev.log
    Syslib info about system call. OS message 109 (The pipe has been ended.
    ) after execution of system call 'ReadFile' with parameter ((read end of child process output pipe)), line (403) in file (synxcpipe.cpp).
    WARNING    2011-02-23 19:56:12.607
               CJSlibModule::writeWarning_impl()
    Execution of the command ""C:\Program Files\sapinst_instdir\NW71\INSTALL\SYSTEM\ORA\STD\AS\sapjvm\sapjvm_5\bin\java.exe" -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.5.0_14"
    Java(TM) 2 Runtime Environment, Standard Edition (build 5.1.024)
    SAP Java 64-Bit Server VM (build 5.1.024, Sep  4 2008 23:21:58 - 51_REL - optU - windows amd64 - bas2:106386 (mixed mode))
    Import Monitor jobs: running 1, waiting 28, completed 0, failed 0, total 29.
    Loading of 'SAPNTAB' import package: ERROR
    Import Monitor jobs: running 0, waiting 28, completed 0, failed 1, total 29.
    TRACE      2011-02-23 19:56:12.607
    Function setMessageIdOfExceptionMessage: nw.programError
    ERROR      2011-02-23 19:56:12.607
               CJSlibModule::writeError_impl()
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    import_monitor.log
    TRACE: 2011-02-23 19:55:42 com.sap.inst.migmon.imp.ImportStandardTask preCreate
    Parse of 'C:\Program Files\sapinst_instdir\NW71\INSTALL\SYSTEM\ORA\STD\AS\DDLORA.TPL' template file is started.
    INFO: 2011-02-23 19:55:42 com.sap.inst.migmon.imp.ImportStandardTask preCreate
    Parse of 'C:\Program Files\sapinst_instdir\NW71\INSTALL\SYSTEM\ORA\STD\AS\DDLORA.TPL' template file is successfully completed.
    Primary key creation: after load.
    Index creation: after load.
    INFO: 2011-02-23 19:55:42
    Data codepage 1100 is determined using TOC file 'E:\SAPCD\51036706\DATA_UNITS\EXP1\DATA\REPOSRC.TOC' for package 'REPOSRC'.
    INFO: 2011-02-23 19:55:42
    Version table 'SVERS' is found in STR file 'E:\SAPCD\51036706\DATA_UNITS\EXP3\DATA\SAPNTAB.STR' from package 'SAPNTAB'.
    INFO: 2011-02-23 19:55:42
    Data conversion tables 'DDNTF,DDNTF_CONV_UC,DDNTT,DDNTT_CONV_UC' are found in STR file 'E:\SAPCD\51036706\DATA_UNITS\EXP3\DATA\SAPNTAB.STR' from package 'SAPNTAB'.
    TRACE: 2011-02-23 19:55:42 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPNTAB' import package is started.
    TRACE: 2011-02-23 19:55:42 com.sap.inst.migmon.LoadTask processPackage
    Loading of 'SAPNTAB' import package into database:
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -i SAPNTAB.cmd -dbcodepage 4103 -l SAPNTAB.log -stop_on_error -loadprocedure fast
    ERROR: 2011-02-23 19:55:45 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPNTAB' import package is interrupted with R3load error.
    Process 'E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -i SAPNTAB.cmd -dbcodepage 4103 -l SAPNTAB.log -stop_on_error -loadprocedure fast' exited with return code -1,073,741,819.
    For mode details see 'SAPNTAB.log' file.
    Standard error output:
    sapparam: sapargv(argc, argv) has not been called!
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2011-02-23 19:56:12
    Cannot continue import because not all import packages with data conversion tables are loaded successfully.
    WARNING: 2011-02-23 19:56:12
    1 error(s) during processing of packages.
    INFO: 2011-02-23 19:56:12
    Import Monitor is stopped.
    Edited by: Raoul Shiro on Feb 23, 2011 8:11 PM
    Edited by: Raoul Shiro on Feb 23, 2011 8:12 PM

    Hello,
    Thank you for your answer.
    I already opened a sap cutomer call, they answered that it it not a database issue,
    I restarted the installationfriom scracth , but i still got the same error :
    Here is the full content of the file SAPNTAB.log
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110225170643
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/711_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: version R7.11/V1.4 [UNICODE]
    Compiled Dec 22 2008 00:13:12
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -ctf I E:\SAPCD\51036706\DATA_UNITS\EXP3\DATA\SAPNTAB.STR C:\Program Files\sapinst_instdir\NW71\INSTALL\SYSTEM\ORA\STD\AS\DDLORA.TPL SAPNTAB.TSK ORA -l SAPNTAB.log
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: job completed
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20110225170643
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110225170643
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/711_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: version R7.11/V1.4 [UNICODE]
    Compiled Dec 22 2008 00:13:12
    E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -i SAPNTAB.cmd -dbcodepage 4103 -l SAPNTAB.log -stop_on_error -loadprocedure fast
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (DB) INFO: SVERS created #20110225170643
    Regards.
    Raoul

  • Call to Driver Package Error - Nine Possible Solutions that have Resolved this Issue!

    Hello everyone I've decided to write up this guide to discuss and troubleshoot the “Call to Driver Package Error”.
    What is it ? What causes it?
    This issue normally occurs when a specific driver, that is being called, cannot be called. Sometimes, a 1627 or 1603 error is referenced in the error.
         - If a 1603 error is referenced, this indicates that an ERROR_INSTALL_FAILURE has occurred, meaning a component of the installation failed. This is normally accompanied when another form of installation occurs.
         - If a 1627 error is referenced, this indicates that an ERROR_FUNCTION_FAILURE has occurred, meaning a function at a specific moment has failed, and the installation cannot continue.
    Typically, these numbers do not mean a whole lot. However, for an advanced user, these numbers might mean a little bit more.
    An example?
    "Call to driver package install returned the error 1603 for Pkg C:/ProgramFiles\HP\HP officejet pro 8600\driverstore\ng scan driver\HPWia_OJ8600.INF"
    This is the most recent error message I've witnessed. If you break it down, you will notice that “HPWia_OJ8600.INF” is the installation file (INF) that has failed. WIA (Windows Image Acquisition) is crucial for scanning, and the printer installs this file to enable scanning features.
    How can you troubleshoot this error?
    This is the main portion of the post. I am going to suggest a significant list of troubleshooting that you can attempt. There are nine solutions which have resolved the issue in different situations, all of which I personally worked with. I'm hoping that these solutions will work for you if you have to face this error.
    *Please note that some of this troubleshooting is a little complicated. If a mistake is made, you may have to reinstall the operating system. However, the final troubleshooting step will require you to do this. You should make sure all of your data is backed up before troubleshooting.
    Backing Up Your Files (Windows 8)
    Backing Up Your Files (Windows 7)
    How to Back Up Your Files (Windows Vista or XP)
    You should also backup the Registry. There are some Registry-editing steps in the troubleshooting I provide.
    Backing Up, Editing, and Restoring the Windows Registry (Windows 8)
    Backing Up, Editing, and Restoring the Windows Registry (Windows 7)
    Backing Up, Editing, and Restoring the Windows Registry (Windows 98, ME, and XP)
    *After each step is attempted, you can try installing the printer software. If it fails, please uninstall the software before proceeding. This HP document will explain how to do it:
    1. The first step is performing a Clean Boot. I've resolved this issue in the past by performing this simple step before installing the software. A Clean Boot will turn off third-party programs and services that could be blocking the software from working correctly. For more information on how to do this, please look at this Microsoft document:
    How to perform a clean boot in Windows
    2. Next, make sure the Windows Installer it turned on and started. If it not, the installation may not complete. To do this, hold down the “Windows” and “R” key on the keyboard, which will open the Run box. In that box, type “services.msc” (without the quotes) and hit Enter.
    Now scroll down to the Windows Installer. If it is checked stopped, or not started, right-click on it and select “Start”.
    3. Next, I would suggest completing all Windows Updates:
    a) Open "Windows Update" in Control Panel.
    b) Click "Settings", and then click "Install optional updates".
    c) Next, click "Check for updates".
    This will ensure that all updates are found and installed. Once they are installed, see whether or not the error returns.
    4. If the issue is not resolved at this point, I would like to check the system for obvious corruption with an SFC scan. SFC stands for System File Checker, and it scans and attempts to restore corrupted Windows files.
    To do this, open Command Prompt as Administrator. Type in this command and hit Enter afterward: sfc
    /scannow
    Write down the results and restart computer after this completes.
    5. Creating a new Administrator account is a workaround to the issue. If the error does not appear on other accounts, this proves that whatever is causing the error is account-exclusive. I'm going to suggest you unlock the computer's built-in Administrator account.
    To do this, open Command Prompt as Administrator, again. Then type in this command and hit Enter afterward: net user administrator /active:yes
    6. The next step involves editing permissions in the Registry. In the Registry, please review the instructions below to apply full permissions to the following key: HKEY_LOCAL_MACHINE
    a) Right-click on the key that you need to edit and/or delete (HKEY_LOCAL_MACHINE). Click on "permissions..."
    b) Click "Add" in that Window that appears.
    c) There will be an empty box under "Enter the object names to select". Type "Administrator" (without the quotes), then click on "Check Names".
    d) An Administrator name will appear, click "Ok" when it does.
    e) You should be able to select (click) the Administrator profile under "Group or user names". Once clicked, click on "Advanced".
    f) Click on the "Owner" tab.
    g) Click on the Administrator profile, then put the check-mark in "Replace owner on subcontainers and objects".
    h) Go back to the "Permissions" tab, and ensure the Administrator profile is selected.
    i) In the "Permissions" tab, put a check-mark in every box available. The boxes will likely be indicated by "Include inheritable permissions from this object's parent" and "Replace all child object permissions with inheritable permissions from this object".
    j) Next, click "Edit". Put a check-mark in "Full Control" under Allow. Click Ok. Now, click Apply (you may receive a Window security message, just click "Yes"), then Ok.
    k) Exit the Registry, then restart the computer, and launch the Administrator account.
    7. The next step is to re-register the Windows Installer, and other dynamic library links (.DLL). Doing this will reference certain components that are required to complete the installation. Open Command Prompt as Administrator, then type each command and hit Enter after each one:
    MSIEXEC /UNREGISTER
    MSIEXEC /REGSERVER
    REGSVR32 MSI.DLL
    REGSVR32 ATL.DLL
    REGSVR32 SOFTPUB.DLL
    REGSVR32 WINTRUST.DLL
    REGSVR32 INITPKI.DLL
    REGSVR32 DSSENH.DLL
    REGSVR32 RSAENH.DLL
    REGSVR32 GPKCSP.DLL
    REGSVR32 SCCBASE.DLL
    REGSVR32 SLBCSP.DLL
    REGSVR32 MSSIP32.DLL
    REGSVR32 CRYPTDLG.DLL
    8. There are certain DLL files that can interfere with the installation, and they should be deleted. Go to C:\Windows\System32
    Delete the following files:
    HPZipm12.dll
    HPZinw12.dll
    9. Before reinstalling the operating system, you can try restoring it. This will allow you to return the computer to a point where the printer was working.
    *You should only do this if the software worked in the recent past.
    What is System Restore? - For Windows 7 and Vista
    How to refresh, reset, or restore your PC - For Windows 8 and 8.1
    What if these nine solutions do not work?
    Finally, you will need to reinstall the operating system if the issue is not resolved by this point. However, I can promise that this will resolve the issue. Here is a generic document on reinstalling the operating system:
    Overview of Recovering the OS or Reinstalling the Operating System
    And that's everything. Thanks for reading! - Mario
    I worked on behalf of HP.

    No error messages are given. It will either freeze while saying "Accessing iTunes Store," or without saying anything at all.
    I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • User-defined function in package

    Hi all,
    is it possible to return more than 1 value when using user-defined function in package?

    I'll try to describe my situation. My need is to find correct client type by its cid number. If it's individual (ct.officialtype = 3) then function returns 3. If it's not individual (ct.officialtype <> 3) then function should check ENTERPRISETYPE.id, 910 is small business (function should return 1), else it returns 2. You can find my try below, it returns
    ORA-24344: success with compilation error
    13/29   PLS-00201: identifier 'US1' must be declared
    13/34   PL/SQL: ORA-00904: : invalid identifier
    13/1    PL/SQL: SQL Statement ignored
    17/4    PLS-00201: identifier 'US1' must be declared
    17/1    PL/SQL: Statement ignored
    9/13    PLS-00323: subprogram or cursor 'F_CLIENTTYPE' is declared in a package specification and must be defined in the package bodyCould you please give me solution on how do I write this procedure? It should be procedure, because I need to use it in SELECT statement.
    CREATE OR REPLACE PACKAGE creator.marco_function_clienttype
      IS
      -- 0 - not found
      -- 1 - small business
      -- 2 - corporate
      -- 3 - individual
       FUNCTION f_clienttype
         (cid number
         RETURN NUMBER;
    END;
    CREATE OR REPLACE PACKAGE BODY creator.marco_function_clienttype
    IS
    FUNCTION f_clienttype
         (ccid number)
         RETURN NUMBER
    IS
        Us NUMBER;
    Begin
    --officialtype = 2 - corporate, officialtype = 3 - individual
    select ct.officialtype into Us1
    from contragenttype ct, contragent d
    where d.id = ccid and ct.cid = d.contragenttypeid;
    IF Us1 = 3 THEN
    select '3' as t into Us from dual;
    ELSE
    --ENTERPRISETYPE.id = 910 - small business
    select dd.enterprisetypeid into Us2
    from contragent dd
    where dd.id = ccid ; 
    IF Us2 = 910 THEN
    select '1' as t into Us from dual;
    ELSE
    select '2' as t into Us from dual;
    END IF;
    END IF;
    Return nvl(Us,0);
    END;
    END;
    /

  • How to define function within for loop pls help?????

    Hi this is the problem i have a class, and within that class there is an actionPerformed function, in this class i also create an instance of another class, this other class also contains an actionPerformed function, which wis executed if a jButton has been pressed, when I try to place this actionPerfromed function within a for loop of a function i get an error saying illegal start of experssion, and that the class should be defined abstract as it does not define actionPerformed, when i take it out of the for loop it compliles fine, i need the function to be placed within the for loop because it needs to know the variable of the for loop, is there anyway around this? Thanks, below is the code:
    public class DisplayTransitions extends JFrame implements ActionListener
    public void add()
    for(int i = 0; i < char2.size(); i ++)
    mPanel.add(tim[i] = new JButton("Time"));
    tim.addActionListener(this);
    public void actionPerformed(ActionEvent ae)
         if (ae.getSource() == tim[i])
              timeIncr();

    This is your for loop using an anonymous inner class for the listener:
                for (int i = 0; i < char2.size(); i++) {
                    mPanel.add(tim[i] = new JButton("Time"));
                    tim.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    if (ae.getSource() == tim[i]) {
    timeIncr();
    Learn more about anonymous inner classes from a good Java book or the Java tutorial (try http://java.sun.com/docs/books/tutorial/java/javaOO/QandE/nested-answers.html).

  • Bean not found within scope error

    I am getting the error "bean jspbean not found within scope error". I am using JBuilder 5.0. I thought that I had set up my paths and placed my code in the correct directories but it seems that I am missing something. I was developing in Visual Age for Java then ported my code into JBuilder. The code ran in VA but I can't get it to compile & run in JBuilder. This is why I think that I'm missing a path somewhere. Please HELP!! I have been trying different things and nothing seems to work.
    My ClassPath in it:
    d:\MySource\BannerTracker;.
    My java files are located in:
    d:\MySource\BannerTracker\src\com\seqtek\pplsi\banner
    My class files are being compiled in:
    d:\MySource\BannerTracker\classes\com\seqtek\pplsi\banner
    AND
    d:\MySource\BannerTracker\defaultroot\WEB-INF\classes\com\seqtek\pplsi\banner
    JBuilder has the following paths set
    Output Path = d:\MySource\BannerTracker\classes
    Backup Path = d:\MySource\BannerTracker\bak
    Working Dir = d:\MySource\BannerTracker
    Source = d:\MySource\BannerTracker\src
    My JSP files are accessed by JBuilder in the d:\MySource\BannerTracker\defaultroot directory.
    My JSP code snippet:
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.http.*" %>
    <%@ page import="javax.servlet.jsp.*" %>
    <HTML>
    <HEAD>
    <jsp:useBean id="jspbean" type="com.seqtek.pplsi.banner.BannerRptBean" scope="request" />
    <jsp:setProperty name="jspbean" property="login" param="login" />
    </jsp:useBean>
    ... HTML code for my form...
    <font face="Arial" size=2><B>Select Month:</B>
    <%= jspbean.showMonths() %>
    <P>
    <B>Select View:</B>
    <%= jspbean.showViews() %>
    <P>
    <B>Select Banner:</B>
    <%= jspbean.showBanners() %>
    </font>
    ...submit and end HTML tags.
    Thanks in advance for your help!
    Tracey

    OK. Here is the top portion of my JSP. And below that I have the created java file. I hope you can see something that I can't. This is so very strange.
    JSP FILE
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.http.*" %>
    <%@ page import="javax.servlet.jsp.*" %>
    <%@ page language="java" import="com.seqtek.pplsi.banner.*" %>
    <HTML>
    <HEAD>
    <jsp:useBean id="jspbean" class="com.seqtek.pplsi.banner.BannerRptBean" scope="request" />
    <jsp:setProperty name="jspbean" property="login" param="login" />
    CREATED JAVA
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import java.io.PrintWriter;
    import java.io.IOException;
    import java.io.FileInputStream;
    import java.io.ObjectInputStream;
    import java.util.Vector;
    import org.apache.jasper.runtime.*;
    import java.beans.*;
    import org.apache.jasper.JasperException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import com.seqtek.pplsi.banner.*;
    public class _0002fBannerRpt_0002ejspBannerRpt_jsp_15 extends HttpJspBase {
        // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(9,0);to=(9,90)]
        // end
        static {
        public _0002fBannerRpt_0002ejspBannerRpt_jsp_15( ) {
        private static boolean _jspx_inited = false;
        public final void _jspx_init() throws JasperException {
        public void _jspService(HttpServletRequest request, HttpServletResponse  response)
            throws IOException, ServletException {
            JspFactory _jspxFactory = null;
            PageContext pageContext = null;
            HttpSession session = null;
            ServletContext application = null;
            ServletConfig config = null;
            JspWriter out = null;
            Object page = this;
            String  _value = null;
            try {
                if (_jspx_inited == false) {
                    _jspx_init();
                    _jspx_inited = true;
                _jspxFactory = JspFactory.getDefaultFactory();
                response.setContentType("text/html;charset=8859_1");
                pageContext = _jspxFactory.getPageContext(this, request, response,
                   "", true, 8192, true);
                application = pageContext.getServletContext();
                config = pageContext.getServletConfig();
                session = pageContext.getSession();
                out = pageContext.getOut();
                // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(0,0);to=(1,0)]
                    out.write("\r\n");
                // end
                // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(1,36);to=(2,0)]
                    out.write("\r\n");
                // end
                // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(2,41);to=(3,0)]
                    out.write("\r\n");
                // end
                // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(3,40);to=(4,0)]
                    out.write("\r\n");
                // end
                // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(4,62);to=(9,0)]
                    out.write("\r\n\r\n\r\n<HTML>\r\n<HEAD>\r\n");
                // end
                // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(9,0);to=(9,90)]
                    com.seqtek.pplsi.banner.BannerRptBean jspbean = null;
                    boolean _jspx_specialjspbean  = false;
                     synchronized (request) {
                        jspbean= (com.seqtek.pplsi.banner.BannerRptBean)
                        pageContext.getAttribute("jspbean",PageContext.REQUEST_SCOPE);
                        if ( jspbean == null ) {
                            _jspx_specialjspbean = true;
                            try {
                                jspbean = (com.seqtek.pplsi.banner.BannerRptBean) Beans.instantiate(this.getClass().getClassLoader(), "com.seqtek.pplsi.banner.BannerRptBean");
                            } catch (Exception exc) {
                                 throw new ServletException (" Cannot create bean of class "+"com.seqtek.pplsi.banner.BannerRptBean");
                            pageContext.setAttribute("jspbean", jspbean, PageContext.REQUEST_SCOPE);
                    if(_jspx_specialjspbean == true) {
                // end
                // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(9,0);to=(9,90)]
                // end
                // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(9,90);to=(10,0)]
                    out.write("\r\n");
                // end
                // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(10,0);to=(10,65)]
                    JspRuntimeLibrary.introspecthelper(pageContext.findAttribute("jspbean"), "login", request.getParameter("login"), request, "login", false);
                // end
                // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(10,65);to=(35,40)]
                    out.write("\r\n\r\n\r\n<SCRIPT LANGUAGE=\"JavaScript\">\r\n  function assignVal() {\r\n\tif (JspForm.month.options[JspForm.month.selectedIndex].value == \"\") {\r\n\t\talert(\"You must select a month for your report.\");\r\n\t\treturn false;\r\n\t} else {\r\n\t\tif (JspForm.view.options[JspForm.view.selectedIndex].value == \"\") {\r\n\t\t\talert(\"You must select a view for your report.\");\r\n\t\t\treturn false;\r\n\t\t} else {\r\n\t\t\tJspForm.action = \"/BannerServlet?cmd=display\";\r\n\t\t}\r\n\t}\r\n}\r\n</SCRIPT>\r\n\r\n<TITLE>\r\nPrePaid Legal Inc. Banner Reporting\r\n</TITLE>\r\n</HEAD>\r\n<BODY>\r\n<FORM method=\"post\" name=\"JspForm\" onSubmit=\"assignVal();\">\r\n<INPUT TYPE=\"hidden\" NAME=\"login\" VALUE=");
                // end
                // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(35,43);to=(35,72)]
                    out.print(request.getAttribute("login"));
                // end
                // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(35,74);to=(47,0)]
                    out.write(">\r\n\r\n\r\n<H3>\r\nBanner Reporting\r\n</H3>\r\n\r\n<table width=500><tr><td><font face=\"Arial\" size=2>\r\nSelect from the criteria below to generate a report listing of the number of hits for your banners. Select a month and a report view. You can only report for the previous three (3) months worth of data. Select \"ALL\" from the months to get all 3 months worth of data in the report.\r\n</font></td></tr></table>\r\n<P>\r\n<font face=\"Arial\" size=2><B>Select Month:</B>\r\n");
                // end
                // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(47,3);to=(47,25)]
                    out.print( jspbean.showMonths() );
                // end
                // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(47,27);to=(50,0)]
                    out.write("\r\n<P>\r\n<B>Select View:</B>\r\n");
                // end
                // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(50,3);to=(50,24)]
                    out.print( jspbean.showViews() );
                // end
                // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(50,26);to=(53,0)]
                    out.write("\r\n<P>\r\n<B>Select Banner:</B>\r\n");
                // end
                // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(53,3);to=(53,26)]
                    out.print( jspbean.showBanners() );
                // end
                // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(53,28);to=(61,0)]
                    out.write("\r\n</font>\r\n<INPUT TYPE=\"submit\" NAME=\"Go\" VALUE=\"GO\">\r\n</FORM>\r\n</BODY>\r\n</HTML>\r\n\r\n\r\n");
                // end
            } catch (Exception ex) {
                if (out.getBufferSize() != 0)
                    out.clearBuffer();
                pageContext.handlePageException(ex);
            } finally {
                out.flush();
                _jspxFactory.releasePageContext(pageContext);

  • Grant execute any function or package

    Hi,
    Does the below command give execute priviliges on functions and packages too ?
    grant execute any procedure to <user>;
    When i give same for fucntion it gives following error,
    SQL> grant execute any function to user2;
    grant execute any function to user2
    ERROR at line 1:
    ORA-00990: missing or invalid privilege
    Thanks.

    EXECUTE ANY PROCEDURE grants permission to all procedures and all functions, whether stand alone or packaged.
    Hopefully, you're well aware of this, but the various ANY privileges, like EXECUTE ANY PROCEDURE, are exceptionally powerful. You want to be very cautious about granting those privileges because they can introduce a number of security holes.
    Justin

  • ORA 28817 PLSQL function returned an error . when Access instance apex 4 2

    Hello,
    I have just upgraded from apex 4.1 to apex 4.2. Everything is fine except for this error that I get when I try to access Instance Setting on the Admin App (localhost/apex/apex_admin)
    ORA-28817: PL/SQL function returned an errorWhat could be the problem ?? How can we fix it ..
    I am working on Win server 2012 machine .. apex 4.2 with apex listener 2 deployed on Glassfish 3.1.2.
    Best Regards,
    Fateh

    Hello Fateh,
    we are already aware of that problem, although it is not yet present on our Known Issues webpage. The reason for this error is that the new installation overwrites an instance-wide encryption key. Values in the instance preferences that were encrypted with the old value (the SMTP password and the wallet password) are invalid after the upgrade and decryption causes this error. As a work around, you can use the apex_instance_admin package to overwrite the invalid passwords.
    The following code shows how decryption throws ORA-28817:
    SYS@a411> select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual;
    select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual
    ERROR at line 1:
    ORA-28817: PL/SQL function returned an error.
    ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
    ORA-06512: at "SYS.DBMS_CRYPTO", line 44
    ORA-06512: at "APEX_040200.WWV_FLOW_CRYPTO", line 89
    ORA-06512: at "APEX_040200.WWV_FLOW_INSTANCE_ADMIN", line 239You can fix this by entering new passwords:
    SYS@a411> exec apex_instance_admin.set_parameter('SMTP_PASSWORD','my smtp password');
    PL/SQL procedure successfully completed.
    SYS@a411> exec apex_instance_admin.set_parameter('WALLET_PWD','my wallet password');
    PL/SQL procedure successfully completed.
    SYS@a411> select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual;
    APEX_INSTANCE_ADMIN.GET_PARAMETER('SMTP_PASSWORD')
    my smtp password
    1 row selected.Regards,
    Christian

  • Calling function within function as parameter

    We're planning to switch from MS-OLEDB to Oracle OLEDB and are expecting several troubles.
    One of these is that MS supports calling functions with another function within whilst Oralce does not?
    Example (works fine with MS):
    {? = call *<FUNCTION_1>* ( ?, ?, *<FUNCTION_2>* ( ?, ?, ? ) + 1, ?, 1 )}
    This raises ORA-01036: Variablenname/-nummer ungültig with Oracle's OLEDB.
    Any ideas?
    Thanks in advance!
    Edited by: user617919 on 04.11.2011 01:28

    Hi,
    Whenever you have a problem, please post a complete test script that people can run to re-create the problem and test their ideas. In this case, include complete CREATE PACKAGE and CREATE PAGKAGE BODY statements, CREATE TABLE and INSERT statements for any tables needed, some test calls to the the package, and the results you want from those test calls gibven that data.
    Always say which versin of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}
    LostNoob wrote:
    --Calculate salary minus before tax deductions
    FUNCTION sal_mns_btd (emp_no IN NUMBER)
    RETURN NUMBER
    IS
    tot_mns_btd Number;
    BEGIN
    SELECT e.sal - bef_tax_ded(bef_ded_tot)
    INTO  tot_mns_btd
    FROM  emp
    WHERE empno = emp_no;
    RETURN tot_mns_btd;
    END sal_mns_btd;
    If bef_tax_ded is a function in the same package, then what you posted is a correct way to call it.
    What is bef_ded_tot? If it's a NUMBER column in emp, then what you posted makes sense. If bef_ded_tot is a local variable inside some other function, then it doesn't make sense.. How to do what you want depends on what you want, and I can't tell you how to do it unless I understand what you want.
    Also, the table alias e isn't defined. It doesn't look like you need a table alias.

  • BRF+ Deleting functions within object nodes

    Hi Experts,
    We are a large FMCG company and are implementing SAP Master Data Governance module for managing our material master data.
    Hence, we have chosen BRF+ as the business rule engine to drive SAP MDG. SAP MDG version is EHP5
    To create a ruleset, I initially create an object node within the 'Trigger tab' in the catalog. This object node is created with a naming convention DERIVE_ENTITY_ATTRIBUTE. I have then successfully created a function within the object and defined a ruleset as well.
    Now if I delete the object node; it gets deleted from the trigger function tab. However if I create a new object node with a similar function, the system does not allow me to create the function as it throws a warning message stating that the function still exists.
    Hence I wanted to know HOW DO I DELETE THE FUNCTION if the Object node for that function has already been deleted?
    Is there any option to search the function and delete it?
    Thanks in advance
    Edited by: Reenav on Nov 29, 2011 12:29 PM

    Hi Carsten,
    Where do you actually restore an object though?  I don't see a button on the UI. 
    I have deleted an object by mistake, but since I don't have versioning turned on I cannot do a version restore.  However I can still see the deleted object since it's only logically deleted?
    If you do not have versioning turned on is it then impossible to restore?
    Thanks,
    Lee

Maybe you are looking for

  • Issue on transporting a Request to quality

    HI, i have created a Function module(FM) . for that FM i have created a BOR in SWO1. I created a  TR for the function module. but while releasing it on development it said 'It is locked by a TR D01k990678'(that means somebody has created a TR earlier

  • Vendor issue line item

    Hi, I ran the report FBL1n for vendor line item display for open item.after ran this report open line item was display .here 10 document line item show..But when i click on the document for display the entry it show the error Document abc company cod

  • How to show limited items based on a custom field

    Is there a way to show only web app items based on the custom date field? For example, i want the module to only show web app item(s) whose "event date" is "today"....  ?? Help please!

  • Harddrive backup or External casing

    My 5th generation iPod 30gb, appeas to be broken, it could be logic board, harddrive, battery or a combination, am attempting to back up the harddrive is there an easy way to do this or alternatively would it be possible to turn the harddrive into an

  • Help! Can I tranfer app. not using a firewire?

    Hi, I just was in an Apple store today and I bought the MacBook Pro, but now I am trying to set up, and it says to transfer files I need a Firewire cord? Also there doesn't seem to be an option to just transfer some applications/files...is this right