Blocking my name

i want to sykpe with someone i do no know.  I do not want my name to appear on the page that they see.  how do i take my name off of outgoing skype?
Is it possible to set up a new account using initials and a new skype name?   I tried this but when it comes to dragging the skype into applications it wants to replace my old skype or it will not acknowledge the new one i just down loaded.
i tried trashing my skype and starting over but the old everything comes up anyway.   
please HELP

Tomorrow call AppleCare and ask to be transferred to the account security team.

Similar Messages

  • Emails being blocked for name space mining

    Hello All
    Once of our clients email domain is blocked by Microsoft because it detected a name space mining attack coming from the public IP assigned to the client.
    We have already reported this to MS support but without any luck. All they sent are a generic script based answer asking us to rectify the issue from our end but based on the information I have I’m not sure if we can get this rectified on our end.
    Basically all this started when the client sent a mass email. They have been sending this mass email for the last 2-3 years but one this instance emails to several Hotmail users were not getting delivered and following is the start of the email delivery
    process.
    2014-01-29T22:44:08.843Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,2,192.168.0.5:27944,65.54.188.94:25,<,"220 BAY0-MC2-F42.Bay0.hotmail.com Sending unsolicited commercial or bulk e-mail to Microsoft's computer network is prohibited.
    Other restrictions are found at http://privacy.microsoft.com/en-us/anti-spam.mspx. Wed, 29 Jan 2014 14:44:43 -0800 ",
    2014-01-29T22:44:08.843Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,3,192.168.0.5:27944,65.54.188.94:25,>,EHLO client server.com,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,4,192.168.0.5:27944,65.54.188.94:25,<,250-BAY0-MC2-F42.Bay0.hotmail.com (3.19.0.77) Hello [Client IP],
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,5,192.168.0.5:27944,65.54.188.94:25,<,250-SIZE 36909875,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,6,192.168.0.5:27944,65.54.188.94:25,<,250-PIPELINING,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,7,192.168.0.5:27944,65.54.188.94:25,<,250-8bitmime,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,8,192.168.0.5:27944,65.54.188.94:25,<,250-BINARYMIME,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,9,192.168.0.5:27944,65.54.188.94:25,<,250-CHUNKING,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,10,192.168.0.5:27944,65.54.188.94:25,<,250-AUTH LOGIN,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,11,192.168.0.5:27944,65.54.188.94:25,<,250-AUTH=LOGIN,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,12,192.168.0.5:27944,65.54.188.94:25,<,250 OK,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,13,192.168.0.5:27944,65.54.188.94:25,*,18243,sending message
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,14,192.168.0.5:27944,65.54.188.94:25,>,MAIL FROM:<[email protected]> SIZE=534310,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,15,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,16,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,17,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,18,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,19,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,20,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,21,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,22,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,23,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,24,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,25,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,26,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,27,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,28,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:08.937Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,29,192.168.0.5:27944,65.54.188.94:25,>,RCPT TO:<[email protected]>,
    2014-01-29T22:44:09.030Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,30,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] OK,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,31,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,32,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,33,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,34,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,35,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,36,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,37,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,38,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,39,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,40,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,41,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,42,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,43,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,44,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,45,192.168.0.5:27944,65.54.188.94:25,<,250 [email protected] ,
    2014-01-29T22:44:09.311Z,Windows SBS Internet Send Client server,08D0D8C0D237FAC7,46,192.168.0.5:27944,65.54.188.94:25,>,BDAT 512633 LAST,
    After the last of the line then the client exchange server has tried every 2 minutes for the next 2 days and eventually failed because MS blocked the IP addresses.
    Microsoft is not providing us any information and asking us to repeatedly to resolve the issue at our end but I don’t know why the exchange server never managed to deliver the email messages because all those Hotmail email addresses are legitimate and live
    email addresses.
    What does BDAT * LAST means? This is the last SMTP command sent/received before client s exchange server started a new communication attempt.
    What are the changes that we can do to the client server in order to avoid similar issues in the future?
    Thanks
    Dhanushka

    Hi,
    I am afraid you still need to contact MS support to fix this issue.
    Thanks,
    Simon Wu
    TechNet Community Support

  • BPM error at BLock step name

    hello experts,
    i am working on BPM scenario,
    in that i have few block steps..... one of block step, the step name is displaying the error.
    saying that the step name is already exists.
    but i have changed, then also it displaying the same error.
    can any body help me in this regard??

    Delete the block and recreate it. It will automatically assign it a unique name.
    Regards,
    Prateek

  • Caller ID blocking MY NAME on all calls I make

    I have an account, TV, Internet, Voice.   I want to know how much it would cost me (added on to my bill every month,to have my Name (caller ID) blocked on all calls.

    Probably not the cause but if there are two identical contacts listed in the phone it could be that causing it. The same thing happened to me when I sync'd between PC suite and phone. I had some settings wrong and it doubled some contacts up.
    Is that an N95 in your pocket or are you just pleased to see me?!?
    Life's too important to take seriously.
    Nokias I've owned 3210, 3310, 6100, 7650, 6600, 6680, 6630, N80, N95
    I'm a 26 year old boy BTW

  • Dynamically access item names from plsql block?

    hi folks - is it possible to access the block/item names inside a form, from a plsql block within the form? does that make sense, probably not, it's gone 5pm and my brains fried today.
    I want to try and control access to various items from within a back end table. Then in the form startup, I wanted to loop through the item names, fire them through to a check_access() function, and display or hide them depending on the result.
    does that sound possible, to get the item names at runtime, or do I have to hard code each item name I want to pass to the function?
    ps. forms 10g
    thanks.

    yes! check it out:
    Looping Through Items in a Data Block

  • How to use same DFF for two different forms with :BLOCK.field reference

    Hi,
    Can anyone suggest how to use the same dff in two different forms by using :BLOCK.field reference.
    Scenario is the same DFF is referenced by two forms, viz. Form-1 & Form-2.
    Form-1 Reference Field is :BLOCK.field name, but the same block is not available in Form-2, which throws an error while opening it.
    Any pointers please.
    Thanks,

    In the environment I currently have access to do not have similar setup.
    Let say you setup the DFF1 default value to $HEADER.customer_name, the name of the DFF is CUSTOMER_NAME, description can be anything.
    In DFF2, default value should be a SQL, where you can reference the DFF1. For example, SELECT DECODE($FLEX.CUSTOMER_NAME, 'ABC', 1, 'DEF', 2, NULL) FROM dual
    In this case, you can reference the DFF1.

  • Non-Database Item Sort Using Multiple Block Values

    I need to sort the result set of a block based on a calculated item. I found several messages addressing this, however they all speak to using the columns from within the same block as input variables to the function used to calculate the non-database column value.
    My problem is that I need to use values from a different block as input variables. I have not found a way to use them since I need to use the full block.column syntax. Forms does not like this and always thows an error right at the period(.). I need to do this because the column names are the same in each block. the function compares the column values and changes the record instance background a different color based based on how many of the column pairs match. Each block is mutually exclusive from each other and doing a accurate join is not really possible.
    I tried renaming the block column name to something unique, however I get a variable not bound error when I try to use it in the order by function even though their values are in the top most block.
    For Example:
    First Block. Contains a list of cases that need to be worked because the automated process could not find a valid provider based on the values received. This list is created by a background process.
    Table: CASE_MAIN
    TIN
    CASE_ID
    FCLTY_CM
    MEDICARE_CM
    Unrelated Second Block (i.e., no join). It uses the TIN value in the first block to get a list of all of the providers for the TIN associated with the Case so that a person can assign the correct Provider to the case (A TIN has a provider and address associated with it). As a result there is no link to the results of this table and the CASE_ID. That's what the users needs to do manually
    Table: PROVIDER_MAIN
    FCLTY
    MEDICARE
    I need to take the values in the first block and compare them in the second block so that I can recolor the background based on matching logic in the function below.
    order by clause = get_vals( ''||:FCLTY_CM||''
    ,''||:MEDICARE_CM||''
    ,fclty
    ,medicare) desc
    I am able to do the coloring within the form easily, however I need to order them by how many values match exactly so the ones that match to most value pairs show at the top. Hence ordering by the result of the function. I return a 0,1, or 2 based on the matches. 0 for none and 2 for both.
    I cannot create a view because the sources of the information I need to compare are NOT related to each other, yet. that is what the application is designed to do. I have a case without a
    provider assigned, but I have a tax id number that possible identifies the provider. I use this TIN to query the provider table for all of the possible providers under that TIN. As a result there is no link between the case information and provider information. The goal is to get this list compare the values from the target information and put the most likely matches on top, with
    the ones with the most matches first. I can create a function many ways that takes in various parameters. For example Case ID and Provider Id and query the records in subselects
    individually like so;
    select count(*)
    from (select fclty, medicare from case_main where case_id p_case_id) cm
    ,(select fclty, medicare from provider_main where prv_id = p_prv_id) pm
    where cm.fclty = pm.fclty
    and cm.medicare = pm.medicare
    If the number is greater than zero I know I have a match with that provider and I can sort accoringly. I can also pass in the target information from case_main and the provider inforation from provider_main and then do an if/then statement for comparing. Then I can use this function to create a column value for each record and then use the same reference to the function in the order by clause to order by that value.
    The problem comes in trying to reference the case_id or target information from a different block than where the fucntion needs to be used. I get a variable bound not error message. What am I missing here. Why can I not reference a uniquely named block item as a input variable to a function in a different block? Does Forms first figure out what it needs to retrieve and then executes the SQL for each block in isolation, or does the first block's result set get retrieved, then the second, third, etc. Based on the message i am getting I would suspect the former since it appears their is no value in subsequent blocks. If so is there anyway around this? thanks.

    Don't quite understand your problem completely. But this might help. I sure hope your Provider_Main is a single-record block ...otherwise, how would you supply a list of values of FCLTY and MEDICARE to the function that does the sorting? Be awere, too, that the order-by is processed by the server, and NOT by Forms.
    Assuming it is a single-record block, you can put the values into parameters:
    :Parameter.Fclty := :Provider_Main.Fclty;
    :Parameter.Medicare := :Provider.Medicare;
    Execute_Query;
    And your order-by clause would be
    get_vals( ''||:FCLTY_CM||'',''||:MEDICARE_CM||'',
    :Parameter.Fclty,
    :Parameter.Medicare) desc
    By the way, the first line of your order-by looks strange. Shouldn't it be:
    get_vals( FCLTY_CM || ',' || MEDICARE_CM,
    or even better, get_vals should take in 4 parameters:
    get_vals(Fclty_cm, Medicare_cm, :parameter.Fclty, :parameter.Medicare)

  • Why named parameter can't be used multiple times in PL/SQL block in JDBC

    with the following PL/SQL block, when I run int in JDBC, I get an error,
    it says, The number of parameter names does not match the number of registered parameters.
    if all named parameters are used only once, then my program works fine.
    My old program uses Oracle Forms to run the attached PL/SQL block correctly, I just want to run them in JDBC without more efforts, I don't want to rewrite all PL/SQL blocks.
    Does oracle driver support this case? why the PL/SQL block can work in Oracle Forms but failed in JDBC?
    Can we have an another solutions to avoid rewriting the PL/SQL block to stored procedure?
    if I use following SQL:
    BEGIN if :q is null then :q := 'X'; else :q := 'Y'; end if; END;
    , Using java program:
    import java.sql.*; public class RunPLSQLBlock { public static void main(String s[]) throws SQLException { String URL = "jdbc:oracle:thin:@192.168.11.199:1521:TIBSTEST"; Connection con = null; try { Class.forName("oracle.jdbc.driver.OracleDriver"); con = (Connection) DriverManager.getConnection(URL, "FBP1DEV", "FBP1DEV"); String SQL = "BEGIN  if :q is null then  :q := 'X'; else :q := 'Y'; end if; END;"; CallableStatement stmt = con.prepareCall(SQL); stmt.registerOutParameter("q", Types.VARCHAR); stmt.setString("q", "A"); stmt.execute(); } catch (Exception e) { e.printStackTrace(); } finally { if (con != null) { con.close(); } } } }
    in the coding, only "q" registered, I got:
    java.sql.SQLException: The number of parameter names does not match the number of registered praremeters at oracle.jdbc.driver.OracleSql.setNamedParameters(OracleSql.java:314) at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:10096) at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:5693) at RunPLSQLBlock.main(RunPLSQLBlock.java:28)
    now, tried to register 3 indexes, changed fragments are below.
    import java.sql.*; public class RunPLSQLBlock { public static void main(String s[]) throws SQLException { String URL = "jdbc:oracle:thin:@192.168.11.199:1521:TIBSTEST"; Connection con = null; try { Class.forName("oracle.jdbc.driver.OracleDriver"); con = (Connection) DriverManager.getConnection(URL, "FBP1DEV", "FBP1DEV"); String SQL = "BEGIN  if :q is null then  :q := 'X'; else :q := 'Y'; end if; END;"; CallableStatement stmt = con.prepareCall(SQL); stmt.registerOutParameter(1, Types.VARCHAR); stmt.registerOutParameter(2, Types.VARCHAR); stmt.registerOutParameter(3, Types.VARCHAR); stmt.setString(1, "A"); stmt.execute(); } catch (Exception e) { e.printStackTrace(); } finally { if (con != null) { con.close(); } } } }
    now error changed to:
    java.sql.SQLException: ORA-01006: bind variable does not exist at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:400) at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:926) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:200) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:543) at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:208) at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1416) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1757) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:4372) at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:4595) at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:10100) at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:5693) at RunPLSQLBlock.main(RunPLSQLBlock.java:26)
    , now tried register only 1 position like below,
      CallableStatement stmt = con.prepareCall(SQL);   stmt.registerOutParameter(1, Types.VARCHAR);   stmt.setString(1, "A");   stmt.execute();
    , it says:
    java.sql.SQLException: Missing IN or OUT parameter at index:: 2 at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2177) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:4356) at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:4595) at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:10100) at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:5693) at RunPLSQLBlock.main(RunPLSQLBlock.java:26)
    , now let try a OK case, which use all named parameters only once. coding like below, SQL and Java listed below.
    BEGIN if :q is null then :r := 'X'; else :s := 'Y'; end if; EXCEPTION   WHEN NO_DATA_FOUND THEN     NULL; END;
    import java.sql.*; public class RunPLSQLBlock { public static void main(String s[]) throws SQLException { String URL = "jdbc:oracle:thin:@192.168.11.199:1521:TIBSTEST"; Connection con = null; try { Class.forName("oracle.jdbc.driver.OracleDriver"); con = (Connection) DriverManager.getConnection(URL, "FBP1DEV", "FBP1DEV"); String SQL = "BEGIN  if :q is null then  :r := 'X'; else :s := 'Y'; end if; END;"; CallableStatement stmt = con.prepareCall(SQL); stmt.registerOutParameter("q", Types.VARCHAR); stmt.registerOutParameter("r", Types.VARCHAR); stmt.registerOutParameter("s", Types.VARCHAR); stmt.setString("q", "A"); stmt.execute(); System.out.println("Q :" + stmt.getString("q")); System.out.println("R :" + stmt.getString("r")); System.out.println("S :" + stmt.getString("s")); } catch (Exception e) { e.printStackTrace(); } finally { if (con != null) { con.close(); } } } }
    , the case give us the following output:
    Q :A R :null S :Y
    2nd part, I also tried another scheme, to use 'execute immediate', test code attached below, it also have errors.
    begin execute immediate 'begin if :q is null then :q := ''X''; else :q := ''Y''; :r := ''Z''; end if; end;' using in out :q, out :r; end;
    , Java Code:
    import java.sql.*; public class RunDynamicSQL { public static void main(String s[]) throws SQLException { String URL = "jdbc:oracle:thin:@192.168.11.199:1521:TIBSTEST"; Connection con = null; try { Class.forName("oracle.jdbc.driver.OracleDriver"); con = (Connection) DriverManager.getConnection(URL, "FBP1DEV", "FBP1DEV"); String SQL ="begin execute immediate 'begin if :q is null then :q := ''X''; else :q := ''Y''; :r := ''Z''; end if; end;' using in out :q, out :r; end;"; CallableStatement stmt = con.prepareCall(SQL); stmt.registerOutParameter("q", Types.VARCHAR); stmt.registerOutParameter("r", Types.VARCHAR); stmt.setString("q", "A"); stmt.execute(); System.out.println("Q :" + stmt.getString("q")); System.out.println("R :" + stmt.getString("r")); } catch (Exception e) { e.printStackTrace(); } finally { if (con != null) { con.close(); } } } }
    , the output is, we can find when parameter 'q' is IN OUT mode, we can't get its final value:
    Q :null R :Z
    , now I tried my workaround, it works fine by using a temporary variable, now my named parameter is split to 2 roles, one is for IN, another is for OUT, now I can get final out value.
    declare q clob; r clob; begin q := ?; r := ?; execute immediate 'begin if :q is null then :q := ''X''; else :q := ''Y''; :r := ''Z''; end if; end;' using in out q, out r; ? := q; ? := r; end;
    , my test java code,
    import java.sql.*; public class RunDynamicSQL { public static void main(String s[]) throws SQLException { String URL = "jdbc:oracle:thin:@192.168.11.199:1521:TIBSTEST"; Connection con = null; try { Class.forName("oracle.jdbc.driver.OracleDriver"); con = (Connection) DriverManager.getConnection(URL, "FBP1DEV", "FBP1DEV"); String SQL ="declare q clob;r clob; begin q := ?; r := ?; execute immediate 'begin if :q is null then :q := ''X''; else :q := ''Y''; :r := ''Z''; end if; end;' using in out q, out r; ? := q; ? := r; end;"; CallableStatement stmt = con.prepareCall(SQL); stmt.registerOutParameter(3, Types.VARCHAR); stmt.registerOutParameter(4, Types.VARCHAR); stmt.setString(1, "A"); stmt.setString(2, "A"); stmt.execute(); System.out.println("Q :" + stmt.getString(3)); System.out.println("R :" + stmt.getString(4)); } catch (Exception e) { e.printStackTrace(); } finally { if (con != null) { con.close(); } } } }
    , the output is expected,
    Q :Y R :Z
    Database:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    JDBC Driver, extracted from ojdbc6_g.jar/META-INF/MANIFEST.MF :
    Created-By: 1.5.0_30-b03 (Sun Microsystems Inc.)
    Implementation-Vendor: Oracle Corporation
    Implementation-Title: JDBC debug
    Implementation-Version: 11.2.0.3.0
    Repository-Id: JAVAVM_11.2.0.3.0_LINUX_110823
    Specification-Vendor: Sun Microsystems Inc.
    Specification-Title: JDBC
    Specification-Version: 4.0
    Main-Class: oracle.jdbc.OracleDriver
    JDK:
    java version "1.7.0"
    Java(TM) SE Runtime Environment (build 1.7.0-b147)
    Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
    Edited by: jamxval on 2013-3-22 2:01PM (UTC+08:00), Give full test java program and SQL, added environment/API level; Attached another problem.
    Edited by: jamxval on 2013-3-26 17:57 (UTC +08), Adjust code style

    Hi, thanks for your response, now I see, the named parameter is for stored procedure only, for PL/SQL block we name it placeholder name.
    After cast my java.sql.CallableStatement to oracle.jdbc.OracleCallableStatement, I can find setStringAtName,
    now, I have only one question:I can't find corresponding methods for registerOutputParameter, how we fetch output value?
    I tried to callableStatement.getString("q"); it reports errors, but there are no ordinal binding in my source code, does placeholder names doesn't support OUT mode?
    Java:
    CallableStatement stmt = con.prepareCall("BEGIN  if :q is null then  :r := 'X'; else :s := 'Y'; end if; END;");
    oracle.jdbc.OracleCallableStatement call = (oracle.jdbc.OracleCallableStatement) stmt;
    call.registerOutParameter("q", Types.VARCHAR);
    call.registerOutParameter("r", Types.VARCHAR);
    call.registerOutParameter("s", Types.VARCHAR);
    call.setStringAtName("q", "A");
    call.setStringAtName("r", "A");
    call.setStringAtName("s", "A");
    call.execute();
    System.out.println("Q :" + call.getString("q"));
    </Java>
    <output>
    java.sql.SQLException: 不允许的操作: Ordinal binding and Named binding cannot be combined!
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.OracleCallableStatement.getString(OracleCallableStatement.java:2834)
         at RunPLSQLBlock.main(RunPLSQLBlock.java:33)
    </output>by the way, in my below-mentioned SQL 'problematic', when my code uses 'execute immediate' and use placeholder names in IN OUT mode, we always get NULL value (i.e. ':q'), but we can get final value of ':r' when ':r' is OUT mode only; now I get a workaround attached in below-mentioned 'my workaround' block, which split the IN OUT roles to 2 parts, it can work now;
    It seems that the difference between 'problematic' and 'my workaround' imply that there are something work unexpectedly when the driver process the placeholder names, because 'my workaround' and ':r in problematic case' make sure the 'execute immediate' returned output values correctly, unluckly driver layer can't get return values.
    <SQL name = 'problematic'>
    begin
         execute immediate 'begin if :q is null then :q := ''X''; else :q := ''Y''; :r := ''Z''; end if; end;'
         using in out :q, out :r;
    end;
    </SQL>
    <SQL name='my workaround'>
    declare     
         q clob;
         r clob;
    begin
         q := ?;
         r := ?;
         execute immediate 'begin if :q is null then :q := ''X''; else :q := ''Y''; :r := ''Z''; end if; end;' using in out q, out r;
         ? := q;
         ? := r;
    end;Edited by: EJP on 26/03/2013 14:14

  • Problem with ForEach block in BPM

    Hi,
    I have a scenario as follows:
    Collecting Idocs and send them separately via file channel (Does not make so much sense but I want to get used using the forEach Block)
    Loop (as long as "control" != false)
    Fork
    1. branch: Wait step 1 minute and container operation assign "control" = false (if no more idoc is received, loop stops after 1 minute)
    2. branch: receive step with correlation, container operation with append to multiline message, container operation assign "control" = true
    Mapping
    multiline message to single line message (same interface)
    ForEach Block
    Send Step with single line message
    My problem:
    x idocs get collected by the BPM and my file channel posts x idocs to the directory but it is always the same idoc and not x different ones.
    Any idea on that?
    Regards.
    Oliver.

    Yes, that's the blog I used.
    I have used the same interface for Send/Receive Steps, the Multi-Line Element and the Current Line Element. I restricted the Current Line Element to the block. Any other definition would not show up in the dropdown list, anyway.
    These are my settings for the Block:
    Step Name: Block1
    Description: [Blank]
    Mode: ForEach
    MultiLine Element: Idoc_Multi
    CurrentLine: Idoc_Local
    End Condition, Exceptions and Local Correlations: [Blank]
    Here are the settings for the Send Step:
    Step Name: Send1
    Description: [Blank]
    Mode: Asynchronous
    Create New transaction: [Not marked]
    Message: Idoc
    Ack: None
    Receiver from: Send Context
    All others: [Blank]
    I don't see any error?
    Regards.
    Oliver.

  • Where clause in Data Block

    I'm running Forms 6i client/server.
    I have defined a where clause in the Property Palette for a Data Block.
    What I like to do is to extend the where clause with a subquery, but
    how can this be done? I mean, should I put the code in a trigger, which trigger?
    Regards
    Roar

    simple where clause with sub_query
    My block has name is dc_gmod. In the where pallete I put the text (and the all is work good!!!):
    exists
    select 1 from ttt.xxxxx_table v
    where (dc_gmod.cd_gmod = v.cd_gmod)
    and
    (instr(:fst.tmp_nm,cd_place,1) > 0
    or
    cd_place IN
    (select U_UNIT from ttt.xxxxxxxxx_tabe
    where RG_U = :QA.RG_UNIT_RUN
    AND SID = :QA.SID
    AND SERIAL# = :QA.SERIAL
    1.The dc_gmod.cd_gmod - is full name my block_name and item_name.
    2. The ttt.xxxxx_table is full name of my table what is source for block dc_gmod
    3. The cd_place is ITEM of BLOCK dc_gmod

  • How to set on block query only

    dear all
    i want to set on block update,inset,delete as property false,
    and set query property true, and i want in same time enable to user to set values to execute query on this value.
    help me plz
    Message was edited by:
    Hshihadah

    ** Built–in: SET_BLOCK_PROPERTY
    ** Example: Prevent future inserts, updates, and deletes to
    ** queried records in the block whose name is
    ** passed as an argument to this procedure.
    PROCEDURE Make_Block_Query_Only( blk_name IN VARCHAR2 )
    IS
    blk_id Block;
    BEGIN
    /* Lookup the block’s internal ID */
    blk_id := Find_Block(blk_name);
    ** If the block exists (ie the ID is Not NULL) then set
    ** the three properties for this block. Otherwise signal
    ** an error.
    IF NOT Id_Null(blk_id) THEN
    Set_Block_Property(blk_id,INSERT_ALLOWED,PROPERTY_FALSE);
    Set_Block_Property(blk_id,UPDATE_ALLOWED,PROPERTY_FALSE);
    Set_Block_Property(blk_id,DELETE_ALLOWED,PROPERTY_FALSE);
    ELSE
    Message(’Block ’||blk_name||’ does not exist.’);
    RAISE Form_Trigger_Failure;
    END IF;
    END;

  • How to disable Initialization block in 10g

    Hi ,
    I want to disable Initialization blocks in 10g. , How to do it.
    Rgds,
    Ma

    Hi,
    In your RPD--> right click u r init block variable name
    and right-click an existing initialization block in the Variable Manager and choose Disable or Enable. This option enables you to change this property without opening the initialization block dialog
    Thanks
    Deva

  • Capital letter in name of organizational unit readed by AD connector

    Hello,
    I have problem with capital letter in list of available organizational unit in AD.
    I use following code for get list of OU in AD in form:
    <Field name='slctOrganizationalUnitUzivatele2'>
                    <Display class='Select' action='true'>
                        <Property name='title' value='Nastavte organizacni jednotku:'/>
                        <Property name='allowedValues'>
                            <block>
                                <invoke name='listResourceObjects' class='com.waveset.ui.FormUtil'>
                                    <invoke class='com.waveset.session.SessionFactory' name='getServerInternalContext' />
                                    <s>OrganizationalUnit</s>
                                    <s>AD</s>
                                    <null/>
                                    <s>false</s>
                                 </invoke>
                            </block>
                        </Property>
                        <Property name='sorted'>
                            <Boolean>true</Boolean>
                        </Property>
                    </Display>
                </Field>If AD is connected via Resource adapter list of OU is in normal letter. E.g.:
    <List>
    <String>OU=Obchodní odd&#283;lení,OU=Zam&#283;stnanci,DC=test,DC=local</String>
    <String>OU=Ekonomické odd&#283;lení,OU=Zam&#283;stnanci,DC=test,DC=local</String>
    </List>If AD is connected via Resource connector (connector server) list of OU is in capital letter.
    <List>
    <String>OU=OBCHODNÍ ODD&#282;LENÍ,OU=ZAM&#282;STNANCI,DC=TEST,DC=LOCAL</String>
    <String>OU=EKONOMICKÉ ODD&#282;LENÍ,OU=ZAM&#282;STNANCI,DC=TEST,DC=LOCAL</String>
    </List>I need to use connector server with normal letter.
    Version of Active Directory Connector is 1.0.0.4521.
    Any ideas?
    Petr

    So,
    my solution was use AD resource adapter. This adapter solve some another problems that I have with AD connetor.
    Petr

  • Icon name as Global variable

    Hi,
    In my forms i can set a single static icon name for a button. Is it possible to give the icon name as global variable name to change the icon of the button dynamically by changin the value of the global variable.
    Using set_item_property i can change. But it seems tough to implement in my forms.
    Please Help!
    Balaji.M

    What's the problem with set_item_property??
    You can use the global variables to store the name of icon file to associate with the button.
    But, ultimately you'll have to use the set_item_property to reflect the changes dynamically.
    set_item_property(<block.item name>,ICON_NAME,:global.<icon file name>);
    I don't think, by just setting global variables you can get your requirement to work.
    You'll have to use set_item_property, if you want to change the icon file name dynamically.
    Please mark answer as helpful / correct, if it helps you
    Navnit

  • Dependency detection for simulation of models including ucb block(s)

    Running sim() function for the models that include a ucb block will automatically
    invokes the make utility to build the required shared object "simucb.so.1.0".
    If the main C file (which is indicated by the block "file name" parameter) of ucb
    block is changed then the make utility will be invoked before the simulation is started.
    This works fine if the ucb only requires a single C file. However, if the ucb requires other
    C files (or libraries) the sim() does not detect the dependencies correctly.
    To illustrate the problem, consider that a ucb requires ucb.c as the main file
    and also requires file1.c and file2.c (which are indicated in the Makefile).
    simucb.so.1.0 will be re-built each time that ucb.c file is changed. However, if
    file1.c or file2.c are changed the sim() will not build the simucb.so.1.0 eventhough the makefile
    recognizes simucb.so.1.0 to be dependent on file1.c and file2.c,- The sim() will
    not call the make utility in the case of changes to file1.c and file2.c.
    Any suggestion to resolve this issue?

    Hi,
    We are using xmath 7.1.4 on Solaris.
    Just to clarify, the multiple C-files are all related to a single ucb file and cannot be separated.
    To illustrates the problem, I attach a zip file including:
    1- example.xmd: sysbld model
    2- usr01.c: ucb c code
    3- myfile.c: implementation of getGain() function required by usr01.c.
    4- makefile
    You can see that sim() will rebuild the simucb.so.1.0 when usr01.c is changed and will not
    rebuild the simucb.so.1.0 when myfile.c is changed.
    Note that calling unix "make" utility from the command line will always work correctly.
    Thanks
    Attachments:
    example.zip ‏7 KB

Maybe you are looking for

  • Music wont play without headphones

    my iphone 3gs wont play music without headphones, when I unplug my headphones the entire volume bar disappears, it also will not play text tones unless i have it on vibrate, and it wont play sound in apps either. It will still ring when people call t

  • Help! New windows, jump menus and maximizing

    Hello all. I am new to Dreamweaver, and I have been having trouble with some things that should be easy. 1) How can I force a new window to maximize to the screen size? 2) I am using a Jump Menu, and what I want to do is open a new window from the ju

  • OS restore fails in Link and over Wireless

    I support mobility for my company.  I have received a BlackBerry Q10 that a user was not able to activate. When I tried to connect to Link to restore the OS, I received a message stating setup had not been completed on the device, disconnect and comp

  • Printersharing over my local network does not work anymore

    I cannot figure it out. 'all of a sudden' (so it seems) my 2 printers in my network do not print printjobs from other macs in my network. It dit work. Nothing really changed, exept some system-updates. print-share is on, awake out of sleep is on (net

  • Once you install mac os x lion does it delete everything

    can someone tell me my answer thank you