Problem in syntax

Hi All,
Please tell me what should i write in this :
DriverManager.registerDriver();
n Also tell me how to install jdbc driver for DB2. Please suggest me as i dont have any idea .
Thanks
Ashish

Read the documentation and instructions which is available at the download page of the DB2 driver at IBM site.
It might also be worth to go through the JDBC tutorial here at sun.com. [Google it|http://google.com/search?q=jdbc+tutorial+site:sun.com].

Similar Messages

  • Problem with syntaxes and structures in unicode

    1. i have a problem with syntax
    this is old syntaxes
    TRANSLATE c ...FROM CODE PAGE g1 ... TO CODE PAGE g2
    new systems should use this class instead of above
    CL_ABAP_CONV_IN_CE
    it reads data from a container and converts it to the system format.
    my old syntax is TRANSLATE header-id FROM CODE PAGE file_tab-codepage.
    i need to change to new one by using above class how to do it
    2. I have a structure are_buffer and i am working on upgrade of a old report , i have used a sap predefined structure callled arc_buffer from se11, now when i am using offset in one of the perform statement like
    PERFORM read_file USING handle_tab_wa-offset record_len
    CHANGING arc_buffer(record_len)
    error_handling
    p_message.
    but the system throws a error called ''the structure arc_buffer(record_length) does not start with character-type field''.
    i cannot change the structure becoz its sap standard structure .
    how to get out of this.

    Moderator message - Cross post locked
    Rob

  • Forms9i browser problem(Invalid Syntax)

    when ever i am running a form in browser there is a error Invalid syntax error
    and a string in browser is (http://%%20"http://P4-0055MH:8888/forms90/f90servlet?form=G:\FAMCTZRN.fmx&userid=STQC/STQC@impl&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES")
    Initially a (http://%%20") is added while running every form so i have to remove that much part a run the form then in runs(http://P4-0055MH:8888/forms90/f90servlet?form=G:\FAMCTZRN.fmx&userid=STQC/STQC@impl&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES")
    i have check the edit-preferences and done the setting as (http://P4-0055MH:8888/forms90/f90servlet) but the problem persists
    so plese tell me where is the problem (checked (http://%%20") in all files formsweb.config but not found
    in any one have solution please tell
    thanks

    Hi,
    This is note 238159.1 on Metalink HTTP://%%20 Gets Prefixed in URL, When Forms is Run from.
    PURPOSE
    When you try to run the Forms using the 9iDS in the new installation :
    http://%%20 gets prefixed to URL, when forms is run from Builder
    SCOPE & APPLICATION
    Here what needs to be done:
    Workaround 1
    ===============
    1. Exit the Builder and OC4J
    2. Open cauprefs.ora (located in the Oracle Home root directory)
    3. Locate the lines labeled "Forms.html ..."
    4. Make your changes here. Any values you do not want displayed in the
    Builder replace with (). Example below.
    5. Save the file and restart the Builder
    Example of a correct cauprefs.ora entry
    Forms.html = "http://myMachine:8888/forms90/f90servlet"
    Forms.html1 = ()
    Forms.html2 = ()
    Forms.html3 = ()
    Forms.html4 = ()
    Forms.html5 = ()
    The machine.domain name should NOT contain spaces. This is poor naming
    practice regardless of the use of Forms.
    Workaround 2
    ==============
    Go to the preferences dialog box and click on the Runtime tab.
    Set Web Browser (i.e, C:\Program Files\Internet Explorer\IEXPLORE.EXE) .
    Workaround 3
    =============
    Go to the preferences dialog box and click on the Runtime tab. Make
    sure your Application Server field is correct.
    Workaround 4
    ===============
    1. Go to the preferences dialog box and click on the Runtime tab and then
    make Application Server field Blank.
    Workaround 5
    ==============
    %20 is the escape for blank. Maybe you have a blank character in the
    runtime settings.
    Monica

  • Problem with Syntax Coloring (Syntax Colouring) in Xcode with Python

    I have a Python script with a bunch of doc strings. Doc strings are multi-line comments delimited by either triple single-quotes (''') or triple double-quotes ("""). When they appear as the first statement in a class, function, method or module, they are automatically set to the _doc_ member of the given class, function, method or module. This in turn allow that text to appear when the user types "help(myobj)" in the interpreter.
    My problem stems from the Syntax Coloring in XCode not detecting the end of some multi-line strings. The point at which this begins is random; it does not occur with the first multi-line string. Any syntax after the randomly offending multi-line string is colored as if it were part of the string and so syntax coloring is effectively deactivated for the rest of the file. There does not seem to be a way to get XCode to rescan, re-examine or reload the file and different installs of XCode's syntax coloring die at different places in the source. If there is no way to tell XCode to refresh / rescan a file, is there a way to set the syntax coloring stack depth?? Maybe the problem stems from too shallow a stack depth for the syntax coloring. Anyone have any ideas?
    Thanks!

    Actually, XCode seems to correctly color the file when all multi-line strings / doc strings are using triple-double-quotes ("""), but NOT with triple-single-quotes ('''). Because ''' is legitimate python for indicating a multi-line string, I think this may be a bug in the syntax coloring algorithm.

  • SQL Server 2005 Problem: Incorrect syntax near '{'

    hi,<br>
    <br>
    I am using SQL Server 2005 JDBC driver from Microsoft (sqljdbc_1.0.809.102_enu.exe), there are some problem when calling stored procedure from Database Control:<br>
    <br>
    The following exception flow when parameters of the stored procedure were wrapped to newline :<br>
    <br>
    <i>weblogic.jws.control.ControlException: ControlException on control test2005DBCtrl[Incorrect syntax near '{'.]</i><br>
    <br>
    Here is the method that generate the above exception:<br>
    <br>
    /**<br>
    * @jc:sql statement::<br>
    * {call P_dummyProcedure<br>
         *           <b>(<br>
         *           {intValue}, {value}<br>
    *           )</b> <br>
    * }::<br>
    */<br>
    void callStoreProcedure(int intValue, String value);<br>
    <br>
    But if the parameters were not wrap, the method work fine:<br>
    <br>
    /**<br>
    * @jc:sql statement::<br>
    * {call P_dummyProcedure<br>
         *           <b>( {intValue}, {value} ) </b><br>
    * }::<br>
    */<br>
    void callStoreProcedure(int intValue, String value);<br>
    <br>
    The above problem exist when I change from SQL Sever 2000 to 2005. Both methods is ok for SQL Server 2000 (both the driver from BEA and Microsoft)<br>
    Do any one got the above problem or know why?<br>
    <br>
    cheer ~
    <br>

    Wiz Cheng wrote:
    hi Joe,<br>
    <br>
    following is a snippet of the config.xml, please see if that cover what you want ~ <br>
    <br>
    config.xml<br>
    ----<br>
              <JDBCConnectionPool CapacityIncrement="5"<br>
    ?? ?? ?? DriverName="com.microsoft.sqlserver.jdbc.SQLServerXADataSource"<br>
    ?? ?? ?? InitialCapacity="10" MaxCapacity="100" Name="sql2005Pool"<br>
    ?? ?? ?? PasswordEncrypted="{3DES}lF9SivpaSCc=" Properties="user=sa"<br>
    ?? ?? ?? SupportsLocalTransaction="true" Targets="cgServer"<br>
    ?? ?? ?? TestConnectionsOnReserve="true" TestTableName="SQL Select 1"<br>
    ?? ?? ?? URL="jdbc:sqlserver://svr08006\\SQL2005:1533;databaseName=SBI"<br>
    ?? ?? ?? XASetTransactionTimeout="true" XATransactionTimeout="300"/><br>
    <br>
    <JDBCTxDataSource JNDIName="JNDI_SQL_2005" Name="JNDI_SQL_2005"<br>
    ?? ?? ?? PoolName="sql2005Pool" Targets="cgServer"/><br>
    <br>
    <br>
    Thanks ~ <br>
    WizOk, please recreate the pool, telling the console to use the BEA driver for MS.
    when it shows you the pool properties, it should show you a URL, something like:
    "jdbc:bea:sqlserver://......". Please then edit the URL to add this to the end:
    ;spyAttributes=(log=(file)spy.log, so the URL looks like
    jdbc:bea:sqlserver://......;spyAttributes=(log=(file)spy.log)
    Or just make the pool, and then edit the config file.
    You should then see the config entry look something like this:
    <JDBCConnectionPool CapacityIncrement="5"
    DriverName="weblogic.jdbcx.sqlserver.SQLServerDataSource"
    InitialCapacity="10" MaxCapacity="100" Name="sql2005Pool"
    PasswordEncrypted="{3DES}lF9SivpaSCc=" Properties="user=sa"
    SupportsLocalTransaction="true" Targets="cgServer"
    TestConnectionsOnReserve="true" TestTableName="SQL Select 1"
    URL="jdbc:bea:sqlserver://......"
    XASetTransactionTimeout="true" XATransactionTimeout="300"/>
    Then please alter the URL line so it's like:
    URL="jdbc:bea:sqlserver://......;spyAttributes=(log=(file)spy.log)"
    This will generate a file in the server directory called spy.log.
    Then when the server boots, please then run the code that would
    have caused the problem, as simply as possible, and then send
    me the spy.log file.
    thanks,
    Joe

  • Problem in syntax :- LEAVE TO SCREEN 0

    Hi Experts,
    I created a main program in se38.
    I called a screen 100(that is module pool program).
    in that i called dialog box. If i press ok in the dialog box i should come to screen 100
    but it is gooing to screen 1000 that is main program.
    Syntax i writen in dialog box is LEAVE TO SCREEN 0.
    plz reply as soon as possible.

    Hi,
    You should use CALL SCREEN '0100'.  It will take you to 100 screen.
    or
    You can use LEAVE TO SCREEN '0100'. It will LEAVE the current screen and take you to the screen 100.
    With Regards,
    Rupinder

  • Problem Recognizing syntax in Update Join Query

    Trying to run the query:
    UPDATE(
    SELECT t1.idn,t2.idn, t1.demo_value,t2.demo_value2
    FROM demo1 t1 JOIN demo2 t2 ON t1.idn = t2.idn
    )set demo_value = demo_value2;
    Gives an error:
    ORA-00933: SQL command not properly ended
    00933. 00000 - "SQL command not properly ended"
    *Cause:   
    *Action:
    I was not able to run this in 1.5 so I tried it in 2.1.0.62. I tried the query in TOAD and it worked fine and it works ok in SQL*Plus.
    The table definition is:
    create table demo1
    idn number,
    demo_desc varchar2(100),
    demo_value number
    create table demo2
    idn number primary key,
    demo_value2 number
    organization index;
    insert into demo1 (idn, demo_desc,demo_value)
    values (1,'test1',1);
    insert into demo1 (idn, demo_desc,demo_value)
    values (2,'test1',2);
    insert into demo1 (idn, demo_desc,demo_value)
    values (3,'test1',3);
    insert into demo2 (idn,demo_value2)
    values (1,5);
    insert into demo2 (idn,demo_value2)
    values (2,6);
    insert into demo2 (idn,demo_value2)
    values (3,7);
    commit;

    Right, seems to be a parser bug.
    As workaround, just type a space between the UPDATE and the parenthesis next to it.
    Have fun,
    K.

  • Problem with syntax in PL/SQL

    This doesnt seem to run.....
    declare
    re number;
    re5 number;
    cursor proct is select * from proc22;
    proctval proct%ROWTYPE ;
    cursor proct5 is select *from proc24;
    proctval5 proct5%ROWTYPE;
    begin
    open proct5;
    open proct;
    loop
    exit when proct%NOTFOUND;
    fetch proct into proctval;
    fetch proct5 into proctval5;
    if proct.symbol=proct5.symbol
    then
    re5:=proctval5.todaysprice-proctval5.previousprice5;
    re5:=re5/proctval.previousprice5;
    endif;
    end loop;
    close proct;
    close proct5;
    end;
    "The error states the following"
    end loop;
    ERROR at line 37:
    ORA-06550: line 37, column 5:
    PLS-00103: Encountered the symbol "LOOP" when expecting one of the following:
    if
    ORA-06550: line 44, column 0:
    PLS-00103: Encountered the symbol "end-of-file" when expecting one of the
    following:
    begin function package pragma procedure form external
    can u help me out with this...
    All tables are created so no issues abt that
    also i cant seem to write "create view" statements in the PL/SQL

    Hi,
    cursor proct is select * from proc22;
    cursor proct5 is select *from proc24;
    fetch proct into proctval;
    fetch proct5 into proctval5;
    if proct.symbol=proct5.symbolThat's strange to join two tables like this. You will have chance if you enter in your if condition.
    Why not create only one cursor with this join condition on the two tables ?
    re5:=re5/proctval.previousprice5;Furthermore, what do you make with r5 variable ? It seems nothing to do. Your proc does no much job.
    What do you want to achieve exactly ?
    Nicolas.

  • Problem with adding text to a syntax document

    Hello,
    I am trying to write an editor with syntax highlighting option.
    The syntax document works fine but on a slow computer
    after loading a huge document it is impossible to write fluently.
    I think the method highlightKeyword() is not the problem because it highlights still only one line.
    The problem seems to be the rootElement.Has anybody an idea how to make the rootElement faster
    working?
    I also tried to use threads (such as http://ostermiller.org/syntax/editor.html) for inserting text, but then the document is highlighted very slowly.
    Can anybody help me?
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    public class SyntaxTest extends DefaultStyledDocument
         Element rootElement;
         String wordSeparators = ",:;.()[]{}+-/*%=<>!&|~^@? ";
         Vector keywords = new Vector();;
         SimpleAttributeSet keyword;
         public SyntaxTest()
              rootElement= this.getDefaultRootElement();
              keyword = new SimpleAttributeSet();
              StyleConstants.setForeground(keyword, Color.blue);
              keywords.add( "abstract" );
              keywords.add( "boolean" );
              keywords.add( "break" );
              keywords.add( "byte" );
              keywords.add( "case" );
              keywords.add( "catch" );
              keywords.add( "char" );
              keywords.add( "class" );
              keywords.add( "continue" );
              keywords.add( "default" );
              keywords.add( "do" );
              keywords.add( "double" );
              keywords.add( "else" );
              keywords.add( "extends" );
              keywords.add( "false" );
              keywords.add( "final" );
              keywords.add( "finally" );
              keywords.add( "float" );
              keywords.add( "for" );
              keywords.add( "if" );
              keywords.add( "implements" );
              keywords.add( "import" );
              keywords.add( "instanceof" );
              keywords.add( "int" );
              keywords.add( "interface" );
              keywords.add( "long" );
              keywords.add( "native" );
              keywords.add( "new" );
              keywords.add( "null" );
              keywords.add( "package" );
              keywords.add( "private" );
              keywords.add( "protected" );
              keywords.add( "public" );      
              keywords.add( "return" );
              keywords.add( "short" );
              keywords.add( "static" );
              keywords.add( "super" );
              keywords.add( "switch" );
              keywords.add( "synchronized" );
              keywords.add( "this" );
              keywords.add( "throw" );
              keywords.add( "throws" );
              keywords.add( "true" );
              keywords.add( "try" );
              keywords.add( "void" );
              keywords.add( "volatile" );
              keywords.add( "while" );
         public void insertString(int offset, String str, AttributeSet a) throws BadLocationException
              super.insertString(offset, str, a);
              int startOfLine = rootElement.getElement(rootElement.getElementIndex(offset)).getStartOffset();
              int endOfLine = rootElement.getElement(rootElement.getElementIndex(offset+str.length())).getEndOffset() -1;
              //highlight the changed line
              highlightKeyword(this.getText(0,this.getLength()), startOfLine, endOfLine);
         public void remove(int offset, int length) throws BadLocationException
              super.remove(offset, length);
              int startOfLine = rootElement.getElement(rootElement.getElementIndex(offset)).getStartOffset();
              int endOfLine = rootElement.getElement(rootElement.getElementIndex(offset+length)).getEndOffset() -1;
              //highlight the changed line
              highlightKeyword(this.getText(0,this.getLength()), startOfLine, endOfLine);
         public void highlightKeyword(String content,int startOffset, int endOffset)
              char character;
              int tokenEnd;
              while (startOffset < endOffset)
                   tokenEnd = startOffset;
                   //find next wordSeparator
                   while(tokenEnd < endOffset)
                   character = content.charAt(tokenEnd);
                        if(wordSeparators.indexOf(character) > -1)
                             break;
                        else
                             tokenEnd++;                    
                   //check for keyword
         String token = content.substring(startOffset,tokenEnd).trim();
                        if(keywords.contains(token))
                   this.setCharacterAttributes(startOffset, token.length(), keyword, true);
         startOffset = tokenEnd+1;
         public static void main(String[] args)
              JFrame f = new JFrame();
              JTextPane pane = new JTextPane(new SyntaxTest());
              JScrollPane scrollPane = new JScrollPane(pane);
              f.setContentPane(scrollPane);
              f.setSize(600,400);
              f.setVisible(true);

    I don't think the root element is the problem. Syntax highlighting is just plain slow for a large file. Here is an example, you can use for comparison purposes, that does [url http://www.discoverteenergy.com/files/SyntaxDocument.java]syntax highlighting. It is very slow when loading large files into the text pane, but works reasonably when modifying the contents of the text pane.

  • BI 7.0 Infoset query open problem: query_tech_name_Fxx is not a valid char.

    Our BASIS transport our BW 3.5 queries to BI 7.0 system.  We can open all queries on the BI 7.0 box without problem except Infoset queries.  The Infoset is composed of two ODSs and when openning it BI 7.0 query designer, can not see any design element in the panes of Rows, Columns, Free Char. and etc., instead the error msg shows (in between two dashed lines below):
    Terminate: query_technical_name_Fxx is not a valid characteristic for InfoProvider [A122(BRAIN)]
    Diagnosis
    Customer enhancement RSR00002 or the implementation of BAdI RSR_OLAB_BADI delivers query_technical_name_Fxx as the characteristic to be calculated. 1. is, however, not a valid key figure for InfoProvider .
    System Response
    The information from query_technical_name_Fxx is ignored.
    Procedure
    Check the exit.
    Procedure for System Administration
    We've checked the enhancement RSR00002 and it's components and find they are all the same as our BW 3.5 system.  query_technical_name_Fxx is Company Code InfoObj. in one ODS and it's one of the key to join these two InfoSets.
    Any idea?
    Thanks

    hi Kevin,
    check if helps following oss note
    Note 983449 - Termin A122 1COLUMN no valid characteristic of infoprovider
    Symptom
    Termination A 122 Brain occurs when you test and generate a query. The system does not recognise the characteristic 1COLUMN.
    Other terms
    Query, condition, COB_PRO
    Reason and Prerequisites
    This problem is caused by a program error.
    Solution
    SAP NetWeaver 2004s BI
               Import Support Package 10 for SAP NetWeaver 2004s BI (BI Patch 10 or SAPKW70010) into your BI system. The Support Package is available once Note 914304 "SAPBINews BI 7.0 Support Package 10", which describes this Support Package in more detail, has been released for customers.
    In urgent cases, you can implement the correction instructions.
    You must first implement Notes 932065, 935140, 948389, 964580 and 969846, which provide information about transaction SNOTE. Otherwise, problems and syntax errors may occur when you deimplement some notes.

  • Problem of php scripts

    I am a new php user, I have a problem of the php scripts syntax in my detail_member.php and error message is showing that which I don't know how to fix , if you can help me who is a new php user and the first time user on this forum, I 'll be very grateful appreciate.
    Error message:Parse error: parse error in c:\program files\easyphp1-8\www\immanuel\public_html\member\detail_member.php on line 103
    Code:
    <?php require_once('../../Connections/icccon.php'); ?>
    <?php
    mysql_select_db($database_icccon, $icccon);
    $query_query_date = "SELECT * FROM member, timesheet WHERE member.memberID=timesheet.memberID";
    $query_date = mysql_query($query_query_date, $icccon) or die(mysql_error());
    $row_query_date = mysql_fetch_assoc($query_date);
    $totalRows_query_date = mysql_num_rows($query_date);
    $maxRows_query_date = 10;
    $pageNum_query_date = 0;
    if (isset($_GET['pageNum_query_date'])) {
    $pageNum_query_date = $_GET['pageNum_query_date'];
    $startRow_query_date = $pageNum_query_date * $maxRows_query_date;
    mysql_select_db($database_icccon, $icccon);
    $recordID = $_GET['recordID'];
    $query_query_date = "SELECT * FROM member WHERE memberID = $recordID";
    $query_limit_query_date = sprintf("%s LIMIT %d, %d", $query_query_date, $startRow_query_date, $maxRows_query_date);
    $query_date = mysql_query($query_limit_query_date, $icccon) or die(mysql_error());
    $row_query_date = mysql_fetch_assoc($query_date);
    if (isset($_GET['totalRows_query_date'])) {
    $totalRows_query_date = $_GET['totalRows_query_date'];
    } else {
    $all_query_date = mysql_query($query_query_date);
    $totalRows_query_date = mysql_num_rows($all_query_date);
    $totalPages_query_date = ceil($totalRows_query_date/$maxRows_query_date)-1;
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>detail_member</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="../styles/icccon.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <table>
    <tr>
    <td width="62%" nowrap class="m-time"><?php $row_query_date['Sunday']recordID=$row_query_date['Sunday'];?><br></td>
    <td width="38%" nowrap class="m-time">Delete</td>
    </tr>
    </table>
    </body>
    </html><?php
    mysql_free_result($query_date);
    ?>

    Followed your instruction, I have put the surrounding code tags of my php codes, hopfully it helps you to read and help me to figure out the problem of syntax on line103 which is:<td width="62%" nowrap class="m-time"><?php echo $row_query_date['Sunday'];recordID=$row_query_date['memberID'];?></td>
    <?php require_once('../../Connections/icccon.php'); ?>
    <?php
    mysql_select_db($database_icccon, $icccon);
    $query_query_date = "SELECT * FROM member LEFT JOIN timesheet ON member.memberID = timesheet.memberID";
    $query_date = mysql_query($query_query_date, $icccon) or die(mysql_error());
    $row_query_date = mysql_fetch_assoc($query_date);
    $totalRows_query_date = mysql_num_rows($query_date);
    $maxRows_query_date = 10;
    $pageNum_query_date = 0;
    if (isset($_GET['pageNum_query_date'])) {
      $pageNum_query_date = $_GET['pageNum_query_date'];
    $startRow_query_date = $pageNum_query_date * $maxRows_query_date;
    mysql_select_db($database_icccon, $icccon);
    $recordID = $_GET['recordID'];
    $query_query_date = "SELECT * FROM member WHERE memberID = $recordID";
    $query_limit_query_date = sprintf("%s LIMIT %d, %d", $query_query_date, $startRow_query_date, $maxRows_query_date);
    $query_date = mysql_query($query_limit_query_date, $icccon) or die(mysql_error());
    $row_query_date = mysql_fetch_assoc($query_date);
    if (isset($_GET['totalRows_query_date'])) {
      $totalRows_query_date = $_GET['totalRows_query_date'];
    } else {
      $all_query_date = mysql_query($query_query_date);
      $totalRows_query_date = mysql_num_rows($all_query_date);
    $totalPages_query_date = ceil($totalRows_query_date/$maxRows_query_date)-1;
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>detail_member</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="../styles/icccon.css" rel="stylesheet" type="text/css">
    </head>
    <body><center>
         <div id="reg">
         <p class="visitor-title">Please review the detailed personal information:</p>
    <div id="backlist"><a href="member.php">The List of  Members  </a>   /     <a href="../add_record/add_member.php">Add New Member</a></div>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="top" id="visitor-L">
        <p class="infoCopy">ID:<?php echo $row_query_date['memberID']; ?></p>
             <p ><img src="images/<?php echo $row_query_date['large']; ?>" class="kuang"> </p>
          <p><?php echo $row_query_date['title']; ?>  <?php echo $row_query_date['name']; ?><br>
          English Name: <?php echo $row_query_date['englishname']; ?><br>
          <a href="../update/update_member.php?memberID=<?php echo $row_query_date['memberID']; ?>">Update</a><br>
           <a href="../update/delete_visitor.php?memberID=<?php echo $row_query_date['memberID'];?>">Delete</a>
           </p>     </td>
        <td  valign="top" id="visitor-R">
         <ul>
         <li><span class="data">Address:</span><span class="info-detail"><?php echo $row_query_date['address1']; ?>
         <?php echo $row_query_date['address2']; ?></span><br>
         <span class="data">City:</span><span class="info-detail"><?php echo $row_query_date['city']; ?></span><br>
         <span class="data">State:</span><span class="info-detail"><?php echo $row_query_date['state']; ?></span><br>
         <span class="data">Zip Code:</span><span class="info-detail"><?php echo $row_query_date['zip']; ?></span><br>
         </li>
         </ul>
         <ul>
         <li>
         <span class="data">Daytime Phone:</span><span class="info-detail"><?php echo $row_query_date['day_phone']; ?></span><br>
         <span class="data">Night phone:</span><span class="info-detail"><?php echo $row_query_date['night_phone']; ?></span><br>
         <span class="data">Cell phone:</span><span class="info-detail"><?php echo $row_query_date['cell_phone']; ?></span><br>
         <span class="data">Fellowship:</span><span class="info-detail"><?php echo $row_query_date['category']; ?></span><br>
         <span class="data">Email:</span><span class="info-detail"><?php echo $row_query_date['email']; ?> </span><br>
         </li>
         </ul>
         <ul>
         <li><span class="data">Country of Origin:</span><span class="info-detail"><?php echo $row_query_date['country']; ?></span><br>
         <span class="data">Occupation:</span><span class="info-detail"><?php echo $row_query_date['occupation']; ?></span><br>
         <span class="data">Status of Marrige:</span><span class="info-detail"><?php echo $row_query_date['marrige']; ?></span> <br>
         <span class="data">Date of Birth:</span> <span class="info-detail"><?php echo $row_query_date['dob']; ?></span><br>
         <span class="data">Range of Age:</span> <span class="info-detail"><?php echo $row_query_date['age']; ?>  years old</span><br>
         <span class="data">Language:</span> <span class="info-detail"><?php echo $row_query_date['language']; ?></span><br>
         <span class="data">Driving Status:</span><span class="info-detail"><?php echo $row_query_date['drivingOptions']; ?></span> <br>
         <span class="data">Working Status:</span> <span class="info-detail"><?php echo $row_query_date['workingstatus']; ?></span><br>
         </li>
         </ul>
         <ul>
         <li>
         <span class="data">Referral by:</span><span class="info-detail"><?php echo $row_query_date['referral']; ?></span> <br>
         <span class="data">Religion:</span><span class="info-detail"><?php echo $row_query_date['religion']; ?></span><br>
         <span class="data">How Long have been in U.S.?:</span><span class="info-detail"><?php echo $row_query_date['howlong']; ?></span><br>
         </li>
         </ul>     </td>
        <td valign="top"  align="right" id="R" >
         <ul>
        <li><span class="data" colspan="2">Records of attendence on Sunday:</span></li>
         </ul>
         <?php if ($totalRows_query_date > 0) {  ?>
         <table width="80%" border="0" cellspacing="0" align="right" cellpadding="0">
        <tr >
            <td colspan="2" class="m-date">Date of Attendance</td>
          </tr>
        <?php do { ?>
        <tr>
              <td width="62%" nowrap class="m-time"><?php echo $row_query_date['Sunday'];recordID=$row_query_date['memberID'];?></td>
              <td width="38%" nowrap class="m-time">Delete</td>
        </tr>
        <?php } while ($row_query_date = mysql_fetch_assoc($query_date)); ?>
    </table>
         <?php }  ?></td>
         <td valign="top" id="R" >
         <ul>
         <li><span class="data">Records of attendence on Friday Night:</span></li>
         </ul>
         <table width="80%" border="0" cellspacing="0" align="right" cellpadding="0">
        <tr >
            <td colspan="2" class="m-date">Date of Attendance</td>
          </tr>
        <tr>
              <td width="62%" nowrap class="m-time"><?php echo $row_query_date['Friday'];?></td>
              <td width="38%" nowrap class="m-time">Delete</td>
        </tr>
    </table>
         </td>
      </tr>
    </table>
    </div>
    </center>
    </body>
    </html><?php
    mysql_free_result($query_date);
    ?>

  • Stupid problem that's really irritating me

    I just need help getting started here.
    For an assignment, I have to create points, modify the, output the coords, etc. I can't even properly compile a program to create the 2 points. I'm not sure if its a problem with syntax, or the compiler, I have been having a difficult time setting up java properly on my computer.
    Can someone please give me sample code to create 2 points, one at (2,3), and the other at (50,3)?
    Thanks.

    Nah, that was one I was playing around with. I took it out because I noticed what was wrong with it (well, part of what was wrong with it). I've got it working now, but it feels like I'm cheating.
    This is the entire program;
    import java.awt.Point;
    public class pointClass {
         public static void main(String[] args) {
              Point point1 = new Point(2,3);
              Point point2 = new Point(50,2);
              System.out.println("Point 1 x-coord: " + point1.getX() + ", y-coord: " + point1.getY());
              System.out.println("Point 2 x-coord: " + point2.getX() + ", y-coord: " + point2.getY());
              System.out.println("Adjusting points...");
              point1.setLocation(27,14);
              point2.setLocation(11,5);
              System.out.println("Point 1 x-coord: " + point1.getX() + ", y-coord: " + point1.getY());
              System.out.println("Point 2 x-coord: " + point2.getX() + ", y-coord: " + point2.getY());
              System.out.println("Adjusting points...");
              point1.translate(6,10);
              System.out.println("Point 1 x-coord: " + point1.getX() + ", y-coord: " + point1.getY());
              System.out.println("Point 2 x-coord: " + point2.getX() + ", y-coord: " + point2.getY());
    }What I'd like to do, is implement a method I could call to output the coordinates, instead of all the redundancy. I'm just not sure how to implement it.
    Message was edited by:
    SuckerPunch

  • No syntax highlighting.

    Hi,
    I'm having problems with syntax highlighting - it doesn't work.
    If I leave a cfm file open before closing eclipse and then eclipse reopen eclipse, syntax highlighting will kick in; but as soon as I open another file no syntax highlighting.
    I'm running eclipse 3.5.2.
    Thank you,
    Kasia

    This is a known bug - the syntax highlighting in PL/SQL files only works after having opened PL/SQL from the database. See EA3: File based development - where is the syntax highlighting? for example.
    theFurryOne

  • Problem with NOT EXISTS

    I have the following query:
    select *
    from aim01.t_pd_dntl_hdr a,
    aim01.t_pd_dntl_dtl b
    where a.sak_claim = b.sak_claim
    and a.num_icn in ('2003303027063', '2004306009619')
    and not exists (select 1
    from aim01.t_claim_error i
    where i.sak_claim = b.sak_claim
    and i.num_dtl = b.num_dtl
    and i.cde_stat_error = 'C'
    and i.cde_disp_status = 'D'
    and rownum = 1);
    For 2003303027063 the inner select is true so I understand that it should not be in the output of the whole query.
    Can anybody tell me why that would be happening?
    Thanks,
    Antonio

    Just in case you run into the same problemWe could heed your advice if your problem was syntax related. But your issue really only applies to you. What you did to fix your problem was throw a 3rd table and 3rd inner join into the mix. That reduced the total rows returned by the top-level query, and thus reduced the number of chances for EXISTS to return TRUE.
    I don't know why it makes a difference but it doesYou'll do yourself a favor by figuring it out. It will make you all the more proficient. Don't just accept the fact it works. Figure out why. We'd be glad to help, but without a knowledge of the actual data you're working with, there's not much we can do.

  • Error while running job from artjesadmin of Tuxedo Batch Runtime

    Hi,  when I submit the job by entering artjesadmin>smj -i ../JCL/HELLO_WORLD_JCL.ksh , I am getting below error in Job LOG;
    JOB SK127YSM BEGIN AT 2013/05/31 09:50:56
    BEGIN PHASE START AT 2013/05/31 09:50:56
    END PHASE START AT 2013/05/31 09:50:56 (RC=C0000, JOBRC=C0000, ELAPSED=0)
    BEGIN PHASE STEP01 AT 2013/05/31 09:50:56
    RUNB BEGIN :
    RUNBATCH BEGIN :
    +>> Program BEGIN : SAMPL+
    ERROR    mi_ProgramExec: The program execution has an error (SAMPLE)
    END PHASE STEP01 AT 2013/05/31 09:50:58 (RC=U0900, JOBRC=U0900, ELAPSED=2)
    BEGIN PHASE END_JOB AT 2013/05/31 09:50:58
    END PHASE END_JOB AT 2013/05/31 09:50:58 (RC=C0000, JOBRC=U0900, ELAPSED=0)
    JOB ENDED ABNORMALLY WITH CODE (U0900) AT 2013/05/31 09:50:58
    ERROR    mi_FileEmpty: The type UNKNOWN of file is unknown
    mi_JobEnd: Internal Error (mi_FileEmpty -r mt_FileEmpty "/root/workspace/app/00000001/SYSOUT/HELLO_WORLD_JCL_00000001__SYSPRINT_1") RC=123
    Does any one know 's why we get this error and what does RC=U0900 represent.
    Also I checked m_ProgramExec API in /ejr directory and this file doesn't have any statement to execute the program name passed to it as parameter.

    I think I have got whats the problem .
    Syntax for calling m_ProgramExec is "m_ProgramExec [OPTIONS] Program [Args .....] ". And when this API is called it checks the number of arguments and I think its expecting miminum 2 args . When I ran the converted .ksh with m_ProgramExec SAMPLE  it gave error as specified above. But when I corrected the converted .ksh with m_ProgramExec SAMPLE "agrs"  . Then it ran successfully. (though the arguments were dummy)
    Thanks Bob for your help.
    Regards,
    Naresh Gupta.

Maybe you are looking for