Please help to correct java error

I am writing a program as instructed by the book I am using to learn java and I get the following error message when I try to compile the program.
C:\jap>c:\j2sdk1.4.2\bin\javac Motorcyle.java
Motorcyle.java:22: illegal start of expression
void startEngine() {
^
Motorcyle.java:38: ';' expected
^
2 errors
The program code is show below.
class Motorcyle {
public static void main (String args[]){
Motorcyle m = new Motorcyle();
m.make = "Yamaha RZ350";
m.color = "yellow";
System.out.println("Calling showAtts...");
m.showAtts();
System.out.println("........");
System.out.println("Starting engine...");
m.startEngine();
System.out.println("........");
System.out.println("calling showAtts...");
m.showAtts();
System.out.println("........");
System.out.println("Starting engine...");
m.startEngine();
String make;
String color;
boolean engineState;
void startEngine() {
if (engineState == true)
System.out.println("The engine is already on.");
else {
engineState = true;
System.out.println("The engine is now on.");
void showAtts() {
System.out.println("This motorcyle is a "
+ color + " " + make);
if (engineState == true)
System.out.println("The engine is on.");
else System.out.println("The engine is off.");
Thanx in advance ...I hope you can help.

       boolean engineState;
   void startEngine() {                                                                                                                                                                                                                                                                   

Similar Messages

  • IOS 7 very slow, i have many problem , exemple  download documents , typing doc to go .   Very slow, sometime no response , please help us for this error

    IOS 7 very slow, i have many problem , exemple  download documents , typing doc to go .   Very slow, sometime no response , please help us for this error,

    spacepilot wrote:
    i live in the WS10 / 0121 area and have been having similar problems. i have an up to 20mb services, but up to a month ago connected at 4800, then my line went dead for 6 days, and all indis could do was send me  new router, which came the day after my line was restored, but had dropped to 2418 and remained so for the past 3 to 4 weeks, then i dropped to 1963 yesterday, and 729 today.
    all speeds are far lower on my upto 20mb than they where on my upto 8mb link.
    foegot to add, i reported the problem via the report a problem link, which hopefully will be red by someone with  a firmer grasp of english that the normal call centre staff
    welcome to the forum    why don't you start your own subject and post the adsl stats from your router and also run btspeedtester and post the results and someone may be able to offer assistance
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Please Help me with the error P6

    I recently installed the Primavera P6 but when I started
    using it for the first time I get the following error
    message :
    C:\Program files\Primavera\Project
    Management\Languages\comCaptions.en-us
    <br
    />Please help me with this error ;
    Thanks

    Hi,
    This sounds like an issue
    that might best be handled by support. You can find
    information on contacting support here:<br
    /><br
    />http://www.primavera.com/customer/support.asp<br
    />
    Thanks,
    Sean

  • Please help me with this error: "Apple application support was not found... Error 2"

    Can anyone please help me with this error: "Apple application support was not found... Error 2"
    I've followed the instructions by removing all Apple files from my laptop, but when I reinstall the iTunes software it still comes up with this message:
    "Apple application support is required to run iTunesHelper. Please uninstall iTunes, then install iTunes again. Error 2"
    Thank you

    iTunes "Apple Application Support is required... Error 2" and possible fix.
    I know this is a bit late but I came accross this thread trying to resolve this same problem and came up with a solution that worked for me, so thought I would share it here too. I hope it helps someone else.
    I just resolved this on Win Vista (should apply equally for Win7 too). Please uninstall iTunes before proceeding though. I'll walk you through the process I followed, if you like you can jump straight to the Solution section.
    Problems:
    The initial error during the installation of iTunes was:
    An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",type="win32",publicKeyToken='1fc8b 3b9a1e18e3b",processorarchitecture="x86". Please refer to Help and Support for more information. HRESULT:0x8007054F
    The error (after installing iTunes) when trying to run iTunes was:
    Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again. Error 2 (Windows error 2).
    After trying various fixes around the forums I came across this MSKB article, which relates to the first installation error:
    http://support.microsoft.com/kb/2688946
    This lead me to trying to install MS Visual C++ but I received the following error trying to install that:
    Error 1935.An error occurred during the installation of assembly ‘Microsoft.VC80.ATL,type=”win32”,version=”8.0.50727.762”,publicKeyToken=”1fc8b3 b9a1e18e3b”,processorArchitecture=”amd64”’. Please refer to Help and Support for more information. HRESULT: 0x80070BC9. Assembly interface: IassemblyCacheItem, function: Commit, component: {837BF1EB-D770-94EB-A01F-C8B3B9A1E18E}
    Note: The installation of VC++ rolls back when it fails.
    Solution:
    Through this error I found this MSKB article:
    http://support.microsoft.com/kb/946414
    The Automated MS "Fix It" msi package didn’t work.
    Note: Please backup your registry first (see the above MSKB article for instructions).
    I opened the registry and (as instructed in the MSKB article) deleted the following keys:
    HKEY_LOCAL_MACHINE\COMPONENTS\
    PendingXmlIdentifier
    NextQueueEntryIndex
    AdvancedInstallersNeedResolving
    Reboot and reinstall iTunes.
    If it helps you please like this so others can find it.

  • Please help me with this error I keep getting for attachments

    please help me with my error message as I can't download attachments

    Some information would be helpful...  operating system, email client, Reader version, error message, ...

  • Please help me find the error in the annex VI,access

    Hello, everyone, this is a program about ACCESS, please help me find the error in the annex VI, why do I always run time error. Thank you very much.
    Attachments:
    write access test.vi ‏22 KB

    Thank you for your reply, I have an attachment process map, could you help me change it, I just want to put my number in the array can continue to update the database. And I want to create a table.
    this is my msn :[email protected]
    Waiting for your reply on line
    谢谢你的回复,我的附件中有程序图,能不能帮我改一下,我只是希望,把我的数组中的数能够持续的更新在数据库中。并且创建一个我想要的表。

  • Itunes could not connect to the iphone an unknown error occurred 0xE8000003 please help me with this error any one have idea ?

    itunes could not connect to the iphone an unknown error occurred 0xE8000003 please help me with this error any one have idea ?

    http://support.apple.com/kb/ts3221

  • PLEASE help me with this error java.sql.SQLException

    The code
    public void getInitialQuery() {         try {             Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");             con = DriverManager.getConnection("jdbc:odbc:PDefApp1");             sta = con.createStatement();             System.out.println(SQLQuery);             res = setupSQLConnection(SQLQuery);             getRecordSet(res);
    private void getRecordSet(ResultSet r) {                try {             jTextRecordNumberField.setText(String.valueOf(r.getInt("id")));             jTextFirstNameField.setText(r.getString(2));             jTextMiddleNameField.setText(r.getString(3));             jTextLastNameField.setText(r.getString(4));             jTextDateOfBirthField.setText(r.getString(5));             jTextAKAField.setText(r.getString(6));             jComboBoxChargingDocument.setSelectedItem(r.getString(7));             jTextAreaChargingNumber.setText(r.getString(8));             jComboBoxDecision.setSelectedItem(r.getString(9));             jComboBoxDefendentStatus.setSelectedItem(r.getString(10));             jComboBoxOriginatingUnit.setSelectedItem(r.getString(11));             jTextFieldApplicationDate.setText(r.getString(12));             jTextFieldDecisionDate.setText(r.getString(13));             jTextFieldDeliveryDate.setText(r.getString(14));             jTextAreaComments.setText(r.getString(15));         } catch (Exception e) {             System.err.println("getRecordSet Exception: " + e.getMessage());             e.printStackTrace();         }             }
    The crash occurs in getRecordSet(ResultSet r) method and it occurs on ANY line. I've commented each line to see where it occurs.
    The crash says the following
    run: SELECT * FROM Table1 ORDER BY id ASC setupSQLQuery: SELECT * FROM Table1 ORDER BY id ASC getRecordSet Exception: [Microsoft][ODBC Driver Manager] Invalid cursor state java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state         at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)         at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(JdbcOdbc.java:3907)         at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(JdbcOdbcResultSet.java:5698)         at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.java:354)         at publicdesktopapplication.PublicDesktopView.getRecordSet(PublicDesktopView.java:1411)         at publicdesktopapplication.PublicDesktopView.getInitialQuery(PublicDesktopView.java:1377)         at publicdesktopapplication.PublicDesktopView.<init>(PublicDefenderView.java:89)         at publicdesktopapplication.PublicDesktopApplication.startup(PublicDesktopApplication.java:19)         at org.jdesktop.application.Application$1.run(Application.java:171)         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    I am very confused why this is crashing on me. It didnt crash in the older version of this application.
    Please help!

    Don't do this either
    SELECT * FROM Table1 Explictly name the columns in the order that you are going to fetch them. This makes your code easier to follow later and as side benefit prevents any changes in the column ordering from blowing your code to smitheens.
    And I do hope your table is not in fact called Table1.

  • Please help with correcting calling class and method errors

    Hi All,
    I have created a game (like battleship) for 2 tanks. I can't seem to connect the classes and methods to get the values for the last die face rolled; last direction rolled on a 4 headed dice; the x and y position for each tank; the armour value and the firePower (or hit value) to print.
    Each row of these values is supposed to print 50 times using a while loop.
    (N.B. The code is appended below my name.)
    Could anyone please help me? I would be most grateful. Thank you.
    Steve
    import java.util.*;
    class Client
    static Die die;
    static Direction dir;
    static Tank tk1;
    static Tank tk2;
    public static final
    void main( String[] argv)
    die = new Die();
    dir = new Direction();
    tk1 = new Tank();
    tk2 = new Tank();
    int lastFace;
    int setfaceLast;
    int x;
    int y;
    int armourVal;
    int firePower;
    int battleNum=0;
    int battles;
    int moves = 0;
    System.out.println("Tank");
    System.out.println("'\t' Number");
    System.out.println("'\t' Dir");
    System.out.println("'\t' xValue");
    System.out.println("'\t' yValue");
    System.out.println("'\t' Armour");
    System.out.println("Firepower"+'\n');
    int i=0;
    //int getLastFace();
    //int LastDirName();
    while (i <= 50);
    int XPos;
    int YPos;
    Pos p = new Pos();
    p.setXPos(x);
    p.setYPos(y);
    System.out.println ("'\t' Tank 1-");
    //System.out.println ( die.getLastFace());
    //System.out.println( dir.getLastDirName());
    System.out.println(Pos(x));
    System.out.println(Pos(y));
    System.out.println(armourVal);
    System.out.println(firePower+'\n');
    System.out.println ("Tank 2-");
    System.out.println ( lastFace);
    //System.out.println(LastDir);
    System.out.println(x);
    System.out.println(y);
    System.out.println(armourVal);
    System.out.println(firePower+'\n');
    moves++;
    System.out.println(" '\n' + BATTLE");
    class Tank
    public static final int MINGRID;
    public static final int MAXGRID;
    static Die die = new Die();
    static Direction dir = new Direction();
    private static int battleCount;
    private static int moveCount;
    private int x;
    private int y;
    private int armourVal;
    private int firePower;
    public Tank()
    int MINGRID=-10;
    int MAXGRID=10;
    battleCount=0;
    moveCount=0;
    x=0;
    y=0;
    armourVal=10;
    firePower=1;
    public
    int getmove()
    die.roll();
    dir.roll();
    dir.getLastDir();
    die.getLastFace();
    int x;
    int y;
    int Pos;
    switch( dir.getLastDir() )
    case Direction.UP:
    y += die.getLastFace();
    break;
    case Direction.DOWN:
    y -= die.getLastFace();
    break;
    case Direction.RIGHT:
    x += die.getLastFace();
    case Direction.LEFT:
    x-= die.getLastFace();
    break;
    if ( x > MAXGRID )
    x = (2 * MAXGRID) - x;
    else if ( x < MINGRID )
    x = (-2 * MINGRID) - x;
    if ( y > MAXGRID )
    y = (-2 * MAXGRID) - y;
    else if ( y < MINGRID )
    y = (-2 * MINGRID) - y;
    if ( x == -3 && y == -3 )
    firePower++;
    System.out.println("Yipee - more firepower.");
    if ( x == 3 && y == 3)
    this.armourVal += 10;
    System.out.println("Yipee - more armour.");
    return Pos;
    //printDetails();
    public boolean getcontinueBattle(Tank tk2)
    moveCount++;
    if ( x == tk2.x && y == tk2.y)
    battleCount++;
    System.out.println("Battle");
    tk2.armourVal -= firePower;
    armourVal -= tk2.firePower;
    if (tk2.armourVal < 0 )
    int moveCount, battleCount;
    return false;
    if ( armourVal < 0 )
    int moveCount, battleCount;
    return false;
    return true;
    public int getprintDetails()
    int ptDet;
    return ptDet;
    class Direction
    private int lastFaceDir;
    private Random rnd;
    public static final int UP = 1;
    public static final int DOWN = 2;
    public static final int LEFT = 3;
    public static final int RIGHT = 4;
    String direction;
    private
    int getRandomNum()
    int raw = rnd.nextInt();
    raw = Math.abs( raw );
    raw %= 4;
    raw++;
    return raw;
    public
    Direction()
    rnd = new Random();
    roll();
    public
    int roll()
    lastFaceDir = getRandomNum();
    if (lastFaceDir == UP)
    direction = "up";
    else if (lastFaceDir == DOWN)
    direction= "down";
    else if (lastFaceDir == LEFT)
    direction = "left";
    else if (lastFaceDir == RIGHT)
    direction= "right";
    return lastFaceDir;
    public
    int getLastFaceDir()
    return lastFaceDir;
    }// end class
    class Die
    private int lastFace;
    private Random rnd;
    private
    int getRandomNum()
    int raw = rnd.nextInt();
    raw = Math.abs( raw );
    raw %= 6;
    raw++;
    return raw;
    public
    Die()
    rnd = new Random();
    roll();
    public
    int roll()
    lastFace = getRandomNum();
    return lastFace;
    public
    int getLastFace()
    return lastFace;
    }// end class

    I got this sorted!
    I unzipped the JAR and loaded the classes individually - so now the "reference" issue went away. Instead I now have a new problem, but I will post that seperately.

  • Please Help needed...Error while generating WebService Proxy..!!

    Hi...
    I am getting an Error when i try to generate a Web-Service Proxy on JDeveloper for one of the Oracle WorkFlow Services viz., the[b] "TaskService"
    ie.,
    http://host:port/integration/services/TaskService/TaskServicePort?wsdl
    The wizard exits with a fatal warning ( WS-30033 -- which i believe indicates Validation of the WSDL failed..!?!) saying
    "uniqueness constraint violation : exception (taskProxy.proxy.faultType already exists)
    Could Anyone please Help me w.r.t this..?!?
    My requirement is to provide a UI for accessing Human WorkFlow Services...other than JSP...So, i am planning to create a Web-Service PROXY for the important Workflow Services like TaskQueryService, TaskService, etc...& then use the "jars" of these clients to invoke the Web-Services...!
    Is there ANY Simpler method of doing this..?!?
    I've seen the Code of the UserSampleUI application, but i can't get a similar code working in my Eclipse...don't know Which JARS are required...?!
    [i tried bpm-services.jar, & others...but it gives me a run-time exception of type PC Exception...!! :(]
    If so, please Do let me know ASAP...!!
    [By the way, ALL this is w.r.t. the [b]10.1.3.1.0 version of[b] Oracle SOA Suite...]
    Awaiting some response....
    Thanks a lot in advance..!

    Hi Calvin,
    You may want to try the 'no data binding' option on the proxy generation. This may enable you to go ahead, with a proxy that is not trying to generate Java code.
    Yo can also try to make a local copy of your WSDL and remove the duplicate type declaration. Using the analyze command from WSA CLI is a quick way to do this itterative testing, as it will not generate the code. Once you have the analyze command going thourg the WSDL, you can go back to using genProxy.
    You can find the documnetation here:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28974/wsassemble.htm#CHDBBDBF
    Hope it helps,
    -Eric

  • Please help me, two similar errors 1772 and 2080

    Hello, I have a problem. I went to ign.com and when the page loaded an advertisement also loaded, ign.com always has advertisements. Well the advertisement minimized itself so I opened it and closed it, and my whole browswer shut down and I received an error message on my desktop called hs_err_pid1772. I didn't know what it was, so I looked on the internet and there isn't a single page on it. I found one forum page, and a few people said they got the same error, but no fixes. I jumped on my laptop and again went to ign.com, the advertisment loaded, I closed it, and BAM, the whole browser shut down again and on my laptop I got the error message hs_err_pid2080, its almost identical to the 1772 error I received on my desktop. Was it just the advertisement screwing everything up or what? Also when I went back to ign.com after, I went back a few times after the error, my browswer froze quickly. I have gotten ign.com to work once out of the 5 or so times I tried after the error. Obviously this error is coming from ign.com since I got it on my desktop and laptop right when I went to their site. But I dont know what it means. I am also using 1.4.2_04 for my java plugin. The contents of the hs_err_pid1772 are here, and they are almost identical to the 2080 error I received on my laptop. I just don't get why I got two different errors off the same website on two different computers, anways, this is the 1772 error?
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x3100
    Function=[Unknown.]
    Library=(N/A)
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
         at sun.plugin.services.WPlatformService.waitEvent(Native Method)
         at sun.plugin.viewer.frame.IExplorerEmbeddedFrame.destroy(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00419000      C:\Program Files\Internet Explorer\iexplore.exe
    0x77F50000 - 0x77FF7000      C:\WINDOWS\System32\ntdll.dll
    0x77E60000 - 0x77F46000      C:\WINDOWS\system32\kernel32.dll
    0x77C10000 - 0x77C63000      C:\WINDOWS\system32\msvcrt.dll
    0x77D40000 - 0x77DCC000      C:\WINDOWS\system32\USER32.dll
    0x7E090000 - 0x7E0D1000      C:\WINDOWS\system32\GDI32.dll
    0x77DD0000 - 0x77E5D000      C:\WINDOWS\system32\ADVAPI32.dll
    0x78000000 - 0x78087000      C:\WINDOWS\system32\RPCRT4.dll
    0x70A70000 - 0x70AD4000      C:\WINDOWS\system32\SHLWAPI.dll
    0x71700000 - 0x71849000      C:\WINDOWS\System32\SHDOCVW.dll
    0x71950000 - 0x71A34000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.1515_x-ww_7bb98b8a\comctl32.dll
    0x773D0000 - 0x77BCA000      C:\WINDOWS\system32\SHELL32.dll
    0x77340000 - 0x773CB000      C:\WINDOWS\system32\comctl32.dll
    0x771B0000 - 0x772D4000      C:\WINDOWS\system32\ole32.dll
    0x5AD70000 - 0x5ADA4000      C:\WINDOWS\System32\uxtheme.dll
    0x71500000 - 0x715FD000      C:\WINDOWS\System32\BROWSEUI.dll
    0x72430000 - 0x72442000      C:\WINDOWS\System32\browselc.dll
    0x75F40000 - 0x75F5F000      C:\WINDOWS\system32\appHelp.dll
    0x7C890000 - 0x7C911000      C:\WINDOWS\System32\CLBCATQ.DLL
    0x77120000 - 0x771AB000      C:\WINDOWS\system32\OLEAUT32.dll
    0x77050000 - 0x77115000      C:\WINDOWS\System32\COMRes.dll
    0x77C00000 - 0x77C07000      C:\WINDOWS\system32\VERSION.dll
    0x63000000 - 0x63096000      C:\WINDOWS\system32\WININET.dll
    0x762C0000 - 0x76348000      C:\WINDOWS\system32\CRYPT32.dll
    0x762A0000 - 0x762B0000      C:\WINDOWS\system32\MSASN1.dll
    0x76F90000 - 0x76FA0000      C:\WINDOWS\System32\Secur32.dll
    0x76620000 - 0x7666E000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661B000      C:\WINDOWS\System32\CSCDLL.dll
    0x76670000 - 0x76757000      C:\WINDOWS\System32\SETUPAPI.dll
    0x10000000 - 0x10028000      C:\Program Files\MSN Apps\ST\01.02.0002.1001\en-xu\stmain.dll
    0x71AB0000 - 0x71AC5000      C:\WINDOWS\System32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\System32\WS2HELP.dll
    0x722B0000 - 0x722B5000      C:\WINDOWS\System32\SensApi.dll
    0x72E00000 - 0x72F15000      C:\WINDOWS\System32\msxml3.dll
    0x1A400000 - 0x1A47A000      C:\WINDOWS\system32\urlmon.dll
    0x74770000 - 0x747FF000      C:\WINDOWS\System32\mlang.dll
    0x76F20000 - 0x76F45000      C:\WINDOWS\System32\DNSAPI.dll
    0x76FC0000 - 0x76FC5000      C:\WINDOWS\System32\rasadhlp.dll
    0x01810000 - 0x018B9000      c:\program files\google\googletoolbar2.dll
    0x71AD0000 - 0x71AD8000      C:\WINDOWS\System32\WSOCK32.dll
    0x76C30000 - 0x76C5B000      C:\WINDOWS\System32\WINTRUST.dll
    0x76C90000 - 0x76CB2000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x76B40000 - 0x76B6C000      C:\WINDOWS\System32\WINMM.dll
    0x019C0000 - 0x01A09000      C:\Program Files\MSN Apps\MSN Toolbar\01.02.2001.0001\en-us\msntb.dll
    0x01A20000 - 0x01A45000      C:\Program Files\MSN Apps\MSN Toolbar\01.02.2001.0001\en-us\mtbres.dll
    0x01A60000 - 0x01A7A000      C:\Program Files\Norton AntiVirus\NavShExt.dll
    0x76B20000 - 0x76B35000      C:\WINDOWS\System32\ATL.DLL
    0x55900000 - 0x55961000      C:\WINDOWS\System32\MSVCP60.dll
    0x11000000 - 0x1101C000      C:\Program Files\Comcast\Security Manager\app\AuthBHO.dll
    0x73420000 - 0x73573000      C:\WINDOWS\System32\MSVBVM60.DLL
    0x12000000 - 0x1206A000      C:\Program Files\Common Files\Authentium Shared\Common\PrismCommon.dll
    0x01F40000 - 0x01F5E000      C:\Program Files\Common Files\Symantec Shared\Script Blocking\ScrBlock.dll
    0x02070000 - 0x0208B000      C:\Program Files\Common Files\Symantec Shared\Script Blocking\scrauth.dll
    0x735A0000 - 0x735C4000      C:\WINDOWS\System32\scrrun.dll
    0x75E90000 - 0x75F38000      C:\WINDOWS\System32\SXS.DLL
    0x021D0000 - 0x02255000      C:\Program Files\Comcast\Security Manager\app\ntseccom.dll
    0x71B20000 - 0x71B31000      C:\WINDOWS\system32\MPR.dll
    0x71C20000 - 0x71C6E000      C:\WINDOWS\System32\NETAPI32.dll
    0x72540000 - 0x72547000      C:\WINDOWS\System32\RASSAPI.dll
    0x76D40000 - 0x76D56000      C:\WINDOWS\System32\MPRAPI.dll
    0x76E40000 - 0x76E6F000      C:\WINDOWS\System32\ACTIVEDS.dll
    0x76E10000 - 0x76E35000      C:\WINDOWS\System32\adsldpc.dll
    0x76F60000 - 0x76F8C000      C:\WINDOWS\system32\WLDAP32.dll
    0x76E80000 - 0x76E8D000      C:\WINDOWS\System32\rtutils.dll
    0x71BF0000 - 0x71C01000      C:\WINDOWS\System32\SAMLIB.dll
    0x73000000 - 0x73023000      C:\WINDOWS\System32\WINSPOOL.DRV
    0x02260000 - 0x02270000      C:\WINDOWS\System32\MSVCIRT.dll
    0x021B0000 - 0x021C7000      C:\PROGRA~1\Comcast\SECURI~1\app\ctbutton.ocx
    0x73DD0000 - 0x73EC2000      C:\WINDOWS\System32\MFC42.DLL
    0x5EDD0000 - 0x5EDEA000      C:\WINDOWS\System32\OLEPRO32.DLL
    0x02380000 - 0x024FA000      C:\Program Files\Comcast\Security Manager\res\AuthResources.dll
    0x76170000 - 0x761F8000      C:\WINDOWS\System32\shdoclc.dll
    0x63580000 - 0x63832000      C:\WINDOWS\System32\mshtml.dll
    0x71A50000 - 0x71A8B000      C:\WINDOWS\system32\mswsock.dll
    0x71A90000 - 0x71A98000      C:\WINDOWS\System32\wshtcpip.dll
    0x02E30000 - 0x03031000      C:\WINDOWS\System32\msi.dll
    0x746F0000 - 0x74716000      C:\WINDOWS\System32\msimtf.dll
    0x74720000 - 0x74764000      C:\WINDOWS\System32\MSCTF.dll
    0x76390000 - 0x763AC000      C:\WINDOWS\System32\IMM32.DLL
    0x0FFD0000 - 0x0FFF3000      C:\WINDOWS\System32\rsaenh.dll
    0x75A70000 - 0x75B15000      C:\WINDOWS\system32\userenv.dll
    0x73D50000 - 0x73D60000      C:\WINDOWS\System32\cryptnet.dll
    0x6B700000 - 0x6B790000      c:\windows\system32\jscript.dll
    0x72D20000 - 0x72D29000      C:\WINDOWS\System32\wdmaud.drv
    0x72D10000 - 0x72D18000      C:\WINDOWS\System32\msacm32.drv
    0x77BE0000 - 0x77BF4000      C:\WINDOWS\System32\MSACM32.dll
    0x77BD0000 - 0x77BD7000      C:\WINDOWS\System32\midimap.dll
    0x60300000 - 0x60307000      C:\Program Files\Yahoo!\Messenger\idle.dll
    0x7C340000 - 0x7C396000      C:\Program Files\Yahoo!\Messenger\MSVCR71.dll
    0x76EE0000 - 0x76F17000      C:\WINDOWS\System32\RASAPI32.DLL
    0x76E90000 - 0x76EA1000      C:\WINDOWS\System32\rasman.dll
    0x76EB0000 - 0x76EDB000      C:\WINDOWS\System32\TAPI32.dll
    0x76FB0000 - 0x76FB7000      C:\WINDOWS\System32\winrnr.dll
    0x73300000 - 0x73375000      c:\windows\system32\vbscript.dll
    0x03E30000 - 0x03FD7000      C:\WINDOWS\System32\macromed\flash\Flash.ocx
    0x763B0000 - 0x763F5000      C:\WINDOWS\system32\comdlg32.dll
    0x746C0000 - 0x746E7000      C:\WINDOWS\System32\MSLS31.DLL
    0x6D430000 - 0x6D439000      C:\WINDOWS\System32\ddrawex.dll
    0x73760000 - 0x737A4000      C:\WINDOWS\System32\DDRAW.dll
    0x73BC0000 - 0x73BC6000      C:\WINDOWS\System32\DCIMAN32.dll
    0x75F60000 - 0x75F66000      C:\WINDOWS\System32\drprov.dll
    0x71C10000 - 0x71C1D000      C:\WINDOWS\System32\ntlanman.dll
    0x71CD0000 - 0x71CE6000      C:\WINDOWS\System32\NETUI0.dll
    0x71C90000 - 0x71CCC000      C:\WINDOWS\System32\NETUI1.dll
    0x71C80000 - 0x71C86000      C:\WINDOWS\System32\NETRAP.dll
    0x75F70000 - 0x75F79000      C:\WINDOWS\System32\davclnt.dll
    0x75970000 - 0x75A62000      C:\WINDOWS\System32\MSGINA.dll
    0x76360000 - 0x7636F000      C:\WINDOWS\System32\WINSTA.dll
    0x07F00000 - 0x07F32000      C:\WINDOWS\System32\ODBC32.dll
    0x1F850000 - 0x1F866000      C:\WINDOWS\System32\odbcint.dll
    0x74CB0000 - 0x74D1F000      C:\WINDOWS\System32\mshtmled.dll
    0x08E00000 - 0x08E1B000      C:\WINDOWS\System32\AuthCrypt.dll
    0x71D40000 - 0x71D5B000      C:\WINDOWS\System32\actxprxy.dll
    0x6CC60000 - 0x6CC6B000      C:\WINDOWS\System32\dispex.dll
    0x08F40000 - 0x08F78000      C:\WINDOWS\System32\wmpdxm.dll
    0x08F80000 - 0x0940B000      C:\WINDOWS\System32\wmp.dll
    0x73BD0000 - 0x73BF0000      C:\WINDOWS\System32\MSVFW32.dll
    0x09410000 - 0x096DE000      C:\WINDOWS\System32\wmploc.dll
    0x6D440000 - 0x6D450000      C:\Program Files\Java\j2re1.4.2_04\bin\npjpi142_04.dll
    0x6D310000 - 0x6D327000      C:\Program Files\Java\j2re1.4.2_04\bin\jpiexp32.dll
    0x6D380000 - 0x6D398000      C:\Program Files\Java\j2re1.4.2_04\bin\jpishare.dll
    0x097A0000 - 0x098D8000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\client\jvm.dll
    0x098E0000 - 0x098E7000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\hpi.dll
    0x09900000 - 0x0990E000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\verify.dll
    0x09910000 - 0x09929000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\java.dll
    0x09930000 - 0x0993D000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\zip.dll
    0x0C380000 - 0x0C48F000      C:\Program Files\Java\j2re1.4.2_04\bin\awt.dll
    0x0C490000 - 0x0C4E0000      C:\Program Files\Java\j2re1.4.2_04\bin\fontmanager.dll
    0x73940000 - 0x73A07000      C:\WINDOWS\System32\D3DIM700.DLL
    0x6D2F0000 - 0x6D304000      C:\Program Files\Java\j2re1.4.2_04\bin\jpicom32.dll
    0x0E8F0000 - 0x0EAED000      C:\WINDOWS\System32\wmvcore.dll
    0x0EAF0000 - 0x0EB29000      C:\WINDOWS\System32\WMASF.DLL
    0x6D510000 - 0x6D58D000      C:\WINDOWS\system32\DBGHELP.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\System32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 340K [0x1f870000, 0x1f910000, 0x1ffd0000)
    eden space 512K, 53% used [0x1f870000, 0x1f8b5070, 0x1f8f0000)
    from space 64K, 100% used [0x1f8f0000, 0x1f900000, 0x1f900000)
    to space 64K, 0% used [0x1f900000, 0x1f900000, 0x1f910000)
    tenured generation total 1408K, used 244K [0x1ffd0000, 0x20130000, 0x25870000)
    the space 1408K, 17% used [0x1ffd0000, 0x2000d3a0, 0x2000d400, 0x20130000)
    compacting perm gen total 4096K, used 3466K [0x25870000, 0x25c70000, 0x29870000)
    the space 4096K, 84% used [0x25870000, 0x25bd2b28, 0x25bd2c00, 0x25c70000)
    Local Time = Tue Aug 17 23:23:10 2004
    Elapsed Time = 10
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
    I couldn't find anything on the internet about either error. I also couldn't find either error on the java website. If somebody could please help me, it would be greatly appreciated. My email address is [email protected] if you want to write me there, or just reply to my post. Thank you so much.

    Hi
    hs_err_pidXXXX is the file that is generated when the hotspot crashes.
    I would think that
    hs== hotspot
    err== error
    pidXXXX== process id, being windows, it should be PID under task manager.
    I loaded www.ign.com and it seemed fine to me. I am using IE too but with 1.4.2_05.

  • Please help me regarding message error in GPShell 1.4.2

    Hi friends..
    i've a GPShell script like this :
    mode_211
    enable_trace
    establish_context
    card_connect -readerNumber 2
    select -AID a0000000030000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
    delete -AID a00000006203010c0101
    delete -AID a00000006203010c01
    delete -AID a00000006203010c0101
    install -file HelloWorld.cap -nvDataLimit 500 -instParam 00 -priv 2
    card_disconnect
    release_contextI've got this message, when i tried to load .CAP file into Infineon Java Card 2.2.1, using that script..
    C:\GPShell-1.4.2>GPShell helloInstall.txt
    mode_211
    enable_trace
    establish_context
    card_connect -readerNumber 2
    * reader name OMNIKEY CardMan 5x21-CL 0
    select -AID a0000000030000
    Command --> 00A4040007A0000000030000
    Wrapped command --> 00A4040007A0000000030000
    Response <-- 6F108408A000000003000000A5049F6501FF9000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4
    f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
    Command --> 80CA006600
    Wrapped command --> 80CA006600
    Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864
    886FC6B03640B06092A864886FC6B040215650B06092B8510864864020102660C060A2B060104012
    A026E01029000
    Command --> 8050000008205277E9B29D125200
    Wrapped command --> 8050000008205277E9B29D125200
    Response <-- 0000715457173C2A8FC1FF020005BD1A6BE9D3D5CA5B9E40FE02CCC89000
    Command --> 8482010010D1F2701CAF9446D519A038D76716189C
    Wrapped command --> 8482010010D1F2701CAF9446D519A038D76716189C
    Response <-- 9000
    delete -AID a00000006203010c0101
    Command --> 80E400800C4F0AA00000006203010C010100
    Wrapped command --> 84E40080144F0AA00000006203010C01011D36CBB3988EDA8E00
    Response <-- 6A88
    delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
    delete -AID a00000006203010c01
    Command --> 80E400800B4F09A00000006203010C0100
    Wrapped command --> 84E40080134F09A00000006203010C0177FE477BAC9DC31100
    Response <-- 6A88
    delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
    delete -AID a00000006203010c0101
    Command --> 80E400800C4F0AA00000006203010C010100
    Wrapped command --> 84E40080144F0AA00000006203010C01014D90396A020CB8FE00
    Response <-- 6A88
    delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
    install -file HelloWorld.cap -nvDataLimit 500 -instParam 00 -priv 2
    file name HelloWorld.cap
    Command --> 80E602001F09A00000006203010C0107A0000000030000000AEF08C60201A8C80201
    F40000
    Wrapped command --> 84E602002709A00000006203010C0107A0000000030000000AEF08C60201
    A8C80201F4009F5FC8A422FC295C00
    Response <-- 6985
    install_for_load() returns 0x80206985 (6985: Command not allowed - Conditions of
    use not satisfied.)There's message error :
    install_for_load() returns 0x80206985 (6985: Command not allowed - Conditions of use not satisfied.)
    I've tried to use another Infineon Java Card 2.2.1, but the result is always same..
    Please help me
    Thanks in advance..

    hi ,
    ther is not syntax with clear with 'X".
    but you can do one thing to get the one character.
    REPORT ZMKTEST6.
    data : f1(2) type c,
    f2(2) type c,
    f3(10) type n value '12345'.
    clear: f1 with 'X',  "Comment this
    f1 = f1+0(1).        "write this
    f2 with f1,
    f3 with '3'.
    write :/ f1 ,f2, f3.
    now f1 containd one charater instead of 2.
    now you can display as usuall

  • Please help, constant video hardware error !

    Please help, I can't find the problem. Am on windows 8 for a while now and I check my event viewer from time to time and I found several error massages that exists in my event viewer and the latest was while watching a movie on windows media player here the details. (I didn't have any problem while gaming even the GPU temp are idle due too every game requirements)
    Source
    Windows
    Summary
    Video hardware error
    Date
    ‎27/‎06/‎2013 07:10
    Status
    Not reported
    Description
    A problem with your video hardware caused Windows to stop working correctly.
    Problem signature
    Problem Event Name:   LiveKernelEvent
    OS Version:   6.2.9200.2.0.0.256.48
    Locale ID:   2057
    Files that help describe the problem
    WD-20130627-0710-01.dmp
    sysdata.xml
    WERInternalMetadata.xml
    Extra information about the problem
    BCCode:   141
    BCP1:   FFFFFA800FF394D0
    BCP2:   FFFFF880077772B0
    BCP3:   0000000000000000
    BCP4:   00000000000015C0
    OS Version:   6_2_9200
    Service Pack:   0_0
    Product:   256_1
    I want to know what happened to my card?!! did the 320.18 driver damage my GPU??!!! I cant specify what is the problem is it the card or a conflict or what I am getting nuts here please help.
    This is the error from Windows Media Player.
    Description
    Faulting Application Path:   C:\Program Files (x86)\Windows Media Player\wmplayer.exe
    Problem signature
    Problem Event Name:   APPCRASH
    Application Name:   wmplayer.exe
    Application Version:   12.0.9200.16420
    Application Timestamp:   505aa40e
    Fault Module Name:   nvd3dum.dll
    Fault Module Version:   9.18.13.1422
    Fault Module Timestamp:   51427c76
    Exception Code:   c0000005
    Exception Offset:   00773806
    OS Version:   6.2.9200.2.0.0.256.48
    Locale ID:   2057
    Additional Information 1:   5861
    Additional Information 2:   5861822e1919d7c014bbb064c64908b2
    Additional Information 3:   f3d5
    Additional Information 4:   f3d5be0cad2787556264647dc02181c3
    My sys:
    i3-3220 CPU 3.30GHz, Cooler Master Hyper TX3
    CORSAIR Vengeance 8GB 2 x 4GB DDR3 1600
    WD Caviar Blue 1TB SATA 6Gb/s WD10EZEX
    MSI N560GTX-Ti Hawk (driver 314.22)
    Monitor ViewSonic VX2240w 22" 1680x1050
    ASUS P8B75-V Intel B75 SATA 6Gb/s USB 3.0 (latest bios update)
    HEC Cougar Evolution, 3 fans
    PSU XFX Core Edition PRO550W

    Another thing I do get this error randomly with other apps like Firefox 22 and Skype too which is strange. my S/N : 602-V260-050B1201119526.
    This error is from Skype
    Description
    A problem caused this program to stop interacting with Windows.
    Faulting Application Path:   C:\Windows\SysWOW64\WWAHost.exe
    Problem signature
    Problem Event Name:   MoAppHang
    Package Full Name:   Microsoft.SkypeApp_1.8.0.111_x86__kzf8q xf38zg5c
    Application Name:   praid:App
    Application Version:   6.2.9200.16420
    Application Timestamp:   505a90d6
    Hang Signature:   d908
    Hang Type:   2097152
    OS Version:   6.2.9200.2.0.0.256.48
    Locale ID:   2057
    Additional Hang Signature 1:   d908164defd45e704df38cec71cdb6e9
    Additional Hang Signature 2:   db7a
    Additional Hang Signature 3:   db7a68a61e111f839b8a39fd0e33855c
    Additional Hang Signature 4:   d908
    Additional Hang Signature 5:   d908164defd45e704df38cec71cdb6e9
    Additional Hang Signature 6:   db7a
    Additional Hang Signature 7:   db7a68a61e111f839b8a39fd0e33855c
    Description
    A problem with your video hardware caused Windows to stop working correctly.
    Problem signature
    Problem Event Name:   LiveKernelEvent
    OS Version:   6.2.9200.2.0.0.256.48
    Locale ID:   2057
    Files that help describe the problem
    WD-20130626-0316-01.dmp
    sysdata.xml
    WERInternalMetadata.xml
     View a temporary copy of these files
    Warning: If a virus or other security threat caused the problem, opening a copy of the files could harm your computer.
    Extra information about the problem
    BCCode:   141
    BCP1:   FFFFFA8007997010
    BCP2:   FFFFF880069D42B0
    BCP3:   0000000000000000
    BCP4:   0000000000000150
    OS Version:   6_2_9200
    Service Pack:   0_0
    Product:   256_1

  • Please help C++ into java.

    Hello,
    I am working one small swing program. And want to know about c++ code. Can any one tell me that can we convert the c++ code into java code. My c++ code is:
    void Activity::computeInternalStructure(Rules& r)
         //the internal subgroups list must be computed before entering here.
         //teachers
         //this->nTeachers=0;
         this->iTeachersList.clear();
         for(QStringList::Iterator it=this->teachersNames.begin(); it!=this->teachersNames.end(); it++){
              int tmp;
              for(tmp=0; tmp<r.nInternalTeachers; tmp++){
                   if(r.internalTeachersList[tmp]->name == (*it))
                        break;
              assert(tmp < r.nInternalTeachers);
              //assert(this->nTeachers<MAX_TEACHERS_PER_ACTIVITY);
              //this->teachers[this->nTeachers++]=tmp;
              this->iTeachersList.append(tmp);
         //subjects
         this->subjectIndex = r.searchSubject(this->subjectName);
         assert(this->subjectIndex>=0);
         //activity tags
         this->iActivityTagsSet.clear();
         foreach(QString tag, this->activityTagsNames)
              assert(tag!="");
              int index=r.searchActivityTag(tag);
              assert(index>=0);
              this->iActivityTagsSet.insert(index);
         //this->activityTagIndex = r.searchActivityTag(this->activityTagName);
         //students     
         //this->nSubgroups=0;
         this->iSubgroupsList.clear();
         for(QStringList::Iterator it=this->studentsNames.begin(); it!=this->studentsNames.end(); it++){
              StudentsSet* ss=r.searchAugmentedStudentsSet(*it);
              assert(ss);
              if(ss->type==STUDENTS_SUBGROUP){
                   int tmp;
                   /*for(tmp=0; tmp<r.nInternalSubgroups; tmp++)
                        if(r.internalSubgroupsList[tmp]->name == ss->name)
                             break;*/
                   tmp=((StudentsSubgroup*)ss)->indexInInternalSubgroupsList;
                   assert(tmp>=0);
                   assert(tmp<r.nInternalSubgroups);
                   //assert(this->nSubgroups<MAX_SUBGROUPS_PER_ACTIVITY);
                   bool duplicate=false;
                   if(this->iSubgroupsList.contains(tmp))
                   //for(int j=0; j<this->nSubgroups; j++)
                   //     if(this->subgroups[j]==tmp)
                             duplicate=true;
                   if(duplicate){
                        QString s;
                        s=QObject::tr(QString("Warning: activity with id=%1\ncontains duplicated subgroups. Automatically correcting..."))
                             .arg(this->id);               
                        cout<<qPrintable(s)<<endl;
                   else
                        this->iSubgroupsList.append(tmp);
                        //this->subgroups[this->nSubgroups++]=tmp;
              else if(ss->type==STUDENTS_GROUP){
                   StudentsGroup* stg=(StudentsGroup*)ss;
                   for(int k=0; k<stg->subgroupsList.size(); k++){
                        StudentsSubgroup* sts=stg->subgroupsList[k];
                        int tmp;
                        /*for(tmp=0; tmp<r.nInternalSubgroups; tmp++)
                             if(r.internalSubgroupsList[tmp]->name == sts->name)
                                  break;*/
                        tmp=sts->indexInInternalSubgroupsList;
                        assert(tmp>=0);
                        assert(tmp<r.nInternalSubgroups);
                        //assert(this->nSubgroups<MAX_SUBGROUPS_PER_ACTIVITY);
                        bool duplicate=false;
                        if(this->iSubgroupsList.contains(tmp))
                        //for(int j=0; j<this->nSubgroups; j++)
                        //     if(this->subgroups[j]==tmp)
                                  duplicate=true;
                        if(duplicate){
                             QString s;
                             s=QObject::tr(QString("Warning: activity with id=%1\ncontains duplicated subgroups. Automatically correcting..."))
                                  .arg(this->id);
                             cout<<qPrintable(s)<<endl;
                        else
                             //this->subgroups[this->nSubgroups++]=tmp;
                             this->iSubgroupsList.append(tmp);
              else if(ss->type==STUDENTS_YEAR){
                   StudentsYear* sty=(StudentsYear*)ss;
                   for(int k=0; k<sty->groupsList.size(); k++){
                        StudentsGroup* stg=sty->groupsList[k];
                        for(int l=0; l<stg->subgroupsList.size(); l++){
                             StudentsSubgroup* sts=stg->subgroupsList[l];
                             int tmp;
                             /*for(tmp=0; tmp<r.nInternalSubgroups; tmp++)
                                  if(r.internalSubgroupsList[tmp]->name == sts->name)
                                       break;*/
                             tmp=sts->indexInInternalSubgroupsList;
                             assert(tmp>=0);
                             assert(tmp<r.nInternalSubgroups);
                             //assert(this->nSubgroups<MAX_SUBGROUPS_PER_ACTIVITY);
                             bool duplicate=false;
                             if(this->iSubgroupsList.contains(tmp))
                             //for(int j=0; j<this->nSubgroups; j++)
                             //     if(this->subgroups[j]==tmp)
                                       duplicate=true;
                             if(duplicate){
                                  QString s;
                                  s=QObject::tr(QString("Warning: activity with id=%1\ncontains duplicated subgroups. Automatically correcting..."))
                                       .arg(this->id);
                                  QObject::tr("&Ok"));
                                  cout<<qPrintable(s)<<endl;
                             else{
                                  //this->subgroups[this->nSubgroups++]=tmp;
                                  this->iSubgroupsList.append(tmp);
              else
                   assert(0);
    }Please help me. In this code we are using some variables. with QT GUI in c++.
    Thanks in advance.
    Manveer.

    Manveer-Singh wrote:
    Hello,
    I am working one small swing program. And want to know about c++ code. Can any one tell me that can we convert the c++ code into java code. My c++ code is:
    void Activity::computeInternalStructure(Rules& r)
         //the internal subgroups list must be computed before entering here.
         //teachers
         //this->nTeachers=0;
         this->iTeachersList.clear();
         for(QStringList::Iterator it=this->teachersNames.begin(); it!=this->teachersNames.end(); it++){
              int tmp;
              for(tmp=0; tmp<r.nInternalTeachers; tmp++){
                   if(r.internalTeachersList[tmp]->name == (*it))
                        break;
              assert(tmp < r.nInternalTeachers);
              //assert(this->nTeachers<MAX_TEACHERS_PER_ACTIVITY);
              //this->teachers[this->nTeachers++]=tmp;
              this->iTeachersList.append(tmp);
         //subjects
         this->subjectIndex = r.searchSubject(this->subjectName);
         assert(this->subjectIndex>=0);
         //activity tags
         this->iActivityTagsSet.clear();
         foreach(QString tag, this->activityTagsNames)
              assert(tag!="");
              int index=r.searchActivityTag(tag);
              assert(index>=0);
              this->iActivityTagsSet.insert(index);
         //this->activityTagIndex = r.searchActivityTag(this->activityTagName);
         //students     
         //this->nSubgroups=0;
         this->iSubgroupsList.clear();
         for(QStringList::Iterator it=this->studentsNames.begin(); it!=this->studentsNames.end(); it++){
              StudentsSet* ss=r.searchAugmentedStudentsSet(*it);
              assert(ss);
              if(ss->type==STUDENTS_SUBGROUP){
                   int tmp;
                   /*for(tmp=0; tmp<r.nInternalSubgroups; tmp++)
                        if(r.internalSubgroupsList[tmp]->name == ss->name)
                             break;*/
                   tmp=((StudentsSubgroup*)ss)->indexInInternalSubgroupsList;
                   assert(tmp>=0);
                   assert(tmp<r.nInternalSubgroups);
                   //assert(this->nSubgroups<MAX_SUBGROUPS_PER_ACTIVITY);
                   bool duplicate=false;
                   if(this->iSubgroupsList.contains(tmp))
                   //for(int j=0; j<this->nSubgroups; j++)
                   //     if(this->subgroups[j]==tmp)
                             duplicate=true;
                   if(duplicate){
                        QString s;
                        s=QObject::tr(QString("Warning: activity with id=%1\ncontains duplicated subgroups. Automatically correcting..."))
                             .arg(this->id);               
                        cout<<qPrintable(s)<<endl;
                   else
                        this->iSubgroupsList.append(tmp);
                        //this->subgroups[this->nSubgroups++]=tmp;
              else if(ss->type==STUDENTS_GROUP){
                   StudentsGroup* stg=(StudentsGroup*)ss;
                   for(int k=0; k<stg->subgroupsList.size(); k++){
                        StudentsSubgroup* sts=stg->subgroupsList[k];
                        int tmp;
                        /*for(tmp=0; tmp<r.nInternalSubgroups; tmp++)
                             if(r.internalSubgroupsList[tmp]->name == sts->name)
                                  break;*/
                        tmp=sts->indexInInternalSubgroupsList;
                        assert(tmp>=0);
                        assert(tmp<r.nInternalSubgroups);
                        //assert(this->nSubgroups<MAX_SUBGROUPS_PER_ACTIVITY);
                        bool duplicate=false;
                        if(this->iSubgroupsList.contains(tmp))
                        //for(int j=0; j<this->nSubgroups; j++)
                        //     if(this->subgroups[j]==tmp)
                                  duplicate=true;
                        if(duplicate){
                             QString s;
                             s=QObject::tr(QString("Warning: activity with id=%1\ncontains duplicated subgroups. Automatically correcting..."))
                                  .arg(this->id);
                             cout<<qPrintable(s)<<endl;
                        else
                             //this->subgroups[this->nSubgroups++]=tmp;
                             this->iSubgroupsList.append(tmp);
              else if(ss->type==STUDENTS_YEAR){
                   StudentsYear* sty=(StudentsYear*)ss;
                   for(int k=0; k<sty->groupsList.size(); k++){
                        StudentsGroup* stg=sty->groupsList[k];
                        for(int l=0; l<stg->subgroupsList.size(); l++){
                             StudentsSubgroup* sts=stg->subgroupsList[l];
                             int tmp;
                             /*for(tmp=0; tmp<r.nInternalSubgroups; tmp++)
                                  if(r.internalSubgroupsList[tmp]->name == sts->name)
                                       break;*/
                             tmp=sts->indexInInternalSubgroupsList;
                             assert(tmp>=0);
                             assert(tmp<r.nInternalSubgroups);
                             //assert(this->nSubgroups<MAX_SUBGROUPS_PER_ACTIVITY);
                             bool duplicate=false;
                             if(this->iSubgroupsList.contains(tmp))
                             //for(int j=0; j<this->nSubgroups; j++)
                             //     if(this->subgroups[j]==tmp)
                                       duplicate=true;
                             if(duplicate){
                                  QString s;
                                  s=QObject::tr(QString("Warning: activity with id=%1\ncontains duplicated subgroups. Automatically correcting..."))
                                       .arg(this->id);
                                  QObject::tr("&Ok"));
                                  cout<<qPrintable(s)<<endl;
                             else{
                                  //this->subgroups[this->nSubgroups++]=tmp;
                                  this->iSubgroupsList.append(tmp);
              else
                   assert(0);
    }Please help me. In this code we are using some variables. with QT GUI in c++.
    Thanks in advance.
    Manveer.why do you say this?
    My c++ code is:and
    In this code we are using some variables. with QT GUI in c++. You didn't code that. Liviu Lalescu code that, not you.
    He has rights on that code and he published it under gpl.
    So you must say that it is from him, not from you.
    Also if you "translate" (modify) his algorithm you must still care about the gpl. Please read whole gpl and care about that.
    Regards,
    Volker Dirr
    PS:
    compare original code from Liviu at sourceforge or at his homepage:
    http://lalescu.ro/liviu/fet/
    you can see the copied copy in /src/engine/activity.cpp line 167 and following.

  • Please help in correcting the Decode function

    DECODE(p_resp_key,'||'''AP'''||',LINT_LOGI_STG_ITEM_DETAILS_PKG.GET_AP_ITEM_CATEGORY_DTL(ol.inventory_item_id),ldmf_istore_order_pkg.get_wwdb_prod_description(ol.inventory_item_id)) AS description
    I am getting parsing errors during runtime.I believe that something is incorrect in Decode statement.I am calling this Decopde statement in the package.Please help.
    Regards
    M

    Thanks Sven for replying i am pasting the full function kindly tell me which will be the proper manner to correct teh decode statement.Please look for "--CO73977 iStore product description change start by manish" in the belwo defintion there i have used decode function.Kindly help.
    v_statement := 'SELECT /*+ FIRST_ROWS */ DISTINCT ooh.order_number AS "Order Number",
    NVL(bill_cas.attribute5,hp.party_name) AS "Customer Name",
    TO_CHAR(ooh.ordered_date,'||'''DD-MON-YYYY'''||') AS "Order Date",
    TO_CHAR(ooh.booked_date,'||'''DD-MON-YYYY'''||') AS "Booked Date",
    TO_CHAR(ol.request_date,'||'''DD-MON-YYYY'''||') AS "Requested Date",
    oel.meaning AS "Order Status",
    ooh.cust_po_number AS "PO Number",
    ooh.transactional_curr_code AS currency,
    terms.NAME AS "Payment Terms",
    freight.meaning AS "Freight Term",
    fob.meaning AS "FOB",
    ooh.sales_channel_code AS "Sales Channel",
    bill_to.LOCATION AS "Bill To Location",
    ship_to.LOCATION AS "Ship To Location",
    terr.segment1 AS "Sales Territory - Country",
    ott.NAME AS "Order Type",
    oe_totals_grp.get_order_total (ooh.header_id,NULL,'||'''ALL'''||')* DECODE (ooh.order_category_code, '||'''RETURN'''||', -1, 1) AS "Order Total",
    CONCAT(CONCAT(ol.line_number,'||'''.'''||'),ol.shipment_number) AS "Line Number",
    ol.ordered_item AS "Item Number",
    ldmf_get_customer_item(ol.sold_to_org_id,ol.inventory_item_id,ol.invoice_to_org_id,ol.ship_to_org_id) AS "Customer SKU",
    --ldmf_istore_order_pkg.get_wwdb_prod_description(ol.inventory_item_id) AS description,
                             --CO73977 iStore product description change start by manish
                             --DECODE(p_resp_key,'||'''AP'''||',LINT_LOGI_STG_ITEM_DETAILS_PKG.GET_AP_ITEM_CATEGORY_DTL(ol.inventory_item_id),ldmf_istore_order_pkg.get_wwdb_prod_description(ol.inventory_item_id)) AS description,
              --CO73977 iStore product description change end by manish
                             LINT_LOGI_STG_ITEM_DETAILS_PKG.GET_AP_ITEM_CATEGORY_DTL(ol.inventory_item_id) AS description,
    ol.ordered_quantity AS "Ordered Quantity",
    ol.shipped_quantity AS "Shipped Quantity",
    TO_CHAR(ol.schedule_ship_date,'||'''DD-MON-YYYY'''||') AS "Schedule Ship Date",
    ol.unit_selling_price AS "Unit Price",
    ol.ordered_quantity * ol.unit_selling_price AS "Extended Amount",
    ol.tax_value "taxes_total",
    ldmf_istore_order_pkg.get_freight_charges(ooh.header_id,ol.line_id) AS "Freight Charges",
    ldmf_istore_order_pkg.get_pallet_charges (ooh.header_id,ol.line_id) AS "Pallet Surcharge",
    oe_oe_totals_summary.line_charges (ooh.header_id, ol.line_id ) AS "Total Charges",
    DECODE(oell.meaning,'||'''Awaiting Shipping'''||','||'DECODE(TO_CHAR(LDMF_ISTORE_ORDER_PKG.CHK_DELIVERY_LN_EXISTS(ol.header_id,ol.line_id)),'||
                                                                                                                  '''1'''||','||'''Picked'''||','||
                                                                                                                       '''2'''||','||'''Picked Partial'''||','||'oell.meaning)
                             ,oell.meaning) AS "Line Status",
    TO_CHAR(ol.actual_shipment_date,'||'''DD-MON-YYYY'''||') AS "Ship Date",
    (SELECT ware_house.NAME
    FROM hr_all_organization_units_tl ware_house
    WHERE ware_house.organization_id = NVL(ol.ship_from_org_id,ooh.ship_from_org_id)) AS WAREHOUSES,
    LDMF_ISTORE_ORDER_PKG.GET_TRACKING_NUMBER(ol.header_id,ol.line_id) AS "Tracking Number",
    LDMF_ISTORE_ORDER_PKG.GET_WAYBILL_NUMBER(ol.header_id,ol.line_id) AS "Waybill Number",
    LDMF_ISTORE_ORDER_PKG.GET_DELIVERY_NUMBER(ol.header_id,ol.line_id) delivery_number,
    LDMF_ISTORE_ORDER_PKG.GET_PRO_NUMBER(ol.header_id,ol.line_id) AS "Pro Number",
    LDMF_ISTORE_SALESREP_PKG.LDMF_ISTORE_CHECK_HOLDS(hcaa.cust_account_id,ooh.header_id,ol.line_id) AS "Hold Applied",
    LDMF_ISTORE_ORDER_PKG.GET_CONV_RATE(ol.ordered_item_id,ooh.org_id) AS "Pallet Qty",
    ROUND(ol.ordered_quantity/DECODE(LDMF_ISTORE_ORDER_PKG.GET_CONV_RATE(ol.ordered_item_id,ooh.org_id),0,1,LDMF_ISTORE_ORDER_PKG.GET_CONV_RATE(ol.ordered_item_id,ooh.org_id)),2) AS "Pallet#",
    ldmf_istore_order_pkg.get_invoice_number(ooh.order_number,ol.line_id) AS "Invoice Number",
    ldmf_istore_salesrep_pkg.get_promonum(ooh.header_id,ol.line_id) AS "Promo Number",
    ol.line_number,ol.shipment_number,ooh.header_id,ooh.ordered_date,
    LDMF_ISTORE_ORDER_PKG.GET_SHIP_METHOD_MEANING(ol.header_id,ol.line_id) AS SHIP_METHOD_CODE,
    terms.description AS "Payment_Term_Desc",
    TO_CHAR((LDMF_ISTORE_ORDER_PKG.GET_ESTI_ARR_DATE(ol.ACTUAL_SHIPMENT_DATE,
                             ol.SHIP_FROM_ORG_ID,
                             ol.SHIP_TO_ORG_ID,
                             ol.SHIPPING_METHOD_CODE )),'||'''DD-MON-YYYY'''||') AS "Arrival_Date",
                             DECODE (LDMF_ISTORE_ORDER_PKG.GET_ORD_AMDMT_STATUS(ooh.header_id,ol.line_id),1 ,'||'''YES'''||',NULL) AS "Pending_Approval"
    FROM oe_order_headers_all ooh,
    oe_order_lines_all ol,
    hz_cust_accounts_all hcaa,
    oe_transaction_types_all otta,
    oe_transaction_types_tl ott,
    hz_parties hp,
    hz_party_sites hps,
    oe_lookups oel,
    oe_lookups oell,
    ra_terms terms,
    fnd_lookup_values freight,
    fnd_lookup_values fob,
    wsh_new_deliveries dl,
    wsh_delivery_details dd,
    wsh_delivery_assignments da,
    oe_order_holds_all holds,
    hz_cust_site_uses_all bill_to,
    hz_cust_acct_sites_all bill_cas,
    hz_cust_site_uses_all ship_to,
    hz_cust_acct_sites_all ship_cas,
    hz_locations loc,
    ra_territories terr,
    org_organization_definitions ware_house,
    wsh_carrier_services wcs
    WHERE ooh.header_id = ol.header_id
    AND ooh.sold_to_org_id = hcaa.cust_account_id
    AND wcs.ship_method_code(+) = ol.shipping_method_code
    AND hcaa.party_id = hp.party_id
    AND hps.party_id = hp.party_id
    AND loc.location_id = hps.location_id
    AND ship_cas.party_site_id = hps.party_site_id
    AND ooh.order_type_id = otta.transaction_type_id
    AND ooh.order_type_id = ott.transaction_type_id
    AND terms.term_id(+) = ooh.payment_term_id
    AND da.delivery_id = dl.delivery_id (+)
    AND dd.delivery_detail_id = da.delivery_detail_id(+)
    AND ship_to.cust_acct_site_id = ship_cas.cust_acct_site_id
    AND ship_to.site_use_id = ooh.ship_to_org_id
    AND ware_house.organization_id(+) = ol.ship_from_org_id
    AND bill_to.cust_acct_site_id = bill_cas.cust_acct_site_id
    AND bill_to.site_use_id = ooh.invoice_to_org_id
    AND bill_to.territory_id = terr.territory_id
    AND ol.header_id = dd.source_header_id(+)
    AND ol.line_id = dd.source_line_id(+)
    AND ol.line_id = holds.line_id(+)
    AND freight.lookup_type = '||'''FREIGHT_TERMS'''||'
    AND freight.LANGUAGE =USERENV('||'''LANG'''||')
    AND freight.lookup_code = ooh.freight_terms_code
    AND ott.LANGUAGE = USERENV('||'''LANG'''||')
    AND fob.lookup_code = ooh.fob_point_code
    AND fob.lookup_type = '||'''FOB'''||'
    AND fob.LANGUAGE =USERENV('||'''LANG'''||')
    AND NVL(otta.attribute10,'||'''Y'''||') <> '||'''N'''||'
    AND oel.lookup_code = ooh.flow_status_code
    AND oel.lookup_type = '||'''FLOW_STATUS'''||'
    AND oell.lookup_code = ol.flow_status_code
    AND oell.lookup_type = '||'''LINE_FLOW_STATUS'''||'
    AND ol.line_category_code <> '||'''RETURN'''||'
    AND ooh.order_category_code IN ('||'''ORDER'''||','||'''MIXED'''||')
    AND ooh.sold_to_org_id = '||p_sold_to_org_id
    || ' AND TRUNC(ooh.ordered_date) >= TRUNC(SYSDATE - '||p_no_of_days||')';
    v_statement := v_statement || ' ORDER BY ooh.ordered_date DESC,ooh.header_id,ol.line_number,ol.shipment_number ';
    OPEN p_data FOR v_statement;
    EXCEPTION
    WHEN OTHERS THEN
    errbuf := SQLERRM ;
    retcode := SQLCODE ;
    END ORDER_TRACKER_DAYS;
    --This Procedure fetches the Order details between the given from date and to date.
    PROCEDURE ORDER_TRACKER_BETWEEN_DAYS( p_sold_to_org_id IN NUMBER
    ,p_search_by IN VARCHAR2
    ,p_start_date IN DATE
    ,p_end_date IN DATE
                             ,p_resp_key IN VARCHAR2
    ,p_data OUT shop_cartdownload
    ,errbuf OUT VARCHAR2
    ,retcode OUT NUMBER
    ) AS
    v_start_date VARCHAR2(1000);
    v_end_date VARCHAR2(1000);
    v_search_by VARCHAR2(1000);
    BEGIN
    SELECT ''''||p_start_date||'''' INTO v_start_date FROM dual;
    SELECT ''''||p_end_date||'''' INTO v_end_date FROM dual;
    v_statement := NULL;
    v_statement := 'SELECT /*+ FIRST_ROWS */ DISTINCT ooh.order_number AS "Order Number",
    NVL(bill_cas.attribute5,hp.party_name) AS "Customer Name",
    TO_CHAR(ooh.ordered_date,'||'''DD-MON-YYYY'''||') AS "Order Date",
    TO_CHAR(ooh.booked_date,'||'''DD-MON-YYYY'''||') AS "Booked Date",
    TO_CHAR(ol.request_date,'||'''DD-MON-YYYY'''||') AS "Requested Date",
    oel.meaning AS "Order Status",
    ooh.cust_po_number AS "PO Number",
    ooh.transactional_curr_code AS currency,
    terms.NAME AS "Payment Terms",
    freight.meaning AS "Freight Term",
    fob.meaning AS "FOB",
    ooh.sales_channel_code AS "Sales Channel",
    bill_to.LOCATION AS "Bill To Location",
    ship_to.LOCATION AS "Ship To Location",
    terr.segment1 AS "Sales Territory - Country",
    ott.NAME AS "Order Type",
    oe_totals_grp.get_order_total (ooh.header_id,NULL,'||'''ALL'''||')* DECODE (ooh.order_category_code, '||'''RETURN'''||', -1, 1) AS "Order Total",
    CONCAT(CONCAT(ol.line_number,'||'''.'''||'),ol.shipment_number) AS "Line Number",
    ol.ordered_item AS "Item Number",
    ldmf_get_customer_item(ol.sold_to_org_id,ol.inventory_item_id,ol.invoice_to_org_id,ol.ship_to_org_id) AS "Customer SKU",
    --ldmf_istore_order_pkg.get_wwdb_prod_description(ol.inventory_item_id) AS description,
                             --CO73977 iStore product description change start by manish
                             DECODE(p_resp_key,'||'''AP'''||',LINT_LOGI_STG_ITEM_DETAILS_PKG.GET_AP_ITEM_CATEGORY_DTL(ol.inventory_item_id),ldmf_istore_order_pkg.get_wwdb_prod_description(ol.inventory_item_id)) AS description,
              --CO73977 iStore product description change end by manish
    ol.ordered_quantity AS "Ordered Quantity",
    ol.shipped_quantity AS "Shipped Quantity",
    TO_CHAR(ol.schedule_ship_date,'||'''DD-MON-YYYY'''||') AS "Schedule Ship Date",
    ol.unit_selling_price AS "Unit Price",
    ol.ordered_quantity * ol.unit_selling_price AS "Extended Amount",
    ol.tax_value "taxes_total",
    ldmf_istore_order_pkg.get_freight_charges(ooh.header_id,ol.line_id) AS "Freight Charges",
    ldmf_istore_order_pkg.get_pallet_charges (ooh.header_id,ol.line_id) AS "Pallet Surcharge",
    oe_oe_totals_summary.line_charges (ooh.header_id, ol.line_id ) AS "Total Charges",
    DECODE(oell.meaning,'||'''Awaiting Shipping'''||','||'DECODE(TO_CHAR(LDMF_ISTORE_ORDER_PKG.CHK_DELIVERY_LN_EXISTS(ol.header_id,ol.line_id)),'||
                                                                                         '''1'''||','||'''Picked'''||','||
                                                                                              '''2'''||','||'''Picked Partial'''||','||'oell.meaning)
                             ,oell.meaning) AS "Line Status",
    TO_CHAR(ol.actual_shipment_date,'||'''DD-MON-YYYY'''||') AS "Ship Date",
    (SELECT ware_house.NAME
    FROM hr_all_organization_units_tl ware_house
    WHERE ware_house.organization_id = NVL(ol.ship_from_org_id,ooh.ship_from_org_id)) AS WAREHOUSES,
    LDMF_ISTORE_ORDER_PKG.GET_TRACKING_NUMBER(ol.header_id,ol.line_id) AS "Tracking Number",
    LDMF_ISTORE_ORDER_PKG.GET_WAYBILL_NUMBER(ol.header_id,ol.line_id) AS "Waybill Number",
    LDMF_ISTORE_ORDER_PKG.GET_DELIVERY_NUMBER(ol.header_id,ol.line_id) delivery_number,
    LDMF_ISTORE_ORDER_PKG.GET_PRO_NUMBER(ol.header_id,ol.line_id) AS "Pro Number",
    LDMF_ISTORE_SALESREP_PKG.LDMF_ISTORE_CHECK_HOLDS(hcaa.cust_account_id,ooh.header_id,ol.line_id) AS "Hold Applied",
    LDMF_ISTORE_ORDER_PKG.GET_CONV_RATE(ol.ordered_item_id,ooh.org_id) AS "Pallet Qty",
    ROUND(ol.ordered_quantity/DECODE(LDMF_ISTORE_ORDER_PKG.GET_CONV_RATE(ol.ordered_item_id,ooh.org_id),0,1,LDMF_ISTORE_ORDER_PKG.GET_CONV_RATE(ol.ordered_item_id,ooh.org_id)),2) AS "Pallet#",
    ldmf_istore_order_pkg.get_invoice_number(ooh.order_number,ol.line_id) AS "Invoice Number",
    ldmf_istore_salesrep_pkg.get_promonum(ooh.header_id,ol.line_id) AS "Promo Number",
    ol.line_number,ol.shipment_number,ooh.header_id,ooh.ordered_date,
    LDMF_ISTORE_ORDER_PKG.GET_SHIP_METHOD_MEANING(ol.header_id,ol.line_id) AS SHIP_METHOD_CODE,
    terms.description AS "Payment_Term_Desc",
    TO_CHAR((LDMF_ISTORE_ORDER_PKG.GET_ESTI_ARR_DATE(ol.ACTUAL_SHIPMENT_DATE,
                             ol.SHIP_FROM_ORG_ID,
                             ol.SHIP_TO_ORG_ID,
                             ol.SHIPPING_METHOD_CODE )),'||'''DD-MON-YYYY'''||') AS "Arrival_Date",
                             DECODE (LDMF_ISTORE_ORDER_PKG.GET_ORD_AMDMT_STATUS(ooh.header_id,ol.line_id),1 ,'||'''YES'''||',NULL) AS "Pending_Approval"
    FROM oe_order_headers_all ooh,
    oe_order_lines_all ol,
    hz_cust_accounts_all hcaa,
    oe_transaction_types_all otta,
    oe_transaction_types_tl ott,
    hz_parties hp,
    hz_party_sites hps,
    oe_lookups oel,
    oe_lookups oell,
    ra_terms terms,
    fnd_lookup_values freight,
    fnd_lookup_values fob,
    wsh_new_deliveries dl,
    wsh_delivery_details dd,
    wsh_delivery_assignments da,
    oe_order_holds_all holds,
    hz_cust_site_uses_all bill_to,
    hz_cust_acct_sites_all bill_cas,
    hz_cust_site_uses_all ship_to,
    hz_cust_acct_sites_all ship_cas,
    hz_locations loc,
    ra_territories terr,
    org_organization_definitions ware_house,
    wsh_carrier_services wcs
    WHERE ooh.header_id = ol.header_id
    AND ooh.sold_to_org_id = hcaa.cust_account_id
    AND wcs.ship_method_code(+) = ol.shipping_method_code
    AND hcaa.party_id = hp.party_id
    AND hps.party_id = hp.party_id
    AND loc.location_id = hps.location_id
    AND ship_cas.party_site_id = hps.party_site_id
    AND ooh.order_type_id = otta.transaction_type_id
    AND ooh.order_type_id = ott.transaction_type_id
    AND terms.term_id(+) = ooh.payment_term_id
    AND da.delivery_id = dl.delivery_id (+)
    AND dd.delivery_detail_id = da.delivery_detail_id(+)
    AND ship_to.cust_acct_site_id = ship_cas.cust_acct_site_id
    AND ship_to.site_use_id = ooh.ship_to_org_id
    AND ware_house.organization_id(+) = ol.ship_from_org_id
    AND bill_to.cust_acct_site_id = bill_cas.cust_acct_site_id
    AND bill_to.site_use_id = ooh.invoice_to_org_id
    AND bill_to.territory_id = terr.territory_id
    AND ol.header_id = dd.source_header_id(+)
    AND ol.line_id = dd.source_line_id(+)
    AND ol.line_id = holds.line_id(+)
    AND freight.lookup_type = '||'''FREIGHT_TERMS'''||'
    AND freight.LANGUAGE =USERENV('||'''LANG'''||')
    AND freight.lookup_code = ooh.freight_terms_code
    AND ott.LANGUAGE = USERENV('||'''LANG'''||')
    AND fob.lookup_code = ooh.fob_point_code
    AND fob.lookup_type = '||'''FOB'''||'
    AND fob.LANGUAGE =USERENV('||'''LANG'''||')
    AND NVL(otta.attribute10,'||'''Y'''||') <> '||'''N'''||'
    AND oel.lookup_code = ooh.flow_status_code
    AND oel.lookup_type = '||'''FLOW_STATUS'''||'
    AND ol.line_category_code <> '||'''RETURN'''||'
    AND ooh.order_category_code IN ('||'''ORDER'''||','||'''MIXED'''||')
    AND oell.lookup_code = ol.flow_status_code
    AND oell.lookup_type = '||'''LINE_FLOW_STATUS'''||'
    AND ooh.sold_to_org_id = '||p_sold_to_org_id ;
    IF p_search_by = '1' THEN
    v_search_by := ' AND TRUNC(ooh.ordered_date) ';
    ELSIF p_search_by = '2' THEN
    v_search_by := ' AND TRUNC(ol.request_date) ';
    ELSIF p_search_by = '3' THEN
    v_search_by := ' AND TRUNC(ol.actual_shipment_date) ';
    ELSIF p_search_by = '4' THEN
    v_search_by := ' AND TRUNC(ol.schedule_ship_date) ';
    END IF;
    v_statement := v_statement || v_search_by;
    v_statement := v_statement ||' >= '|| v_start_date || v_search_by ||' <= '||v_end_date;
    v_statement := v_statement || ' ORDER BY ooh.ordered_date DESC,ooh.header_id,ol.line_number,ol.shipment_number ';
    OPEN p_data FOR v_statement;
    EXCEPTION
    WHEN OTHERS THEN
    errbuf := SQLERRM ;
    retcode := SQLCODE ;
    END ORDER_TRACKER_BETWEEN_DAYS;

Maybe you are looking for

  • Office 2013 64Bit on WIN 8.1 64bit MAIL control panel

    Hey guys I found out that after installing Office 2013 home and business (64bit office only) on a windows 8.1 pro 64bit the mail options in the control panel will not open or come up to create new profiles. This seems to only happen with the 64bit ve

  • Problem with connecting to 11.1 database via Oracle Net

    Hello, I have 11.1 database running on Windows. It's named 'test1' and it is only started (not mounted). I'm trying to connect to it via Oracle Net, but always get ORA-12154: TNS:could not resolve the connect identifier specified This is my listener.

  • Getting Blue Screen error BCCode: 1a

    Sometimes mi PC with windows VISTA have espontaneus Blue Screen Error.Then after startup I would get this message,can someone tell me what I shshould do? Problem signature: Problem Event Name: BlueScreen OS Version: 6.0.6002.2.2.0.768.3 Locale ID: 11

  • Getting undefined reference error

    Hi Iam using GCC 4.1.2 in solaris with Oracle 9.0.2 I have the following program #include <iostream.h> #include <occi.h> using namespace oracle::occi; using namespace std; int main() Environment *Env = Environment::createEnvironment(Environment::DEFA

  • Edge 15 shift keys not working

    have a new edge 15. the shift keys do not work at all. the onscreen keyboard shift keys work fine. is this a minor setting that needs to be disabled? when i have the onscreen keyboard up and hit the shift key on the laptop nothing happens. when i hit