Problem with SELECT statement. What is wrong with it?
Why is this query....
<cfquery datasource="manna_premier" name="kit_report">
SELECT Orders.ID,
SaleDate,
Orders.UserID,
Distributor,
DealerID,
Variable,
TerritoryManager,
US_Dealers.ID,
DealerName,
DealerAddress,
DealerCity,
DealerState,
DealerZIPCode,
(SELECT SUM(Quantity)
FROM ProductOrders PO
WHERE PO.OrderID = Orders.ID) as totalProducts,
FROM Orders, US_Dealers
WHERE US_Dealers.ID = DealerID AND SaleDate BETWEEN #CreateODBCDate(FORM.Start)# AND #CreateODBCDate(FORM.End)# AND Variable = '#Variable#'
</cfquery>
giving me this error message...
Error Executing Database Query.
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect.
The error occurred in D:\Inetpub\mannapremier\kit_report2.cfm: line 20
18 : WHERE PO.OrderID = Orders.ID) as totalProducts,
19 : FROM Orders, US_Dealers
20 : WHERE US_Dealers.ID = DealerID AND SaleDate BETWEEN #CreateODBCDate(FORM.Start)# AND #CreateODBCDate(FORM.End)# AND Variable = '#Variable#'
21 : </cfquery>
22 :
SQLSTATE
42000
SQL
SELECT Orders.ID, SaleDate, Orders.UserID, Distributor, DealerID, Variable, TerritoryManager, US_Dealers.ID, DealerName, DealerAddress, DealerCity, DealerState, DealerZIPCode, (SELECT SUM(Quantity) FROM ProductOrders PO WHERE PO.OrderID = Orders.ID) as totalProducts, FROM Orders, US_Dealers WHERE US_Dealers.ID = DealerID AND SaleDate BETWEEN {d '2009-10-01'} AND {d '2009-10-31'} AND Variable = 'Chick Days pre-book'
VENDORERRORCODE
-3504
DATASOURCE
manna_premier
Resources:
I copied it from a different template where it works without error...
<cfquery name="qZVPData" datasource="manna_premier">
SELECT UserID,
TMName,
UserZone,
(SELECT COUNT(*)
FROM Sales_Calls
WHERE Sales_Calls.UserID = u.UserID) as totalCalls,
(SELECT COUNT(*)
FROM Orders
WHERE Orders.UserID = u.UserID) as totalOrders,
(SELECT SUM(Quantity)
FROM ProductOrders PO
WHERE PO.UserID = u.UserID AND PO.NewExisting = 1) as newItems,
(SELECT SUM(NewExisting)
FROM ProductOrders PO_
WHERE PO_.UserID = u.UserID) as totalNew,
SUM(totalOrders)/(totalCalls) AS closePerc
FROM Users u
WHERE UserZone = 'Central'
GROUP BY UserZone, UserID, TMName
</cfquery>
What is the problem?
It's hard to say: what's your request timeout set to?
700-odd records is not much of a fetch for a decent DB, and I would not expect that to case the problem. But then you're using Access which doesn't fit the description of "decent DB" (or "fit for purpose" or "intended for purpose"), so I guess all bets are off one that one. If this query is slow when ONE request is asking for it, what is going to happen when it goes live and multiple requests are asking for it, along with all the other queries your site will want to run? Access is not designed for this. It will really struggle, and cause your site to run like a dog. One that died serveral weeks ago.
What else is on the template? I presume you're doing something with the query once you fetch it, so could it be that code that's running slowly? Have you taken any steps to isolate which part of the code is taking so long?
How does the query perform if you take the subquery out of the select line? Is there any other way of getting that data? What subquery will be running once for every row of the result set... not very nice.
Adam
Similar Messages
-
Where condition problem in select statement.
Hi,
I am trying to write select statement as below
SELECT objectclas objectid FROM cdhdr INTO CORRESPONDING FIELDS OF TABLE ltab_chgdocu
WHERE objectclas IN ('STUE' , 'STUE_V')
AND ( TCODE eq 'CS01u2019 or tcode eq u2019CS02u2019 or tcode eq 'C201' or tcode eq 'C202' ) .
But I am getting the error like "literals that takes up more than one line or not permitted"
Please let me know whats wrong and correct me .
Thanks,
Vinay.Hi Vinay,
Declare constants
constants : c_stue type CDOBJECTCL value 'STUE',
c_stue_v type CDOBJECTCL value 'STUE_V',
c_cs01 type sy-tcode value 'CS01',
c_cs02 type sy-tcode value 'CS02',
c_C201 type sy-tcode value 'C201',
c_C202 type sy-tcode value 'C202'.
And replace your hardcoded values with these constants in your select query.
SELECT objectclas objectid FROM cdhdr INTO CORRESPONDING FIELDS OF TABLE it_tab
WHERE objectclas IN (c_STUE , c_STUE_V)
AND ( TCODE eq c_CS01
or tcode eq c_CS02
or tcode eq c_C201
or tcode eq c_C202 ).
Thanks & Regards
- Always Leaner -
Hi Experts,
I am facing the problem in the select statement where it giving the short dump
DBIF_RSQL_INVALID_RSQL CX_SY_OPEN_S.
i have searched many forms, but i found that the select option s_matnr have the limitaion 2000 entreis, but i am passing same s_matnr to other select statement with more than 2000 entries but it is not giving me any short dump.
but i am facing problem with only one select statement where if i pass select option s_matnr more than 1500 entris also giving short dump.
my select statement is
SELECT * FROM bsim
INTO CORRESPONDING FIELDS OF TABLE g_t_bsim_lean
FOR ALL ENTRIES IN t_bwkey WHERE bwkey = t_bwkey-bwkey
AND matnr IN matnr
AND bwtar IN bwtar
AND budat >= datum-low.
in the internal table g_t_bsim_lean internal table contain all the fields of the table bsim with 2 fields from other table.
Please let me know whether i need to change the select statement or any other solution for this.
Regards,
udupimy select query is like this:
DATA: BEGIN OF t_bwkey OCCURS 0, "184465
bwkey LIKE bsim-bwkey, "184465
END OF t_bwkey. "184465
LOOP AT g_t_organ WHERE keytype = c_bwkey.
MOVE g_t_organ-bwkey TO t_bwkey-bwkey.
COLLECT t_bwkey. "184465
ENDLOOP. "184465
READ TABLE t_bwkey INDEX 1. "184465
CHECK sy-subrc = 0. "184465
SELECT * FROM bsim "n443935
INTO CORRESPONDING FIELDS OF TABLE g_t_bsim_lean "n443935
FOR ALL ENTRIES IN t_bwkey WHERE bwkey = t_bwkey-bwkey
AND matnr IN matnr
AND bwtar IN bwtar
AND budat >= datum-low. -
Problem executing SELECT statement due to st_spatial column type
I am using a CachedRowSet and cache.execute() will not run because it does not support the st_spatial column type. I have been told to use the column metadata to build a select statement of column names, and check the column's type before you add it to the select clause. But, I am unsure of what to do since I can't get column names without running a select statement first... I will attach some code for you to look at, but please give me suggestions!
try{
Class.forName("com.informix.jdbc.IfxDriver");
CachedRowSet cache = new CachedRowSet();
cache.setReadOnly(true);
cache.setUrl(dbname);
cache.setUsername(user);
cache.setPassword(password);
cache.setCommand("SELECT * FROM "+table);
try{
cache.execute();
}catch(Exception e){
out.print("Can't Display");
OTHER JSP CODE THAT WORKS WITH THE RESULTS FROM ABOVE
}catch(Exception exc){
out.println(exc.toString());
} // end try-catchI honestly don't have a clue. I have no idea what the st_spatial data type is, or where it is defined, and as a result, I don't know why Java would be complaining about it. I do know that java.sql.ResultSet doesn't care about it (it would internally recognize it as a plain old object type via the getObject() method and you would have to cast it to st_spatial).
What I would check:
Is the Informix driver up to date?
Does the CachedRowSet class extend ResultSet or otherwise use it as an internal data structure? If so, does it properly create the ResultSetMetaData object and no exceptions are being trapped?
Otherwise... when copying data from the ResultSet object into its own internal data structure, does it correctly realize that the st_spatial column should NOT be copied into a String or a slot in a String array?
Does a quick and dirty command line version of your program properly use CachedRowSet to retrieve at least one record from your database?
Basically, put the JSP aside and just test the CachedRowSet to make sure it is working correctly. I have no idea what's in that class since it is not a Java standard class, so I can't really give you any additional suggestions. -
Having Problem in select statement.
Dear gurus
im having an issue in select statement.
i have written a select statement which is fetching the result as i required but it takes to much time to execute.
how to make it work fast.
SELECT vbak~vkbur vbap~vbeln vbap~posnr vbak~audat
vbap~kwmeng vbap~meins vbak~kunnr vbak~vkorg
vbak~vtweg vbak~spart matnr matkl auart
vbap~abgru
INTO CORRESPONDING FIELDS OF TABLE so_tab
FROM vbak
JOIN vbap ON vbak~vbeln = vbap~vbeln
WHERE audat IN in_date
AND matnr IN matnr
AND ( auart = 'ZISO' OR auart = 'ZEXP' )
AND vbap~werks IN werks .
SELECT lips~vbeln lips~posnr likp~lfdat lips~lfimg
lips~meins likp~kunag matnr vgbel vgpos
lfart
INTO CORRESPONDING FIELDS OF TABLE del_tab
FROM likp
JOIN lips ON likp~vbeln = lips~vbeln
FOR ALL entries IN so_tab
WHERE vgbel = so_tab-vbeln
AND vgpos = so_tab-posnr
AND lfdat IN in_date
AND likp~werks IN werks.
Regards
Saad Nisar.Hi,
I agree with sabu.
Along with these you need to do following things -
SELECT vbak~vkbur vbap~vbeln vbap~posnr vbak~audat
vbap~kwmeng vbap~meins vbak~kunnr vbak~vkorg
vbak~vtweg vbak~spart matnr matkl auart
vbap~abgru
INTO CORRESPONDING FIELDS OF TABLE so_tab
FROM vbak
JOIN vbap ON vbak~vbeln = vbap~vbeln
WHERE audat IN in_date
AND matnr IN matnr
AND ( auart = 'ZISO' OR auart = 'ZEXP' )
AND vbap~werks IN werks .
{color:green}
*if sy-subrc eq 0.*
*so_tab_tmp[] = so_tab[].*
*sort so_tab_tmp by vbeln posnr.*
*delete adjacent duplicates from so_tab_tmp by vbeln posnr.*
*if so_tab_tmp[] is not initial.*
{color:green}
SELECT lips~vbeln lips~posnr likp~lfdat lips~lfimg
lips~meins likp~kunag matnr vgbel vgpos
lfart
INTO CORRESPONDING FIELDS OF TABLE del_tab
FROM likp
JOIN lips ON likp~vbeln = lips~vbeln
FOR ALL entries IN so_tab_tmp
WHERE vgbel = so_tab_tmp-vbeln
AND vgpos = so_tab_tmp-posnr
AND lfdat IN in_date
AND likp~werks IN werks.
{color:green}
*endif.*
*endif.*
{color:green} -
Problem to establish connection what the wrong with this
dears
i want to access the oracle database without ODBC bridge.
i dowload the thin driver from Oracle site.
1.ojdbc14.jar is in my claspath.
2.actually i do the following i have oracle 8.0 for winnt.
go to system manager and create user "administrator" after this give grants dba to that user.
now my code is as under
import java.sql.*;
public class LoadDriveroracleuser
public Connection conn=null;
public LoadDriveroracleuser()
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
conn=DriverManager.getConnection("jdbc:oracle:thin:@host:1521:database","administrator","allah");
}catch(Exception ex){
MyOptionPane.MyErrorMessage(null,ex.getMessage());
System.exit(0);
}//end of constructor
}//end of classthe exception is occur that// network adapter not established the connection.
actually i am not knowing that host:1521:database how set these .
i have standalone application.not using the server.
plz guide me i am very thankful to uIf Oracle is set up properly he should be able to
connect using JDBC without having the client installed
or any TNS names set. The JDBC driver alone is
sufficient.
It wouldn't be a bad idea to follow this suggestion,
but it's not necessary for JDBC's sake.
%Yeah of course it's not necessary for JDBC - it would just allow him to ascertain whether SQLplus works.
Somehow i've a sneaky feeling that this 'database' that's being used to connect is just a marker/plain english instead of the actual name of the database :) -
HI FRNDS ..
I AM HAVING SOME ERRORS IN THE WHERE CLAUSE PLZ CORRECT IT
select DOCNO into t_DOCNO from J_1IEXCHDR
where exnum = gf_text and
status ne ( 'd' and 'r' and 'b' ).
PLZ HELP ME TO COLLECT VALU OF THE STATUS FILED WHER IT IS NOT EQUAL TO D, R AND BRANGES: R_STAT FOR J_1IEXCHDR-STATUS.
R_STAT-LOW = 'D'.
R_STAT-SIGN = 'I'.
R_STAT-OPTION = 'EQ'.
APPEND R_STAT.
CLEAR R_STAT.
R_STAT-LOW = 'R'.
R_STAT-SIGN = 'I'.
R_STAT-OPTION = 'EQ'.
APPEND R_STAT.
CLEAR R_STAT.
R_STAT-LOW = 'B'.
R_STAT-SIGN = 'I'.
R_STAT-OPTION = 'EQ'.
APPEND R_STAT.
CLEAR R_STAT.
DATA: T_DOCNO LIKE J_1IEXCHDR-DOCNO OCCURS 0 WITH HEADER LINE.
DATA: GF_TEXT LIKE J_1IEXCHDR-EXNUM.
SELECT DOCNO INTO TABLE T_DOCNO FROM J_1IEXCHDR
WHERE EXNUM = GF_TEXT
AND
STATUS NOT IN R_STAT.
Try to use Ranges.
Regards
vijay -
Problem in select statement(urgent)
hi experts,
my ztable structure is,
year(key) customer(key) month(key) quan1 quan2 quan3
2006 britania 01 23 12 13
2006 britania 06 34 24 15
2006 britania 09 45 10 22
i want to select quan1 from the above ztable for the same customer in the same year but the maximum of month.how to do that.
in the above data i want to select 45 for britania in 2006.
please give me the solution.
thanks in advance
regards,
Ashok.Hi Ashok
Please try with code similar to this:
select year customer max( month )
from <ztable>
into <itab>
where <cond>
group by year customer.
Kind Regards
Eswar -
Performance problem in SELECT statement
HI All,
How to improve the performance in given query?
Query is..
data : begin of tzdate OCCURS 0,
zdate like sy-datum,
end of tzdate.
data: p_adrnr like lfa1-lifnr.
SELECT single adrnr into p_adrnr
FROM lfa1
WHERE lifnr = ilifnr-lifnr
AND land1 IN s_land1.
CONCATENATE '%' p_adrnr '%' INTO email_objectid.
SELECT udate INTO table tzdate
FROM cdhdr
WHERE objectclas = 'ADRESSE'
AND objectid LIKE email_objectid
AND tcode IN r_tcode.
Regards,
-D.
Moderator message - Please see Please Read before Posting in the Performance and Tuning Forum before posting - post locked
Edited by: Rob Burbank on Sep 16, 2009 10:14 AMHI All,
How to improve the performance in given query?
Query is..
data : begin of tzdate OCCURS 0,
zdate like sy-datum,
end of tzdate.
data: p_adrnr like lfa1-lifnr.
SELECT single adrnr into p_adrnr
FROM lfa1
WHERE lifnr = ilifnr-lifnr
AND land1 IN s_land1.
CONCATENATE '%' p_adrnr '%' INTO email_objectid.
SELECT udate INTO table tzdate
FROM cdhdr
WHERE objectclas = 'ADRESSE'
AND objectid LIKE email_objectid
AND tcode IN r_tcode.
Regards,
-D.
Moderator message - Please see Please Read before Posting in the Performance and Tuning Forum before posting - post locked
Edited by: Rob Burbank on Sep 16, 2009 10:14 AM -
Flash player 10 problem, don't know what is wrong, pls help
ok for some reason my computer got rlly slow so i restored to a previous date by use of norton 360(the reason i did this is because other things worked ok but
not very well and it was stil rlly slow)so after i restore i come to watch youtube and it says my current adobe flash player needs to be updated so i go update it then i go back to watch the video but the message stil says my flash player cant play the video, so i uninstall my flash player then reinstall it but it stil wont play the video so i say tht ill fix it later but when i go to play some flash games i cant play them either so i go to watch anime and i cant watch it either so norton somehow messed up my flash player when i restored it to a previous date and i dont know what it did or how it did it so could i pls get some help on this matterHi, If you followed Norton's instructions, then you may want to ask them what needs to be done. You can Uninstall Flash Player and Install it again. Follow the instructions here.
http://kb2.adobe.com/cps/191/tn_19166.html
Thanks,
eidnolb -
What's wrong with my pacman -Syu [Solved]
When I upgrade my archlinux, it has a problem like this, so what's wrong?
==================
checking package integrity...
(223/223) checking for file conflicts [#######################################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
klibc: /usr/lib/klibc/include/asm/Kbuild exists in filesystem
klibc: /usr/lib/klibc/include/asm/a.out.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/acpi.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/agp.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/alternative-asm.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/alternative.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/apic.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/apicdef.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/arch_hooks.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/asm-offsets.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/atomic.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/atomic_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/atomic_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/auxvec.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/bitops.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/boot.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/bootparam.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/bug.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/bugs.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/byteorder.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/cache.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/cacheflush.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/calgary.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/calling.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/checksum.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/checksum_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/checksum_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/cmpxchg.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/cmpxchg_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/cmpxchg_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/compat.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/cpu.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/cpufeature.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/cputime.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/current.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/debugreg.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/delay.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/desc.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/desc_defs.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/device.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/div64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/dma-mapping.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/dma.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/dmi.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/dwarf2.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/e820.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/edac.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/elf.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/emergency-restart.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/errno.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/fb.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/fcntl.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/fixmap.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/fixmap_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/fixmap_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/floppy.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/frame.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/futex.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/gart.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/genapic.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/genapic_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/genapic_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/geode.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/hardirq.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/hardirq_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/hardirq_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/highmem.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/hpet.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/hw_irq.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/hypertransport.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/i387.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/i8253.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/i8259.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/ia32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/ia32_unistd.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/idle.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/intel_arch_perfmon.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/io.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/io_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/io_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/io_apic.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/ioctl.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/ioctls.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/iommu.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/ipcbuf.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/ipi.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/irq.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/irq_regs.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/irq_regs_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/irq_regs_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/irqflags.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/ist.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/k8.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/kdebug.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/kexec.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/kmap_types.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/kprobes.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/ldt.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/lguest.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/lguest_hcall.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/linkage.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/local.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/apm.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/do_timer.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/entry_arch.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/mach_apic.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/mach_apicdef.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/mach_ipi.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/mach_mpparse.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/mach_mpspec.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/mach_timer.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/mach_traps.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/mach_wakecpu.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/pci-functions.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/setup_arch.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-default/smpboot_hooks.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-generic/mach_apic.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-generic/mach_apicdef.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-generic/mach_ipi.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-generic/mach_mpparse.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-generic/mach_mpspec.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-voyager/do_timer.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-voyager/entry_arch.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mach-voyager/setup_arch.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/math_emu.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mc146818rtc.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mca.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mca_dma.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mce.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mman.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mmu.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mmu_context.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mmu_context_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mmu_context_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mmx.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mmzone.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mmzone_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mmzone_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/module.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mpspec.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mpspec_def.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/msgbuf.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/msidef.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/msr-index.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/msr.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mtrr.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mutex.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mutex_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/mutex_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/nmi.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/numa.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/numa_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/numa_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/numaq.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/page.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/page_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/page_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/param.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/paravirt.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/parport.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pci-direct.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pci.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pci_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pci_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pda.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/percpu.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pgalloc.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pgtable-2level-defs.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pgtable-2level.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pgtable-3level-defs.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pgtable-3level.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pgtable.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pgtable_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/pgtable_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/poll.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/posix_types.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/posix_types_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/posix_types_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/prctl.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/processor-cyrix.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/processor-flags.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/processor.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/proto.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/ptrace-abi.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/ptrace.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/reboot.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/reboot_fixups.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/required-features.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/resource.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/resume-trace.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/rio.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/rtc.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/rwlock.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/rwsem.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/scatterlist.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/seccomp.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/seccomp_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/seccomp_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/sections.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/segment.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/sembuf.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/serial.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/setup.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/shmbuf.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/shmparam.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/sigcontext.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/sigcontext32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/siginfo.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/signal.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/smp.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/socket.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/sockios.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/sparsemem.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/spinlock.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/spinlock_types.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/srat.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/stacktrace.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/stat.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/statfs.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/string.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/string_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/string_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/suspend.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/suspend_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/suspend_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/swiotlb.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/sync_bitops.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/system.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/system_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/tce.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/termbits.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/termios.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/therm_throt.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/thread_info.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/time.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/timer.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/timex.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/tlb.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/tlbflush.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/topology.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/tsc.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/types.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/uaccess.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/uaccess_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/uaccess_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/ucontext.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/unaligned.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/unistd.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/unistd_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/unistd_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/unwind.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/user.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/user32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/user_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/user_64.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/vga.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/vgtod.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/vic.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/vm86.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/vmi.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/vmi_time.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/voyager.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/vsyscall.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/xen/hypercall.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/xen/hypervisor.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/xen/interface.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/xor.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/xor_32.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/xor_64.h exists in filesystem
Errors occurred, no packages were upgraded.ning,
Please use both descriptive titles for threads, as well as the search function. This has been covered so many times here, as well as had it's own thread, as well as being posted in the news, as well as all of the above errors would have gotten you Google hits with the answer. I don't mean to be rude, but the information is very easy to find. -
What is wrong with this program segment? I could not understand the error..
public class Hmw3
public static char[] myMethod(char[]p1,int p2, char p3)
{ //13 th row
if(p2<p1.length)
p1[p2]=p3;
System.out.println(p1);
public static void main(String[] args)
String sentence="It snows";
char[] tmp=sentence.toCharArray();
System.out.println(tmp);
myMethod(tmp,3,'k');
sentence=String.copyValueOf(tmp);
System.out.println(sentence);
i wrote this program segment and compiler gave this error:
C:\Program Files\Xinox Software\JCreator LE\MyProjects\hmw3\Hmw3.java:13: missing return statement
What is wrong???Your method signature states that myMethod should return an array for chars.
But in ur implementation of myMethod, there is nothing returned.
Just add a return statement like "return p1" -
What's wrong in this OPEN statement?
hey
I have declared reference cursor as
TYPE L_CurType IS REF CURSOR;
mm_cursor L_CurType;
sSql as varchar2(2000);
I have written all sql statement in sSql
sSql:='Select......';
Now i am trying to open the cursor i am getting invalid sql statement;
what's wrong in it?
OPEN mm_cursor for sSql;There is nothing wrong with the OPEN statement; the error is most likely in the SQL select statement stored in the string.
Show us the entire select statement. -
Problem in the select statement
I have to select the values of the fields BEZEI depending on tha sales order number vbeln. HOw can i write the select statement what will be the tables associated?
Hi,
tables: vbak.
types: begin of ty_vbak,
vbeln type vbeln,
kokrs type kokrs,
end of ty_vbak,
begin of ty_it_tka01,
kokrs type kokrs,
bezei type bezei,
end of ty_tka01.
data: it_vbak type table of ty_vbak,
wa_vbak type ty_vbak,
it_tka01 type table of ty_tka01,
wa_tka01 type ty_tka01.
Select-options: s_vbeln for vbak-vbeln.
Select VBELN KOKRS from VBAK into table it_VBAK where vbeln in s_vbeln.
if sy-subrc = 0.
select KOKRS BEZEI from TKA01 into it_tka01 for all entries in it_vbak where kokrs = it_vbak-kokrs.
endif.
Loop at it_vbak into wa_vbak.
read table it_tka01 into wa_tka01 with key kokrs = wa_vbak-kokrs.
if sy-subrc = 0.
* Move data to final internal table.
endif.
endloop.
Regards,
Satish -
Problem with Clone Stamp & Healing Brush
Once set the sample point by option clicking with either the clone stamp tool or the healing brush, I suddenly see a duplicate layer that moves with the cursor as I try to position it oveer the spot I want to fix.
I have tried resetting both tools. I am running CS6 and have experienced no other problems.
Any ideas what's wrong?Hi RedMo53,
Your seeing the clone source overlay and you can adjust the preferences for the clone overlay by going to Window>Clone Source.
You might try clipped and see how that works.
more info:
http://helpx.adobe.com/content/help/en/photoshop/using/retouching-repairing-images.htmlhtt p:// -
Hi,
I'm trying to build the helloworld example in the jwstutorial13.
When the build process reaches wscompile task it fails and generates a strange error:
run-wscompile:
[echo] Running wscompile:
[echo] C:\jwsdp-1.3\apache-ant\../jaxrpc/bin/wscompile.bat -define -d build -nd build -classpath build config-interface.xml -model build/model.gz
[exec] java.lang.NoClassDefFoundError: Files\Norton
[exec] Exception in thread "main"
[exec] Result: 1
I don't understand the following:
[exec] java.lang.NoClassDefFoundError: Files\Norton
I'm building this on Windows 2000, and norton antivirus is installed. How could that effect the build process.
Can someone tell me how to solve this problem.
Thanks...When the build process reaches wscompile task it fails
and generates a strange error:
run-wscompile:
[echo] Running wscompile:
[echo]
cho]
C:\jwsdp-1.3\apache-ant\../jaxrpc/bin/wscompile.bat
t -define -d build -nd build -classpath build
config-interface.xml -model build/model.gz
[exec] java.lang.NoClassDefFoundError:
ror: Files\Norton
[exec] Exception in thread "main"
[exec] Result: 1
I don't understand the following:
[exec] java.lang.NoClassDefFoundError: Files\Norton
I'm building this on Windows 2000, and norton
antivirus is installed. How could that effect the
build process.I've had the exact same problem today and haven't been able to find any information on this problem at all. But actually your problem helped me realize what is wrong.
My problem was that wscompile gave me the error java.lang.NoClassDefFoundError: Ghost on a newly reinstalled machine. I have been able to run the examples before, so I didn't really know what to think of this.
But the thing is that Norton Ghost and probably also Norton Antivirus puts entries into the path that contains paths with spaces in the name, ex. C:\Programmer\Norton Ghost
The problem is that wscompile sees "Ghost" as not being part of the path and mistakes it for being a different paramter. When I removed the entry from my path, the examples ran without complaints.
I have tried to put " " around the entry, but it didn't help. I don't know if there is any way to include paths with spaces in it , unless you write the paths using dos short filenames.
I hope this solves your problem if you haven't figured it out yet!
It's amazing that there isn't any information about this problem in the documentation, or maybe there is?
Just think of the majority of people using the english version of windows with the program folder C:\Program Files.
/Bo
Maybe you are looking for
-
Simple Silly Question I know I'm overlooking
Ok, and pardon in advance for the "d'oh!" moment. But, when creating my site in iWeb, and pubishing to a folder, it names the folder the name of the site. Thus the page URLs within the pages reference: http://www.nameofsite.com/nameofsite/podcast/ind
-
Table for Delivery number & Quality inspection lot number.
Hi Gurus, In which table, Delivery Number & Quality inspection lot number are related? Reg. Amol
-
Daylight Savings Time 2007 and Jrockit JVM 1.4.2_04
If I have applications running on WLS 8.1 SP2 with Jrockit JVM 1.4.2_04 on AS3, would the NEW Energy act of 2007 which resets the DST in march insteadt of April affect my JVM? If yes is there a patch?
-
I installed reports 6i and ran patch scripts on webdb user. 1. @$ORACLE_HOME\report60\server\security\rwwwvins.sql 2. @$ORACLE_HOME\report60\server\security\rwenable.sql (Before running i updated script rwinswiz.sql and fixed bug so that all scripts
-
How can I update a custom table and create a TODO if the batch fails? In the catch block I am trying to rollback the session, update my custom table and do addError(). I have a TODO linked to the batch and I am implementing the createToDoProperties()