Please help for current-time

Hi dear friends. I wonder how to get the current system time and date within an applet code. Please help me. Barbaros.

This should help you with getting some help:
http://forum.java.sun.com/thread.jsp?forum=31&thread=271751

Similar Messages

  • Can anyone please help? Every time I start up my imac OSX 10.6 desktop my Aperture 3 programme opens up without being requested. Is it possible to stop this from happening and only open by using the desktop icon? Thank you for any assistance.

    Can anyone please help? Every time I start up my imac OSX 10.6 desktop my Aperture 3 programme opens up without being requested. Is it possible to stop this happening and only allow Aperture to open by using the desktop icon? Thank you for any assistance anyone may be able to give.
    Best regards, John.

    because there is absolutely no mention in my System Preferences of either Users & Groups nor Start Up Items.
    John,
    William's solution was much easier - just for completeness sake: The preferences panes to edit your startup items moved between the Mac OS X updates: I forgot that the "Users&Groups" preference pane used to be called "Users" in Mac OS X 10.6; it is the panel that you use to create new User accounts; and earlier systems had a separate preferences panel "Login" to enable and to disable the applications that are launched at login. Both are now combined in "Users&Groups". Sorry for sending you on a wild goose chase with the wrong Preferences panel.
    Regards
    Léonie

  • Please help for my iphone 4 unlock

    please help for my iphone 4 unlock

    Apple store said my iPhone 4 had an LCD issue and that is why slide to unlock is frozen.  My warranty ran out so it would cost approx. $150 to repair it he said.  Time for a new phone but not sure I want another iPhone now.

  • HT1476 My charging cables keep malfunctioning! Please help @ £15 a time having an iphone is getting exspensive

    My charging cables keep malfunctioning! Please help @ £15 a time having an iphone is getting exspensive

    If the cable that came with it went bad with in a year, it's still under warranty. Have it replaced.

  • Please Help for the Query

    Please Help for the Query
    Hi frds please help me for the below query.What I want to do is to pull out the data from below table :-
    date ticker indicator
    03/13/2008 3IINFOTECH -8
    03/18/2008 3IINFOTECH -4
    03/25/2008 3IINFOTECH -5
    03/27/2008 3IINFOTECH -3
    as such :-
    date ticker indicator
    03/13/2008 3IINFOTECH -8
    03/25/2008 3IINFOTECH -5
    03/27/2008 3IINFOTECH -3
    Here I want to find the Trend i.e either asc or desc order from the lowest indicator.
    In the above sample data -8, -4, -5, -3 out of which I want the asc order data -8, -5, -3 and exclude -4 data.Because the asc order -8, -5, -3 will not follow.
    So I want the data
    date ticker indicator
    03/13/2008 3IINFOTECH -8
    03/25/2008 3IINFOTECH -5
    03/27/2008 3IINFOTECH -3

    SQL> CREATE TABLE BORRAME(FECHA DATE, INDICA VARCHAR2(100));
    Tabla creada.
    SQL> INSERT INTO BORRAME VALUES(TO_DATE('03/13/2008','MM/DD/YYYY'), '3IINFOTECH -8');
    1 fila creada.
    SQL> INSERT INTO BORRAME VALUES(TO_DATE('03/18/2008','MM/DD/YYYY'), '3IINFOTECH -4');
    1 fila creada.
    SQL> INSERT INTO BORRAME VALUES(TO_DATE('03/25/2008','MM/DD/YYYY'), '3IINFOTECH -5');
    1 fila creada.
    SQL> INSERT INTO BORRAME VALUES(TO_DATE('03/27/2008','MM/DD/YYYY'), '3IINFOTECH -3');
    1 fila creada.
    SQL> COMMIT;
    Validación terminada.
    SQL>
    SQL> SELECT FECHA, INDICA
      2  FROM BORRAME
      3  WHERE SUBSTR(INDICA,INSTR(INDICA,'-',1)+1,LENGTH(INDICA)) <> '4'
      4  ORDER BY SUBSTR(INDICA,INSTR(INDICA,'-',1)+1,LENGTH(INDICA)) DESC;
    FECHA                                                                
    INDICA                                                               
    13/03/08                                                             
    3IINFOTECH -8                                                        
    25/03/08                                                             
    3IINFOTECH -5                                                        
    27/03/08                                                             
    3IINFOTECH -3                                                        
                    

  • Hello. Please help. for unknow reasons, I am not getting any of my mail on anything, nothing on my iphone, my outlook or even when I log into icloud online ???   any one else having troble??   please help   I need my mail

    Hello. Please help. for unknow reasons, I am not getting any of my mail on anything, nothing on my iphone, my outlook or even when I log into icloud online>???
    any one else having troble??
    please help
    I need my mail

    Hello, DragonStudios. 
    Thank you for visiting Apple Support Communities.
    Here are a couple troubleshooting resources I would recommend when experiencing issues with iCloud Mail.
    iCloud: Troubleshooting iCloud Mail
    http://support.apple.com/kb/TS4002
    iCloud: Account troubleshooting
    http://support.apple.com/kb/TS3988
    Cheers,
    Jason H.

  • Network Connection Was Refused - PLEASE help me this time...

    To be perfectly honest, I'm quite irritated. I want answers. And if there is no answer, I want someone to tell me such. I've posted three times before, twice on someone else's topic, and once on my own. This is my last ditch effort. PLEASE help me. I really enjoy the use of your product, and I don't want to give up on it.
    Many people are having issues with their network connection. I know I'm not the only one. Some diagnostics say the connection to iTunes works, but for some reason still won't open the music store. In my case, it says it isn't.
    I went to my parents' house this holiday and stole their broadband high speed internet connection, hoping that the new connection might make iTunes work. Nope. So now I'm fresh out of ideas.
    Here is the information I posted on an earlier post below. PLEASE help me answer my question. I'm really missing my iTunes. It's been a long time since I've had it, and there are a bunch of songs I plan to download if I am able to get it back. Thank you so much!
    I downloaded the newest version of iTunes, without realizing that there were so many problems with it. The installation went off without a hitch, and it was able to open up my library. However, whenever I try to access the music store, the message "iTunes could not connect to the Music Store. The network connection was refused. Make sure your network settings are correct and your network connection is active, then try again" appeared. I tried redownloading it, but that didn't solve the problem. I got frustrated, and finally was able to download 7.01. That didn't work either. So I downloaded the older version that I used to have. The same error message appeared. NOW I'm mad, because I can't even get the older version back. I want my older version back... I never had a problem with your products before, but right now I'm slowly losing faith. PLEASE help me.
    I can't run a diagnostics on my network connection anymore, but I had posted my first diagnostics on the old post, referencing back to when I was still trying to fix the newest version. I'll post the diagnostics below the post.
    I have a wireless connection, since I live in an apartment complex right now. I didn't have the same connection type when I first downloaded iTunes a year or more ago, but I was able to work iTunes under this connection before I uploaded.
    Please help me. I want my music store back.
    Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
    Dell Computer Corporation Inspiron 1150
    iTunes 7.0.2.16
    Current user is an administrator.
    Network Adapter Information
    Adapter Name: {7BAB081D-F40E-4AF6-97A6-1C8958EEC8C7}
    Description: Dell Wireless WLAN 1350 WLAN Mini-PCI Card - Packet Scheduler Miniport
    IP Address: 172.17.0.73
    Subnet Mask: 255.255.255.0
    Default Gateway: 172.17.0.1
    DHCP Enabled: Yes
    DHCP Server: 172.17.0.1
    Lease Obtained: Wed Nov 08 16:19:50 2006
    Lease Expires: Thu Nov 09 04:19:50 2006
    DNS Servers: 172.17.0.1
    24.196.64.39
    24.196.64.40
    Network Connection Information
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    SSL 3.0 Support: Enabled
    TLS 1.0 Support: Disabled
    Firewall Information
    Windows Firewall is off.
    Connection attempt to Apple web site was unsuccessful.
    The network connection was refused.
    Connection attempt to iTunes Store was unsuccessful.
    The network connection was refused.
    Secure connection attempt to iTunes Store was unsuccessful.
    The network connection was refused.

    this is atleast the third theard i have found on this... SOMEONE AT APPLE PLEASE HELP.. I HAVE THE SAME PROBLEM!!!

  • Please help for create index for table in db2

    Dear Consultants,
    Our Production Servers have a problem, when user input materials in t-code VA01, the check data take long time to complete.
    I was create a incident on SAP Portal and they recommended to create a new index on table:
    VBRP in the order MANDT, AUBEL and AUPOS.
    but we don't sure how to do this, please help us !
    The SAP consultant message:
    " It was identified that there is one SQL statement which was
    responsible for the majority of the time spent during the VA01
    transaction. It accounted for around 49 seconds.
    The SQL statement was analysed and a selectivity analysis was carried
    out on certain fields specified in the WHERE clause. The statement is
    currently executed via a full table scan which is not an efficient
    access. It is therefore recommended to create a new index on table
    VBRP in the order MANDT, AUBEL and AUPOS. "
    Our System Landscape IS : DEV -> QAS -> Production and DataBase server : db2 9.07 , SAP ECC 6.0, windows server 2008
    Thanks and Best Regards,
    Hien Nguyen

    Hi Deepak,
    Could you please tell me the places where can i post the message for ABAPer, i don't know to choose : ABAP Development , ABAP Testing and Troubleshoo… or somthing else
    Sorry for my amateur !
    Thanks you very much.
    Best Regards,
    Hien

  • Please help for using perform in SAP script

    As subject.
    My sap script code as below:
    /: PERFORM GET_CHAMT_DATE IN PROGRAM ZRAP004
    /:USING    &SPELL-WORD&
    /:CHANGING &SPELL-WORD&
    /:ENDPERFORM
    My program ZRAP004 code as below:
    FORM get_chamt_date USING u_iword TYPE spell-word
                       CHANGING u_oword TYPE spell-word.
    CONCATENATE u_iword '&#20803;&#25972;'(t01) INTO u_oword.
    endform.
    This form is for check printing.
    It's by standard function 'F110' to excute check printing.
    But when i finished this transaction. System return error message as below:
    <b>This routine contains 2 formal parameters, but the current call
    contains 4 actual parameters.</b>
    Please help. Thanks a lot!!

    Hiii
    PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
    /:USING &EKKO-EBELN&
    /:CHANGING &CDECENT&
    /:ENDPERFORM
    The report :
    REPORT zkrpmm_perform_z1medruck .
    DATA : BEGIN OF it_input_table OCCURS 10.
           INCLUDE STRUCTURE itcsy.
    DATA : END OF it_input_table.
    déclaration de la table output_table contenant les
    variables exportées
    DATA : BEGIN OF it_output_table OCCURS 0.
           INCLUDE STRUCTURE itcsy.
    DATA : END OF it_output_table.
    DATA : w_ebeln LIKE ekko-ebeln,
          w_vbeln LIKE vbak-vbeln,
          w_zcdffa LIKE vbak-zcdffa.
    FORM CDE_CENT
    FORM cde_cent TABLES input output.
    it_input_table[] = input[].
    it_output_table[] = output[].
    READ TABLE it_input_table INDEX 1.
    MOVE it_input_table-value TO w_ebeln.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
               input  = w_ebeln
          IMPORTING
               output = w_ebeln.
    SELECT SINGLE zcdffa FROM ekko
    INTO w_zcdffa
    WHERE ebeln = w_ebeln.
    it_output_table-name = 'CDECENT'.
    MOVE w_zcdffa TO it_output_table-value.
    MODIFY it_output_table INDEX 1.
    output[] = it_output_table[].
    ENDFORM.

  • Please help for my unexpected shutdown W510!!!

    Since I used my W510 ( 43192NU with Windows 7 32bit ) from April 2010, I did experienced with unexpected shutdown. First, I thought it was my improperly use. But now, it shutdown unexpectedly even 3 times a week. Did anyone got the same experienced? Please help me...

    I have the same exact problem!!!
    And it drives me crazy.
    It happens only when my battery is charging (that is, it's not at 100%).
    If the battery is fully charged, and I'm on AC power as well, all works o.k., but as soon as the battery is low (say 50%) and I plug it in, and put some load on the system (using VMware a lot) it runs for a while then dies instantaneously. No gradual shut-down - just shuts off.
    It just happened again a few minutes ago, and I lost an important VMware file.
    I called Lenovo support a few months ago, and they wanted me to send the laptop in for a week to make sure there is really a problem.
    Any other input/comments would be appreciated.
    BTW, I purchased the W510 in February 2010.

  • Help for weblogic timer

    Please help on timer.
    Thanks a lot.
    Xiao
    I got the following error when try to use weblogic timer:
    <NT Performance Pack> NATIVE: created IoCompletionPort successfully.
    IoPort=0x00
    00024c
    Tue Aug 08 12:24:55 PDT 2000:<I> <WebLogicServer> WebLogic Server
    started
    Tue Aug 08 12:25:09 PDT 2000:<I> <ListenThread> Adding address:
    localhost/127.0.
    0.1 to licensed client list
    Tue Aug 08 12:25:09 PDT 2000:<I> <NT Performance Pack> Allocating: '2'
    NT reader
    threads
    Tue Aug 08 12:25:14 PDT 2000:<I> <CliCon-#|myserver|0.965762672267>
    Connection t
    o client for ClientContext - id: '#|myserver|0.965762672267', bound:
    'true', dea
    d: 'false' has been unexpectedly lost because
    weblogic.rjvm.PeerGoneException:
    - with nested exception:
    [java.net.SocketException: Connection reset by peer].
    Initiating hard disconnect.
    Tue Aug 08 12:25:14 PDT 2000:<I> <CliCon-#|myserver|0.965762672267>
    Removing Cli
    entContext - id: '#|myserver|0.965762672267', bound: 'false', dead:
    'false' beca
    use of hard disconnect timeout
    the code for the timer
    * CONFIDENTIAL, Copyright (C) 2000
    * This file is copyrighted by Uhere and should not be reproduced
    * in any form and/or distributed without prior consent of Uhere.
    package com.uhere.ubs.service;
    * Timer for auction
    * @author Xiao Zhou
    * @version 1.0
    * @since 1.0
    import weblogic.time.common.*;
    import weblogic.common.*;
    import weblogic.jndi.*;
    import javax.naming.*;
    import java.util.*;
    import com.uhere.ubs.utility.*;
    public class AuctionTimer implements ScheduleDef, TriggerDef {
    private T3ServicesDef services;
    private final int AUCTION_SETUPED = 0;
    private final int AUCTION_STARTED = 1;
    private final int AUCTION_CLOSING = 2;
    private long startTime = 0, endTime = 0, timeIncrement = 0;
    private int auctionItemId = 0, status = 0;
    public void setServices(T3ServicesDef services) {
    this.services = services;
    * ScheduleDef Interface
    * @param ParamSet
    * @exception ParamSetException
    * @since 1.0
    public void scheduleInit(ParamSet ps) throws ParamSetException {
    startTime = ps.getParam("startTime").asLong();
    endTime = ps.getParam("endTime").asLong();
    timeIncrement = ps.getParam("timeIncrement").asLong();
    auctionItemId = ps.getParam("auctionItemId").asInt();
    * TriggerDef interface
    * @param ParamSet
    * @exception ParamSetException
    * @since 1.0
    public void triggerInit(ParamSet ps) throws ParamSetException {
    * This method is only called internally by Weblogic schedule when
    the action will be called next time
    * @param long time
    * @return time for next triggger
    * @since 1.0
    public long schedule(long t) {
    System.out.println("signal schedule1");
    if (status == AUCTION_SETUPED) {
    System.out.println("signal schedule2");
    return startTime;
    else if (timeIncrement == 0 || t < endTime - timeIncrement) {
    status = AUCTION_CLOSING;
    return endTime;
    else
    return t + timeIncrement;
    * This method is only called internally by Weblogic scheduled
    action
    * @param Schedulable
    * @since 1.0
    public void trigger(Schedulable sched) {
    System.out.println("signal schedule3");
    if (status == AUCTION_SETUPED) {
    status = AUCTION_STARTED;
    System.out.println("start auction");
    else if (status == AUCTION_CLOSING) {
    System.out.println("close auction");
    else {
    System.out.println("signal auction");
    * external parties call this method to start the scheduled cycle of
    action.
    * @exception UBSException
    * @since 1.0
    * @param startTime
    * @param endTime
    * @param timeIncrement
    * @param auctionItemId
    public static void startTimer(long startTime, long endTime, long
    timeIncrement, int auctionItemId,
    String url) throws UBSException {
    try {
    System.out.println("signal startTime1");
    ParamSet schedParams = new ParamSet();
    schedParams.setParam("startTime", startTime);
    schedParams.setParam("endTime", endTime);
    schedParams.setParam("timeIncrement", timeIncrement);
    schedParams.setParam("auctionItemId", auctionItemId);
    Scheduler scheduler = new
    Scheduler("com.uhere.ubs.service.CommonTimer", schedParams);
    Trigger trigger = new
    Trigger("com.uhere.ubs.service.CommonTimer");
    ScheduledTriggerDef std =
    getT3Services(url).time().getScheduledTrigger(scheduler, trigger);
    std.schedule();
    System.out.println("signal startTime2");
    } catch (Exception e) {
    UBSException.handle(e, UBSException.OP_EXP);
    private static T3ServicesDef getT3Services(String wlUrl) throws
    javax.naming.NamingException {
    T3ServicesDef t3s;
    Hashtable env = new Hashtable();
    env.put(Context.PROVIDER_URL, wlUrl);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    weblogic.jndi.WLInitialContextFactory.class.getName());
    Context ctx = new InitialContext(env);
    t3s = (T3ServicesDef)ctx.lookup("weblogic.common.T3Services");
    ctx.close();
    return (t3s);
    client
    static public void testTimer() {
    try {
    long time = new Date().getTime();
    AuctionTimer.startTimer(time+5000,time+20000,0,0,url);
    catch (Throwable t) { t.printStackTrace(); }

    I've used a std timer in Java
    Try the following :
    private Timer timer; // The thread
    public void startTimer(){
    timer = new Timer();
    timer.schedule(closeConnection,1000*60,1000*120);
    then run startTimer whenever you wanna hit it...
    regards,
    Dag Norland,
    Donar AS, Norway
    "Xiao Zhou" <[email protected]> wrote in message
    news:[email protected]...
    Please help on timer.
    Thanks a lot.
    Xiao
    I got the following error when try to use weblogic timer:
    <NT Performance Pack> NATIVE: created IoCompletionPort successfully.
    IoPort=0x00
    00024c
    Tue Aug 08 12:24:55 PDT 2000:<I> <WebLogicServer> WebLogic Server
    started
    Tue Aug 08 12:25:09 PDT 2000:<I> <ListenThread> Adding address:
    localhost/127.0.
    0.1 to licensed client list
    Tue Aug 08 12:25:09 PDT 2000:<I> <NT Performance Pack> Allocating: '2'
    NT reader
    threads
    Tue Aug 08 12:25:14 PDT 2000:<I> <CliCon-#|myserver|0.965762672267>
    Connection t
    o client for ClientContext - id: '#|myserver|0.965762672267', bound:
    'true', dea
    d: 'false' has been unexpectedly lost because
    weblogic.rjvm.PeerGoneException:
    - with nested exception:
    [java.net.SocketException: Connection reset by peer].
    Initiating hard disconnect.
    Tue Aug 08 12:25:14 PDT 2000:<I> <CliCon-#|myserver|0.965762672267>
    Removing Cli
    entContext - id: '#|myserver|0.965762672267', bound: 'false', dead:
    'false' beca
    use of hard disconnect timeout
    the code for the timer
    >
    * CONFIDENTIAL, Copyright (C) 2000
    * This file is copyrighted by Uhere and should not be reproduced
    * in any form and/or distributed without prior consent of Uhere.
    >
    >
    >
    >
    package com.uhere.ubs.service;
    * Timer for auction
    * @author Xiao Zhou
    * @version 1.0
    * @since 1.0
    import weblogic.time.common.*;
    import weblogic.common.*;
    import weblogic.jndi.*;
    import javax.naming.*;
    import java.util.*;
    import com.uhere.ubs.utility.*;
    public class AuctionTimer implements ScheduleDef, TriggerDef {
    private T3ServicesDef services;
    private final int AUCTION_SETUPED = 0;
    private final int AUCTION_STARTED = 1;
    private final int AUCTION_CLOSING = 2;
    private long startTime = 0, endTime = 0, timeIncrement = 0;
    private int auctionItemId = 0, status = 0;
    public void setServices(T3ServicesDef services) {
    this.services = services;
    * ScheduleDef Interface
    * @param ParamSet
    * @exception ParamSetException
    * @since 1.0
    public void scheduleInit(ParamSet ps) throws ParamSetException {
    startTime = ps.getParam("startTime").asLong();
    endTime = ps.getParam("endTime").asLong();
    timeIncrement = ps.getParam("timeIncrement").asLong();
    auctionItemId = ps.getParam("auctionItemId").asInt();
    * TriggerDef interface
    * @param ParamSet
    * @exception ParamSetException
    * @since 1.0
    public void triggerInit(ParamSet ps) throws ParamSetException {
    * This method is only called internally by Weblogic schedule when
    the action will be called next time
    * @param long time
    * @return time for next triggger
    * @since 1.0
    public long schedule(long t) {
    System.out.println("signal schedule1");
    if (status == AUCTION_SETUPED) {
    System.out.println("signal schedule2");
    return startTime;
    else if (timeIncrement == 0 || t < endTime - timeIncrement) {
    status = AUCTION_CLOSING;
    return endTime;
    else
    return t + timeIncrement;
    * This method is only called internally by Weblogic scheduled
    action
    * @param Schedulable
    * @since 1.0
    public void trigger(Schedulable sched) {
    System.out.println("signal schedule3");
    if (status == AUCTION_SETUPED) {
    status = AUCTION_STARTED;
    System.out.println("start auction");
    else if (status == AUCTION_CLOSING) {
    System.out.println("close auction");
    else {
    System.out.println("signal auction");
    * external parties call this method to start the scheduled cycle of
    action.
    * @exception UBSException
    * @since 1.0
    * @param startTime
    * @param endTime
    * @param timeIncrement
    * @param auctionItemId
    public static void startTimer(long startTime, long endTime, long
    timeIncrement, int auctionItemId,
    String url) throws UBSException {
    try {
    System.out.println("signal startTime1");
    ParamSet schedParams = new ParamSet();
    schedParams.setParam("startTime", startTime);
    schedParams.setParam("endTime", endTime);
    schedParams.setParam("timeIncrement", timeIncrement);
    schedParams.setParam("auctionItemId", auctionItemId);
    Scheduler scheduler = new
    Scheduler("com.uhere.ubs.service.CommonTimer", schedParams);
    Trigger trigger = new
    Trigger("com.uhere.ubs.service.CommonTimer");
    ScheduledTriggerDef std =
    getT3Services(url).time().getScheduledTrigger(scheduler, trigger);
    std.schedule();
    System.out.println("signal startTime2");
    } catch (Exception e) {
    UBSException.handle(e, UBSException.OP_EXP);
    private static T3ServicesDef getT3Services(String wlUrl) throws
    javax.naming.NamingException {
    T3ServicesDef t3s;
    Hashtable env = new Hashtable();
    env.put(Context.PROVIDER_URL, wlUrl);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    weblogic.jndi.WLInitialContextFactory.class.getName());
    Context ctx = new InitialContext(env);
    t3s = (T3ServicesDef)ctx.lookup("weblogic.common.T3Services");
    ctx.close();
    return (t3s);
    client
    static public void testTimer() {
    try {
    long time = new Date().getTime();
    AuctionTimer.startTimer(time+5000,time+20000,0,0,url);
    catch (Throwable t) { t.printStackTrace(); }

  • Please help for ORA-02049 - Timeout error

    Hi All,
    we have got a reporting DB and 14+ Application DBs, the data is extracted from all the application databases (DBs) and dumped into the common tables of reporting database. While inserting and updating the common reporting tables the other jobs gets timeout error and fails. We daily face this failure problem (error: ORA-02049 - Timeout error distributed transaction waiting for lock) for almost 10-15 times.
    Can you please help me out in resolving and getting the permanent solution for this problem.
    Thanks in advance.

    Thanks Kamal,
    as mentioned above, I have got Oracle,Java,Unix environment. Autosys jobs are scheduled through out the day.
    Mechanism : Autosys job triggers the action at specified time, Unix code calls oracle packaged procedure, extracts data and puts into the common reporting table from this data java code formats the report output.
    There are separate reporting jobs for all instances though the report is same but for different locations(14 DB instances).
    and all these reporting jobs dump data into common reporting table, data can be differentiated on the hub or location.
    But if one job is running for first instance then second job waits for the lock and fails after 2 mins.
    I have to avoid this situation, I hold I am able to explain the situation.

  • SQL experts please help for a query

    I have following table1.
    What query can give the result as given below, SQL experts please help on this.
    TABLE1
    Event DATETIME
    in 2/JAN/2010
    out 2/JAN/2010
    in 13/JAN/2010
    out 13/JAN/2010
    in 5/JAN/2010
    out 5/JAN/2010
    RESULT REQUIRED FROM THE SQL QUERY
    COL1_IN COL2_OUT
    2/JAN/2010 2/JAN/2010
    13/JAN/2010 13/JAN/2010
    5/JAN/2010 5/JAN/2010

    I tried to help, but this puzzles me.
    Why is this not returning pre-selected set of rows, why it's doing some merge join cartezian ?
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL> select * from table1;
    EVENT      DATETIME
    in         2/JAN/2010
    out        2/JAN/2010
    in         13/JAN/2010
    out        13/JAN/2010
    in         5/JAN/2010
    out        5/JAN/2010
    6 rows selected.
    SQL> explain plan for
      2  with a as
    (select datetime from table1 where event='in'),
    b as
    (select datetime from table1 where event='out')
    select  a.datetime COL1_IN ,b.datetime COL2_OUT from a,b ;
    Explained.
    SQL> set wrap off
    SQL> set linesize 200
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 185132177
    | Id  | Operation            | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT     |        |     9 |   288 |     8   (0)| 00:00:01 |
    |   1 |  MERGE JOIN CARTESIAN|        |     9 |   288 |     8   (0)| 00:00:01 |
    |*  2 |   TABLE ACCESS FULL  | TABLE1 |     3 |    48 |     3   (0)| 00:00:01 |
    |   3 |   BUFFER SORT        |        |     3 |    48 |     5   (0)| 00:00:01 |
    |*  4 |    TABLE ACCESS FULL | TABLE1 |     3 |    48 |     2   (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
       2 - filter("EVENT"='in')
       4 - filter("EVENT"='out')
    Note
       - dynamic sampling used for this statement
    21 rows selected.
    SQL> with a as
    (select datetime from table1 where event='in'),
    b as
    (select datetime from table1 where event='out')
    select  a.datetime COL1_IN ,b.datetime COL2_OUT from a,b ;
    COL1_IN         COL2_OUT
    2/JAN/2010      2/JAN/2010
    2/JAN/2010      13/JAN/2010
    2/JAN/2010      5/JAN/2010
    13/JAN/2010     2/JAN/2010
    13/JAN/2010     13/JAN/2010
    13/JAN/2010     5/JAN/2010
    5/JAN/2010      2/JAN/2010
    5/JAN/2010      13/JAN/2010
    5/JAN/2010      5/JAN/2010
    9 rows selected.
    SQL>

  • Formula Variable for Current Time

    Friends,
    Is there any standard formula variable available to display Current Time in Report??..like we have 0F_ADAY to display current date..
    Thanks in advance..
    Regards,
    Yog

    I am not sure that standard fomula variable existed for the current time. But
    you can create a formula variable with customer exit processing type. Then write an exit with SY-UZEIT. you will get the current time.
    Hope it helps.
    Veerendra.

  • Problem|Install iTunes problem! help for first time using iPod touch (2G)

    Look i try to install the iTunes, but after press the install button, its write:
    "The installer ecountered errors before iTunes could be configured.
    Your system has not been modifited. To retry these operations at a later time, please run the installer again."
    What to do? ****!250 Dollar on this iPod, not for free! i must have it working.
    Please help me =]

    Have you seen this iPod 101 tutorial? You might want to bookmark it.
    http://www.apple.com/support/ipod/howto/

Maybe you are looking for