Exception in CURSOR
Hi Friends,
I want to handle this exception(NO_DATA_FOUND) in cursor but my SELECT statement in cursor not like SELECT INTO. How to handle it?
This is my Code--
SET SERVEROUTPUT ON
DECLARE
CURSOR C_ARG(I_DNO NUMBER, I_JOB EMP.JOB%TYPE)
IS
SELECT * FROM EMP
WHERE DEPTNO=I_DNO
AND JOB=I_JOB;
V_COUNT NUMBER;
BEGIN
FOR I IN C_ARG(&DNO,'&JOB')
LOOP
DBMS_OUTPUT.PUT_LINE(I.EMPNO||' '||I.ENAME||' '||I.DEPTNO||' '||I.JOB);
V_COUNT:=NVL(C_ARG%ROWCOUNT,0);
END LOOP;
IF V_COUNT =0 THEN
DBMS_OUTPUT.PUT_LINE('There are no employees for this combination');
else
DBMS_OUTPUT.PUT_LINE(V_COUNT||' RECORDS RETRIEVED...');
END IF;
END;
/ and my output is ---
Enter value for dno: 10
Enter value for job: st_clerk
old 13: FOR I IN C_ARG(&DNO,'&JOB')
new 13: FOR I IN C_ARG(10,'st_clerk')
RECORDS RETRIEVED...
PL/SQL procedure successfully completed.Thanks.
KarTiK
Hi Justin,
I tried what u told [ no_data_found and my own exception] but still the same result.
Can u correct it ?
SET SERVEROUTPUT ON
DECLARE
CURSOR C_ARG(I_DNO NUMBER, I_JOB EMP.JOB%TYPE)
IS
SELECT * FROM EMP
WHERE DEPTNO=I_DNO
AND JOB=I_JOB;
V_COUNT NUMBER;
EX EXCEPTION;
BEGIN
FOR I IN C_ARG(&DNO,'&JOB')
LOOP
RAISE EX;
DBMS_OUTPUT.PUT_LINE(I.EMPNO||' '||I.ENAME||' '||I.DEPTNO||' '||I.JOB);
V_COUNT:=NVL(C_ARG%ROWCOUNT,0);
END LOOP;
IF V_COUNT =0 THEN
DBMS_OUTPUT.PUT_LINE('There are no employees for this combination');
else
DBMS_OUTPUT.PUT_LINE(V_COUNT||' RECORDS RETRIEVED...');
END IF;
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE('NO RECORD FOUND');
WHEN EX THEN
DBMS_OUTPUT.PUT_LINE('NO RECORDS FOUND');
END;
/Thanks.
Similar Messages
-
How to trap the exception in cursors
Hi
How to trap the exception NO DATA FOUND/other exceptions with the cursor
DECLARE
CURSOR c1 IS SELECT * FROM EMP WHERE empno = 1234;
BEGIN
FOR i IN c1 LOOP
DBMS_OUTPUT.PUT_LINE(i.ename);
END LOOP;
END;so 1234 is not in my table, how to trap this.could some one help me please
Edited by: user4587979 on Sep 27, 2010 3:46 AMuser4587979 wrote:
Hi
How to trap the exception NO DATA FOUND/other exceptions with the cursor
DECLARE
CURSOR c1 IS SELECT * FROM EMP WHERE empno = 1234;
BEGIN
FOR i IN c1 LOOP
DBMS_OUTPUT.PUT_LINE(i.ename);
END LOOP;
END;so 1234 is not in my table, how to trap this.could some one help me please
Edited by: user4587979 on Sep 27, 2010 3:46 AMYou don't trap NO_DATA_FOUND in a cursor loop, as for others ... you trap and handle the ones you expect.
NO_DATA_FOUND isn't a condition associated with the processing of a cursor loop.
You have other options though, for example ...
declare
l_processed_something boolean default false;
begin
for x in cursor
loop
l_processed_something := true;
<more processing>
end loop;
end;
/ -
Writting exception within cursor for loop
I have two cursor for loop as
for rec1 in () loop --loop 1
for rec2 in () loop --loop2
<statements>
end loop;
end loop
Now I want to handle exception within my second for loop so that after terminating the loop it will again go to the first loop...
How to do it ? Please help......you may
BEGIN
FOR rec1 IN your_select1
LOOP --loop 1
BEGIN
FOR rec2 IN your_select2
LOOP --loop2
statements;
END LOOP;
EXCEPTION
WHEN OTHERS
THEN
log_error;
END;
END LOOP;
END;or ...depending on your exact needs:
BEGIN
FOR rec1 IN your_select1
LOOP --loop 1
FOR rec2 IN your_select2
LOOP
BEGIN --loop2
statements;
EXCEPTION
WHEN OTHERS
THEN
log_error;
END;
END LOOP;
END LOOP;
END; -
Exceptions for cursor definition
Select statement of parametric cursor in DECLARE section fetches no records based on some id. I have one error table and populating with these type of ids'. Here control is not going to exception block because succeeding block of declare section is begin section. Please let me know how trap these ids'.
Thank you.Hi
A cursor for loop does not raise NODATA_FOUND. If you want to raise NO_DATA_FOUND then use an explict open and fetch.
declare
cursor dept_cur is
select deptno
from dept;
cursor emp_cur (dno number) is
select empno,ename
from emp
where deptno = dno;
emprec emp_cur%ROWTYPE
begin
for dept_rec in dept_cur
loop
begin
open emp_cur(dept_rec.deptno);
loop
fetch dept_cur into deptrec;
raise NO_DATA_FOUND when dept_rec%NOTFOUND;
end loop;
close emp_cur;
exception
when no_data_found
then insert into err_table values
(dept_rec.deptno);
end;
end loop;
end;HTH
Arvind Balaraman -
How to capture exception in cursors
Hi,
I wnated to bulk collect say 100 record into global temporaary table,suppose if there is a exception in any of the record how could i handle it?
for example 2 records are throwing exception in this case i want remaining 98 to get processed and remaining 2 should be captured in the exception block.
Please share your suggestionuser13710379 wrote:
for example i used a global temporary table..lets be any table am populating using a bulk collect.My point was that BULK COLLECT is used to populated PL/SQL collections, not tables.
exceptions which i'm refering are like..in 100 records for 65 and 68th record some columns has junk values,so it wont get insert into the resultant table..as a result the bulk collect will fail.i want to handle this type of exception so that other 98 records gets inserted without rollingback.You could incorporate something into your SQL to 'correct' the data if it can be corrected, or you could incorporate something in the SQL to 'detect' where values are junk and not insert those rows, then have another SQL that picks out rows with 'junk' values so you can report on them.
There should be very little need to be loading data into expensive PGA memory or looping through row by row (slow by slow) for each record, to try and capture exceptions.
Better still do some SQL analysis on the data, determine what data has 'junk' in it and then get it fixed at source, and then implement something (or get whoever to do that) so that no more junk data can be entered. -
Exception to cursor for no data found
Hello, i want to add exception to the following procedure. i tried its not trapping my no data found error.
here is my procedure:
can someone help me where to add my exception. i am trying to generate a weekly report to a clob field into the database and sends that as an email. when there is no data i wnat capture the no data found error. please help.
CREATE OR REPLACE PROCEDURE test.IWREPORT
AS
--DECLARE
v_ReturnNumber1 NUMBER := 0;
v_Text VARCHAR2(135);
Display_CLOB clob;
TAB constant varchar2(1):= CHR(9);
v_space constant varchar2(1):= CHR(13);
v_heading varchar2(135);
err varchar2(100);
num number;
BEGIN
-- DBMS_OUTPUT.ENABLE(100000);
CLOB_PKG.Rep_Record.Report_Name := 'Weekly Report';
CLOB_PKG.Rep_Record.Return_Message := 'OK';
CLOB_PKG.Rep_Record.EMSG_Type := '22';
CLOB_PKG.Report_Record.Report_Segment := 1;
Display_CLOB := CLOB_PKG.Open_TempCLOB;
v_heading := ' WEEKLY REPORT||v_space;
v_TextLine := 'UID NAME TOB DATE IN';
CLOB_PKG.Write_To_CLOB( Display_CLOB, V_HEADING||CHR(13)|| v_Text );
v_Text := '------------------'|| TAB ||'-------------------------'|| TAB || '-----------'|| TAB ||TAB ||'--------------';
CLOB_PKG.Write_To_CLOB( Display_CLOB,v_Text );
FOR i_rec IN (select V.uid, V.pn || ','||V.pgn as name, C.ACode as TOB, TO_char(V.date_in,'mm/dd/yyyy') AS date_in
FROM test V, cost C
WHERE V.uid like '%TES%'
and V.date_in >= trunc(SYSDATE,'IW') -8
and V.date_in < trunc(SYSDATE,'IW') -1
and V.TOB = C.aCode
ORDER BY 4,1,2,3)
LOOP
v_Text := i_rec.UID || TAB || i_rec.name|| TAB || TAB ||TAB ||i_rec.TOB|| TAB || TAB ||TAB ||I_REC.DATE_IN;
CLOB_PKG.Write_To_CLOB( Display_CLOB, v_Text );
END LOOP;
clob_PKG.Write_To_CLOB( Display_CLOB, ' ' );
clob_PKG.Report_Record.Report_TimeStamp := localtimestamp;
dbms_output.put_line( 'REPORT_TIMESTAMP: ' || Report_CLOB_PKG.Report_Record.Report_TimeStamp );
CLOB_PKG.Save_CLOB( Display_CLOB );
CLOB_PKG.SMTP_CLOB( Report_Name => 'Weekly');
END;
/Thanks a lot...
Edited by: BluShadow on 18-Apr-2011 15:30
added {noformat}{noformat} tags. Please read the [url=SQL and PL/SQL FAQ and PL/SQL FAQ[/url] for details on posting on the forums789287 wrote:
Yes, someoneelse. i read all the posts and try to implement the counter which is not working. that s why i posted again where exactly this counter should be... since i am writing to clob etc...Something like this should do it...
CREATE OR REPLACE PROCEDURE test.IWREPORT AS
v_ReturnNumber1 NUMBER := 0;
v_Text VARCHAR2(135);
Display_CLOB clob;
TAB constant varchar2(1):= CHR(9);
v_space constant varchar2(1):= CHR(13);
v_heading varchar2(135);
err varchar2(100);
num number;
v_cnt number := 0;
BEGIN
CLOB_PKG.Rep_Record.Report_Name := 'Weekly Report';
CLOB_PKG.Rep_Record.Return_Message := 'OK';
CLOB_PKG.Rep_Record.EMSG_Type := '22';
CLOB_PKG.Report_Record.Report_Segment := 1;
Display_CLOB := CLOB_PKG.Open_TempCLOB;
v_heading := ' WEEKLY REPORT||v_space;
v_TextLine := 'UID NAME TOB DATE IN';
CLOB_PKG.Write_To_CLOB( Display_CLOB, V_HEADING||CHR(13)|| v_Text );
v_Text := '------------------'|| TAB ||'-------------------------'|| TAB || '-----------'|| TAB ||TAB ||'--------------';
CLOB_PKG.Write_To_CLOB( Display_CLOB,v_Text );
FOR i_rec IN (select V.uid, V.pn || ','||V.pgn as name, C.ACode as TOB, TO_char(V.date_in,'mm/dd/yyyy') AS date_in
FROM test V, cost C
WHERE V.uid like '%TES%'
and V.date_in >= trunc(SYSDATE,'IW') -8
and V.date_in < trunc(SYSDATE,'IW') -1
and V.TOB = C.aCode
ORDER BY 4,1,2,3)
LOOP
v_Text := i_rec.UID || TAB || i_rec.name|| TAB || TAB ||TAB ||i_rec.TOB|| TAB || TAB ||TAB ||I_REC.DATE_IN;
CLOB_PKG.Write_To_CLOB( Display_CLOB, v_Text );
v_cnt := v_cnt + 1;
END LOOP;
IF v_cnt = 0 THEN
RAISE NO_DATA_FOUND;
END IF;
clob_PKG.Write_To_CLOB( Display_CLOB, ' ' );
clob_PKG.Report_Record.Report_TimeStamp := localtimestamp;
dbms_output.put_line('REPORT_TIMESTAMP: ' || Report_CLOB_PKG.Report_Record.Report_TimeStamp );
CLOB_PKG.Save_CLOB( Display_CLOB );
CLOB_PKG.SMTP_CLOB( Report_Name => 'Weekly');
EXCEPTION
WHEN NO_DATA_FOUND THEN
-- do whatever needs doing
RAISE;
END; -
XY graph "mouse move" event stops generating when click on cursor
Hello All
When the mouse is moving freelly inside the XY graph control, the "mouse movement" event is fired.
The same happens when muse clicks anywhere in the graph with the exception of cursors.
hen mouse clicks on cursors the "mouse move" event is NOT generated even though the mouse is phisically moved.
Is there any explanation to this.
I enclose the example.
regards
PawelJust today I had the same problem -> my solution:
set event timeOut to some value(I have it at 1ms) then
add to globalVariables some BOOL variable that will signal if mouse is down or up (set the flag in appropriate event),
then add a case in the timeOut event which will read this
global variable(flag) -> if it's TRUE then change the needed parameter.
So even if the mouse move event isn't fired the main timeout event is.
Not a perfect solution, but better than nothing.
Peace
Waldemar -
Stored procedure that returns a cursor (result set)
Hi,
We have a stored procedure that returns a cursor (result set) but when I compliled it and catalouged (introspected) it in the OBPM I got all the primitive type parameters (either IN or OUT) in the proc call except the cursor type (the result set) which is the out param of the stored proc.
Any pointers please?
ThanksResult set is of RowType and is not supported as a Stored Procedure as far as I know.
HTH
Sharma -
Finder window completely freezes my mac but I can still move cursor
I have a 2 year old, 13 inch macbook pro with mountain lion (version 10.7.5)
So I have had this problem for a while when I am using my macbook pro (I'm normally using final cut pro, adobe photoshop and of recently i was just on my desktop) and I go to the finder window and everything freezes except the cursor, I can move the cursor around the screen but I can't click on anything, the dock is also frozen. I leave it for a while hoping it will come back but nothing happens so normally I have to turn it off and back on again because I can't even access the restart menu. the macbook becomes completly unresponsive
I have tried many different things to try and resolve this problem such as;
not having too many programs open at once
clearing some storage space
not leaving my laptop on standby
but nothing has worked, any suggestions?NEVERMIND I FOUND THEM IN iTUNES. WEIRD!
-
Photoshop CS6 Liquify cursor issue...
Hi everyone,
recently I've upgrade to Photoshop CS6.
All works great, but Liquify filter. Well, filter works great (new mercury engine is awesome!) but something happened to cursor.
Look screenshot below.
Using PS CS5 I have not problem checking "Use GPU" option in Preferences panel; and with it checked PS CS6 works great, except Liquify cursor. If I uncheck this option, Liquify cursor looks normal.
Could anyone knows how to fix it?
Thanks in advance.
iMac 27"
Mac OS X 10.6.8
ATI Radeon HD 5670
BTW I've updated to 13.0.1 and nothing change.
Lluis N.sniffer_gpu output:
-
Cursor focus to error field.
In APEX 3.0, when I use Validations, Type Function Returning Error Text:
If :P1_ITEM is null then
return 'Must enter a value';
end if;
Everything is fine, except the cursor goes to the first field in the page. How do I make the cursor go to the field that contains the error (back to the field that did the validation)? Thanks in advance.Hi Shirley
Sorry I did not see this post but I did reply to your question you post about inserting caps.
if you create another page item say P1_PAGE_FOCUS then as part of your validation you set its value.
If :P1_ITEM is null then
:P1_PAGE_FOCUS := 'P1_ITEM';
return 'Must enter a value';
end if;
add this bit of javascript to your header
function setFocus(FocusItem)
try {
var oFocus = document.getElementById(FocusItem);
document.getElementById(oFocus.value).focus();
catch(err) {
null;
}You should also that your pages Cursor Focus is not set to first page item. Then add the following to your HTML Body attribute
onLoad ="setFocus('P1_PAGE_FOCUS');"
This should then set the page item that you want to set focus to the invalid page item. -
In Yahoo Mail: Windows 7 "swirling circle" next to cursor never stops.
Using Yahoo Mail Classic. After sign-in, upon clicking on any folder (Inbox, Drafts etc) cursor is accompanied by the Windows 7 "swirling circle" wherever it is placed on the page. EXCEPT when cursor is placed on a LINK. "Swirling circle" then disappears from cursor until it is moved off the link when it then reappears. Can SOMETIMES cure this by clicking on another folder, then return to "Inbox." Also notice that Firefox loads a website much slower than IE8. This happens MOST of the time, NOT always. Many thanks for your help!
First, you are running Firefox 7, which is EXTREMELY Old and Insecure, which not only leaves you open to many known bugs, but to dozens of known security issues which can be exploited to compromise your personal data.
So, your first step is going to be to upgrade to Firefox 15.0.1. [[Update Firefox to the latest version]].
After that, does Yahoo Work properly? -
Hello,
When I first start my application from jdeveloper, I get this exception... Only once: when I do a "refresh", the application works normally and never gives the problem until the next server restart...
500 Internal Server Error
java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at oracle.jdbc.driver.PhysicalConnection.safelyGetClassForName(PhysicalConnection.java:4583) at oracle.jdbc.driver.PhysicalConnection.addClassMapEntry(PhysicalConnection.java:2737) at oracle.jdbc.driver.PhysicalConnection.addDefaultClassMapEntriesTo(PhysicalConnection.java:2728) at oracle.jdbc.driver.PhysicalConnection.initializeClassMap(PhysicalConnection.java:2456) at oracle.jdbc.driver.PhysicalConnection.ensureClassMapExists(PhysicalConnection.java:2450) at oracle.jdbc.driver.PhysicalConnection.getTypeMap(PhysicalConnection.java:2714) at oracle.jdbc.driver.ScrollableResultSet.getObject(ScrollableResultSet.java:742) at oracle.toplink.oraclespecific.Oracle9Platform.getObjectFromResultSet(Oracle9Platform.java:152) at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObject(DatabaseAccessor.java:963) at oracle.toplink.internal.databaseaccess.DatabaseAccessor.fetchRow(DatabaseAccessor.java:771) at oracle.toplink.internal.databaseaccess.DatabaseAccessor.cursorRetrieveNextRow(DatabaseAccessor.java:352) at oracle.toplink.queryframework.ScrollableCursor.retrieveNextObject(ScrollableCursor.java:512) at oracle.toplink.queryframework.ScrollableCursor.loadNext(ScrollableCursor.java:357) at oracle.toplink.queryframework.ScrollableCursor.hasNext(ScrollableCursor.java:233) at be.uclouvain.doctorats.dao.factories.GenericFactory.searchAll(GenericFactory.java:198) at be.uclouvain.doctorats.business.GenericBusiness.searchAll(GenericBusiness.java:188) at be.uclouvain.doctorats.business.GenericBusiness.searchAllFromParent(GenericBusiness.java:393) at be.uclouvain.doctorats.business.utils.Interlocutor.listObjects(Interlocutor.java:194) at be.uclouvain.doctorats.action.ListAction.doAction(ListAction.java:55) at be.uclouvain.doctorats.action.BasicAction.execute(BasicAction.java:46) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)
Here is the code that seems to cause the problem:
ReadAllQuery readQuery = new ReadAllQuery(modelClass);
List<ModelObject> toplinkResults = new ArrayList<ModelObject>();
int chunkSize = 50;
int index = 0;
if (search != null) {
readQuery.setSelectionCriteria(search.getExpression());
chunkSize = search.getPageSize();
index = search.getIndex();
readQuery.useScrollableCursor(chunkSize);
// lecture
ScrollableCursor cursor = (ScrollableCursor)ToplinkFactory.getSession().executeQuery(readQuery);
if (cursor == null) {
throw new Exception("No cursor!");
if (index > 0) {
cursor.absolute(index);
int size = cursor.size();
int displaySize = chunkSize;
// ajuster si page de données n'a pas sa taile max
if (index + displaySize > size) {
displaySize = size - index;
for (int i=0; i < displaySize; i++) {
if (!cursor.hasNext()) {
throw new Exception("Cursor doesn't seem to work properly!");
toplinkResults.add((ModelObject)cursor.next());
I traced the problem to this line:
if (!cursor.hasNext()) {
It looks like a bug to me... Am I doing something wrong, or is it Toplink, or even jdbc???Ok, it seems to be only there when I run my
application in debug mode in Jdeveloper... When
running it regularly, it works correctly. Is it a
jdev/oc4j bug, or is it a toplink bug which is
triggered in some rare situation, or is it something
else?Thats what you will have to debug further. :-)
When you wrote "running it regularly" did you mean running it through JUnit?
It could be the way you package/load classes in your JDeveloper environment. In order to eliminate the possibility of Toplink causing the bug you could write an identical test case in the app server except you can use JDBC ResultSet. -
Random freeze ups. Must reboot each time.
Random full screen lock with no errors reported using the hardware test disc. Mouse can move on screen (arrow or beach ball) but no clicks or key presses of any kind cause a response. The clock freezes instantly as does video playback. Audio dies altogether (or starts looping) within a few seconds of freeze-up but not quite instantly like screen (except mouse cursor) does. The only way out is by holding power key for 3-4 seconds until MacBook Pro shuts off. Force quit popup box never comes with commandoptionesc. Even right now I'm holding my breath that I can post this before the next occurrence since it has become a daily event.
This just started about 30 days ago. Never had this happen in Tiger but probably unrelated. My thing is that I'm out of warranty by self-upgrading the internal hard drive awhile back. Hoping someone can help with a diagnosis. At first thought maybe it was time machine or boot camp causing the freeze ups, but I ruled them out. Although left and right fans almost always stay at 1k RPM, I'm now wondering if maybe there's a heat issue or video card (ATI) issue - but those are really just guesses. I've done a clean install and recovered only some files back from time machine. I've done a PMU reset and tried the factory ram only. Nothing seems to work, plus booting from the hardware test shows no hardware errors. Booting from leopard to run fix disk and permissions also did nothing. Keeping in mind that I've voided my warranty can anyone suggest next steps? I'm not great at understanding console messages but nothing seems to show in logs at exact time of freeze up that I can tell. For the record Software updates says I'm current including firmware stuff too. Never had an issue like this since OS 7 when multi-finder was introduced. This is making me nuts, so if you'll indulge me, here are my machine specs...
Hardware:
Hardware Overview:
Model Name: MacBook Pro 15"
Model Identifier: MacBookPro1,1
Processor Name: Intel Core Duo
Processor Speed: 2 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 2 MB
Memory: 2 GB
Bus Speed: 667 MHz
Boot ROM Version: MBP11.0055.B08
SMC Version: 1.2f10
Sudden Motion Sensor:
State: Enabled
Network:
AirPort:
Type: AirPort
Hardware: AirPort
BSD Device Name: en1
Has IP Assigned: Yes
Ethernet:
Type: Ethernet
Hardware: Ethernet
BSD Device Name: en0
Has IP Assigned: No
Bluetooth:
Type: PPP (PPPSerial)
Hardware: Modem
BSD Device Name: Bluetooth-Modem
Has IP Assigned: No
FireWire:
Type: FireWire
Hardware: FireWire
BSD Device Name: fw0
Has IP Assigned: No
Software:
System Software Overview:
System Version: Mac OS X 10.5.1 (9B18)
Kernel Version: Darwin 9.1.0
Time since boot: 18 minutes
ATA:
ATA Bus:
MATSHITADVD-R UJ-857:
Model: MATSHITADVD-R UJ-857
Revision: HAEA
Serial Number:
Detachable Drive: No
Protocol: ATAPI
Unit Number: 0
Socket Type: Internal
Low Power Polling: Yes
Audio (Built In):
Intel High Definition Audio:
Device ID: 0x83847680
Audio ID: 2
Available Devices:
Headphone:
Connection: Combo
Microphone:
Connection: Internal
Speaker:
Connection: Internal
Line In:
Connection: Combo
S/P-DIF Out:
Connection: Combo
S/P-DIF In:
Connection: Combo
Bluetooth:
Apple Bluetooth Software Version: 2.0.0f20
Diagnostics:
Power On Self-Test:
Last Run: 1/26/08 7:37 PM
Result: Passed
Disc Burning:
MATSHITA DVD-R UJ-857:
Firmware Revision: HAEA
Interconnect: ATAPI
Burn Support: Yes (Apple Shipping Drive)
Cache: 2048 KB
Reads DVD: Yes
CD-Write: -R, -RW
DVD-Write: -R, -RW, +R, +RW
Write Strategies: CD-TAO, CD-SAO, DVD-DAO
Media: Insert media and refresh to show available burn speeds
FireWire:
FireWire Bus:
Maximum Speed: Up to 400 Mb/sec
Graphics/Displays:
ATI Radeon X1600:
Chipset Model: ATY,RadeonX1600
Type: Display
Bus: PCIe
PCIe Lane Width: x16
VRAM (Total): 128 MB
Vendor: ATI (0x1002)
Device ID: 0x71c5
Revision ID: 0x0000
EFI Driver Version: 01.00.068
Displays:
Color LCD:
Display Type: LCD
Resolution: 1440 x 900
Depth: 32-bit Color
Built-In: Yes
Core Image: Hardware Accelerated
Main Display: Yes
Mirror: Off
Online: Yes
Quartz Extreme: Supported
Display Connector:
Status: No display connected
Memory:
BANK 0/DIMM0:
Size: 1 GB
Type: DDR2 SDRAM
Speed: 667 MHz
Status: OK
BANK 1/DIMM1:
Size: 1 GB
Type: DDR2 SDRAM
Speed: 667 MHz
Status: OK
Serial-ATA:
Intel ICH7-M AHCI:
Vendor: Intel
Product: ICH7-M AHCI
Speed: 1.5 Gigabit
Description: AHCI Version 1.10 Supported
Hitachi HTS541616J9SA00:
Capacity: 149.05 GB
Model: Hitachi HTS541616J9SA00
Revision: SB4OC70P
Native Command Queuing: Yes
Queue Depth: 32
Removable Media: No
Detachable Drive: No
BSD Name: disk0
Mac OS 9 Drivers: No
Partition Map Type: GPT (GUID Partition Table)
S.M.A.R.T. status: Verified
Volumes:
disk0s2:
Capacity: 148.73 GB
Available: 57.35 GB
Writable: Yes
File System: Journaled HFS+
USB:
USB High-Speed Bus:
Host Controller Location: Built In USB
Host Controller Driver: AppleUSBEHCI
PCI Device ID: 0x27cc
PCI Revision ID: 0x0002
PCI Vendor ID: 0x8086
Bus Number: 0xfd
Built-in iSight:
Version: 1.84
Bus Power (mA): 500
Speed: Up to 480 Mb/sec
Manufacturer: Micron
Product ID: 0x8501
Vendor ID: 0x05ac (Apple Computer, Inc.)
USB Bus:
Host Controller Location: Built In USB
Host Controller Driver: AppleUSBUHCI
PCI Device ID: 0x27c9
PCI Revision ID: 0x0002
PCI Vendor ID: 0x8086
Bus Number: 0x3d
USB Bus:
Host Controller Location: Built In USB
Host Controller Driver: AppleUSBUHCI
PCI Device ID: 0x27ca
PCI Revision ID: 0x0002
PCI Vendor ID: 0x8086
Bus Number: 0x5d
IR Receiver:
Version: 1.09
Bus Power (mA): 500
Speed: Up to 12 Mb/sec
Manufacturer: Apple Computer, Inc.
Product ID: 0x8240
Vendor ID: 0x05ac (Apple Computer, Inc.)
USB Bus:
Host Controller Location: Built In USB
Host Controller Driver: AppleUSBUHCI
PCI Device ID: 0x27cb
PCI Revision ID: 0x0002
PCI Vendor ID: 0x8086
Bus Number: 0x7d
Bluetooth USB Host Controller:
Version: 19.65
Bus Power (mA): 500
Speed: Up to 12 Mb/sec
Manufacturer: Apple, Inc.
Product ID: 0x8205
Vendor ID: 0x05ac (Apple Computer, Inc.)
USB Bus:
Host Controller Location: Built In USB
Host Controller Driver: AppleUSBUHCI
PCI Device ID: 0x27c8
PCI Revision ID: 0x0002
PCI Vendor ID: 0x8086
Bus Number: 0x1d
Apple Internal Keyboard / Trackpad:
Version: 0.60
Bus Power (mA): 500
Speed: Up to 12 Mb/sec
Manufacturer: Apple Computer
Product ID: 0x0217
Vendor ID: 0x05ac (Apple Computer, Inc.)
AirPort Card:
AirPort Card Information:
Wireless Card Type: AirPort Extreme (0x168C, 0x86)
Wireless Card Locale: USA
Wireless Card Firmware Version: 1.2.2
Wireless Channel: 8I think the fan defaults to 1,000 rpms. Only thing I've found that seems to help is keeping the fan speeds at about 3,000 rpms. No more freeze ups (except one) when I keep the fan speed up a bit.
http://homepage.mac.com/holtmann/eidac/software/smcfancontrol2/index.html -
I am having a strange problem starting up
im not sure if this is the correct category for this sort of problem...but anyway. Often when i start up my computor, there is a strange repetitive clicking sound, and my computer ceases to start up. this also happens at random times while i am using my computor; it is not only at startup. the whole computor seems to freeze, except the cursor cam move...but it is only a spinning wheel.
im fairly sure this is a hardware issue as opposed to a software issue because of the clicking sound, though i am not positive. the sound seems to be coming from my internal disks.
i have already tried switching power cords, repairing the disk and repairing the disk permissions, and i have reinstalled OS 10.3 onto an alternate disk. i have also attempted the command-s thing at start up to do the fsck -fy command, but none of these things helped. another bit of info- when i did the command-s and the clicking started, the computer said something like the 'data control device is blocking the bus'.
does anyone have suggestions? anything would be much appreciated.
G-4 Mac OS X (10.3)Phoenix314,
As previously posted, backup as much as you can ASAP!
If you have access to another Firewire enabled Mac, you can use Firwire Target Disk Mode, to do a complete system backup, or to try to salvage as much critical data as possible.
Once your data is secure, you could try an Erase & Install, zeroing all data, but if the HD is shot, it probably won't do any good.
ali b
Maybe you are looking for
-
Green McAfee button ties up 1/2 row of available screen for a single button. Any way to move or delete this button? == This happened == Every time Firefox opened == From install
-
Hi, i recently restarted my ipod by mistake and everything got deleted however i had alreaedy saved all the pics before this. problem is that all my voice memos r gone and i never made a backup file earlier. what do i do???????????i need 2 recover th
-
Vudu stopped working after updating to iOS 8.02
I have an iPad Air WiFi/Cellular I had inadvertently deleted my Vudu movies the other night at work. I had hit the sign out option in Vudu and didn't full read the pop up saying that ALL data, including movies, would be erased. So I sent several ho
-
Can anyone recommend a skin for Macbook Pro 15 Retina? I prefer that over a case.
-
How do I get previously purchased software on DVD listed as an App Store download?
As many likely have, I have previously purchased Apple software (Aperture, Final Cut Express, iLife, iWork) before App Store began. I obviously do not want to re-purchase but now my Macbook Pro and Air do not have DVD drives. Is there a way to get Ap