Don't understand background activity in Lion

19.01.12 19:32:03,000 kernel: IOSurface: buffer allocation size is zero
19.01.12 19:52:26,603 Mail: open on /Users/mfx/Library/Mail/V2/Mailboxes/Essentiell.mbox/AC7B169F-B7A3-4C26-9766-14 F9C0509455/Data/5/2/1/Messages/125018.emlx: No such file or directory
19.01.12 19:52:33,376 com.apple.Preview.TrustedBookmarksService: Failure to de-serialize bookmark data file.
19.01.12 19:53:36,000 kernel: IOSurface: buffer allocation size is zero
19.01.12 19:54:09,000 kernel: IOSurface: buffer allocation size is zero
19.01.12 19:54:12,000 kernel: IOSurface: buffer allocation size is zero
19.01.12 19:58:37,753 Microsoft Excel: Failed to write network signature cache at path /Library/Caches/com.apple.DiagnosticReporting.Networks.plist
19.01.12 20:04:54,063 Safari: Exception calling summaryInfo: for plugin <JobRouting: 0x7f96d5a15140> : -[__NSCFDictionary setObject:forKey:]: attempt to insert nil key
19.01.12 20:04:54,076 Safari: Exception calling summaryInfo: for plugin <JobRouting: 0x7f96d5a15140> : -[__NSCFDictionary setObject:forKey:]: attempt to insert nil key
19.01.12 20:21:33,706 mdworker: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
19.01.12 20:21:33,730 mdworker: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
19.01.12 20:21:33,731 mdworker: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
19.01.12 20:23:41,000 kernel: IOSurface: buffer allocation size is zero
19.01.12 20:23:55,000 kernel: IOSurface: buffer allocation size is zero

The console log will always be full of strange-looking messages. There's no easy way to tell which, if any of them, are significant. If you're having a usability problem, start another discussion with a title describing that problem.

Similar Messages

  • The option to print in background - I don't understand.

    The option to print in background - I don't understand.

    Hello Comixfreak,
    Welcome to the HP Support Forums!
    I'd like to offer answer your inquiry, but I must admit I am not sure what you are asking. Would it be possible for you to provide a little bit more information as to what you would like have answered?
    I am looking forward to hearing back from you.
    Cheers,
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Slow Macbook Pro- please help, I don't understand previous advice.

    Hello all,
    I have a very slow Macbook Pro running on Lion 10.7.3.
    I looked up this problem on the forums before I sent this message but I didn't quite understand the advice. I have been on something called Disk Utility and Activity Monitor but don't really understand what I'm looking for. It seems a large percentage of my mac is 'idle' if that makes sense. Someone said to look at Page Out but I really don't understand what that means and what sort of numbers are normal.
    I do have some storage left so I don't think it could be that. A lot of my gigabytes seem to be taken up by movies and 'other'. I've tried deleted a load of videos but it hardly made a difference. I have Mac Mail and it seems very slow on my Macbook compared to on my Ipad and iphone. iCal is also very slow on here and it always takes a while to load internet pages. It isnt the wifi connection.
    Please help and bear in mind I am by no means a Mac whizz so you might have to talk in layman's terms!
    Thanks,
    Amy

    If you have more than ten or so files or folders on your Desktop, move them, temporarily at least, somewhere else in your home folder.
    If iCloud is enabled, disable it.
    Disconnect all wired peripherals. Launch the usual set of applications you use when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Step 2
    Launch the Console application in the same way as above, and select “kernel.log” from the file list. Post the dozen or so most recent messages in the log — the text, please, not a screenshot.
    If there are runs of repeated messages, post only one example of each. Do not post many repetitions of the same message.

  • I don't understand what eats my data to give me overage. I don't play games, or use apps, except texting and photos, I have facebook but rarely use it or read it, I try to clear and close anything opened

    I don't understand what gives me data overage, I make calls, text, take photo or video. I don't use any apps maybe once in a blue moon google a question. no games or navigation, don't shop, I do have facebook, but rarely use it.because I look on computer. I try to clear and close after each use. So what else can I do to prevent something eating data? I am a senior and don't understand gigs etc. Maybe  a few times a month I might post from cell to email a pic.

    Just because you do not use an app does not mean it is not doing something in the background.
    Facebook, for example... If you have used it one time it can be uploading any photos/videos you take with your phone on a regular basis even if you don't open it up again. Have you checked your settings in these apps to only sync while on wifi. This can cause a lot of data usage if you did not.
    If you don't feel you need the app, either delete it or disable it.
    Once you open an app the first time, it is activated and unless you make sure the app settings are such that you will not use a lot of data, you should assume they will. Especially apps which have the capability to upload photos/video from your phone.

  • I don't understand my EtreCheck report. What can I do to improve the speed of my Macbook 2010, which became very slow after upgrading to Yosemite?

    I just updated my Macbook (2010) to Yosemite, and it's become very slow. After searching through this community, I downloaded and run EtreCheck, but don't understand what the report means. Please could you help me with what I should do to improve my computer's speed, aside from upgrading my RAM? Thank you so much.
    The report:
    Problem description:
    my macbook is running very slowly after upgrading to yosemite.
    EtreCheck version: 2.0.11 (98)
    Report generated 12 November 2014 1:44:14 pm SGT
    Hardware Information: ℹ️
      MacBook (13-inch, Mid 2010) (Verified)
      MacBook - model: MacBook7,1
      1 2.4 GHz Intel Core 2 Duo CPU: 2-core
      2 GB RAM Upgradeable
      BANK 0/DIMM0
      1 GB DDR3 1067 MHz ok
      BANK 1/DIMM0
      1 GB DDR3 1067 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      NVIDIA GeForce 320M - VRAM: 256 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10 (14A389) - Uptime: 3:23:3
    Disk Information: ℹ️
      TOSHIBA MK2555GSXF disk0 : (250.06 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 249.20 GB (25.42 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      HL-DT-ST DVDRW  GS23N 
    USB Information: ℹ️
      Western Digital My Passport 0748 1 TB
      S.M.A.R.T. Status: Verified
      EFI (disk1s1) <not mounted> : 210 MB
      tansey (disk1s2) /Volumes/tansey : 999.83 GB (951.98 GB free)
      Apple Inc. Built-in iSight
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
    Configuration files: ℹ️
      /etc/hosts - Count: 15
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [not loaded] com.NovatelWireless.driver.NovatelWirelessUSBCDCECMControl (3.0.13) Support
      [not loaded] com.NovatelWireless.driver.NovatelWirelessUSBCDCECMData (3.0.13) Support
      [not loaded] com.ZTE.driver.ZTEUSBCDCACMData (1.3.8) Support
      [not loaded] com.ZTE.driver.ZTEUSBMassStorageFilter (1.3.8) Support
      [not loaded] com.novamedia.driver.IceraUSB_MSD_Bypass (1.3.0) Support
      [not loaded] com.novatelwireless.driver.3G (3.0.13) Support
      [not loaded] com.novatelwireless.driver.DisableAutoInstall (3.0.13) Support
      [not loaded] com.option.driver.Option72 (2.15.0) Support
      [not loaded] com.option.driver.OptionHS (3.26.0) Support
      [not loaded] com.option.driver.OptionMSD (1.21.0) Support
      [not loaded] com.option.driver.OptionQC (1.11.0) Support
      [not loaded] com.rim.driver.BlackBerryUSBDriverInt (0.0.39) Support
      [not loaded] com.rim.driver.BlackBerryUSBDriverVSP (0.0.45) Support
      [not loaded] com.vodafone.driver (3.0.9) Support
      [not loaded] com.zte.driver.cdc_ecm_qmi (1.0.1) Support
      [not loaded] com.zte.driver.cdc_usb_bus (1.0.1) Support
      [not loaded] de.novamedia.driver.NMSamsung (0.0.2) Support
      [not loaded] de.novamedia.driver.NMSmartplugSCSIDevice (1.0.1) Support
      [not loaded] de.novamedia.oem.vodafone.vtp.huawei.cdc (0.0.2) Support
      /System/Library/Extensions/NMHuaweiPhonesVTPCDC_106.kext/Contents/PlugIns
      [not loaded] de.novamedia.driver.NMUSBCDCACMControl (3.2.12) Support
      /System/Library/Extensions/NMSamsungDriver_106.kext/Contents/PlugIns
      [not loaded] de.novamedia.driver.NMUSBCDCACMData (3.2.12) Support
      /System/Library/Extensions/NovatelWireless3G.kext/Contents/PlugIns
      [not loaded] com.novatelwireless.driver.3GData (3.0.13) Support
      /System/Library/Extensions/Vodafone.kext/Contents/PlugIns
      [not loaded] com.vodafone.driver.Data (3.0.9) Support
    Startup Items: ℹ️
      HP IO: Path: /Library/StartupItems/HP IO
      HWNetMgr: Path: /Library/StartupItems/HWNetMgr
      HWPortDetect: Path: /Library/StartupItems/HWPortDetect
      Startup items are obsolete and will not work in future versions of OS X
    Problem System Launch Agents: ℹ️
      [failed] com.apple.accountsd.plist
      [failed] com.apple.AirPlayUIAgent.plist
      [failed] com.apple.bird.plist
      [failed] com.apple.CallHistoryPluginHelper.plist
      [failed] com.apple.CallHistorySyncHelper.plist
      [failed] com.apple.cloudd.plist
      [failed] com.apple.coreservices.appleid.authentication.plist
      [failed] com.apple.coreservices.uiagent.plist
      [failed] com.apple.EscrowSecurityAlert.plist
      [failed] com.apple.icloud.fmfd.plist
      [failed] com.apple.iconservices.iconservicesagent.plist
      [failed] com.apple.nsurlsessiond.plist
      [failed] com.apple.pluginkit.pkd.plist
      [failed] com.apple.recentsd.plist
      [failed] com.apple.security.cloudkeychainproxy.plist
      [failed] com.apple.spindump_agent.plist
      [failed] com.apple.telephonyutilities.callservicesd.plist
    Problem System Launch Daemons: ℹ️
      [failed] com.apple.awdd.plist
      [failed] com.apple.cache_delete.plist
      [failed] com.apple.coresymbolicationd.plist
      [failed] com.apple.ctkd.plist
      [failed] com.apple.diagnosticd.plist
      [failed] com.apple.iconservices.iconservicesagent.plist
      [failed] com.apple.iconservices.iconservicesd.plist
      [failed] com.apple.ifdreader.plist
      [failed] com.apple.installd.plist
      [failed] com.apple.MobileFileIntegrity.plist
      [failed] com.apple.nehelper.plist
      [failed] com.apple.nsurlsessiond.plist
      [failed] com.apple.sandboxd.plist
      [failed] com.apple.softwareupdated.plist
      [failed] com.apple.spindump.plist
      [failed] com.apple.sysmond.plist
      [failed] com.apple.tccd.system.plist
      [failed] com.apple.wdhelper.plist
      [failed] com.apple.xpc.smd.plist
      [running] de.novamedia.nmnetmgrd.plist Support
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [failed] com.adobe.CS5ServiceManager.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [running] de.novamedia.VodafoneDeviceObserver.plist Support
      [invalid?] SwapperUFi.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [invalid?] com.adobe.SwitchBoard.plist Support
      [loaded] com.cloudpath.maccmd.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [invalid?] PPPMonitord.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist Support
      [invalid?] com.akamai.client.plist Support
      [invalid?] com.divx.agent.postinstall.plist Support
      [failed] com.facebook.videochat.[redacted].plist Support
    User Login Items: ℹ️
      Dropbox Application (/Applications/Dropbox.app)
      SurplusMeterAgent UNKNOWN (missing value)
      Google Chrome ApplicationHidden (/Applications/Google Chrome.app)
      HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
    Internet Plug-ins: ℹ️
      o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 Support
      Google Earth Web Plug-in: Version: 7.1 Support
      Default Browser: Version: 600 - SDK 10.10
      OfficeLiveBrowserPlugin: Version: 12.2.6 Support
      OVSHelper: Version: 1.1 Support
      AdobePDFViewerNPAPI: Version: 10.1.12 Support
      FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.152 - SDK 10.6 Mismatch! Adobe recommends 15.0.0.223
      iPhotoPhotocast: Version: 7.0
      googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 Support
      QuickTime Plugin: Version: 7.7.3
      AdobePDFViewer: Version: 10.1.12 Support
      SharePointBrowserPlugin: Version: 14.0.0 Support
      JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
    User Internet Plug-ins: ℹ️
      OctoshapeWeb: Version: 1.0 Support
    Safari Extensions: ℹ️
      DivX Plus Web Player HTML5 <video>
    3rd Party Preference Panes: ℹ️
      DivX  Support
      Flash Player  Support
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: NO - Auto backup turned off
      Volumes being backed up:
      Macintosh HD: Disk size: 249.20 GB Disk used: 223.78 GB
      Destinations:
      Time Machine Backups [Local]
      Total size: 0 B
      Total number of backups: 0
      Oldest backup: -
      Last backup: -
      Size of backup disk: Too small
      Backup size 0 B < (Disk used 223.78 GB X 3)
    Top Processes by CPU: ℹ️
          15% WindowServer
          1% Dropbox
          0% AppleSpell
          0% Skype
          0% imagent
    Top Processes by Memory: ℹ️
      60 MB Google Chrome
      56 MB JavaApplicationStub
      47 MB Skype
      45 MB Finder
      45 MB WindowServer
    Virtual Memory Information: ℹ️
      60 MB Free RAM
      443 MB Active RAM
      398 MB Inactive RAM
      349 MB Wired RAM
      16.91 GB Page-ins
      633 MB Page-outs

    I advise to reply to the one you want to reply to.
    You have had good information here. I will not repeat that here.
    I would like to add:
    you have incompatible software: start in SafeMode, read Woodmeister and see if it is free of issues.
    Akamai is crap software needed or not, Huawei the same.
    It is very possible that the keygenerator you used for generating a key for some softwares has infected your mac.
    The non-regular software with the false key(s) are not compatible probably or generate malware. Luckily you can not update them automatically because the keygenerator blocked the software for contacting the developer... I propose to consider getting rid of those softwares by really good uninstalling.
    You have a beautiful mac, don't degenerate it with crapped software. There are alternatives for expensive software, for example Adobe Photoshop has a free alternative (with a less beautiful interface) in GIMP. And so on.
    Lex

  • Wrong codes? or maybe I don't understand the instructions

    The instructions said "Write a procedure that will retrieve an
    existing record in Enrollment usiing the student and section Ids
    and set the grade to a specified value. (use update instead of
    insert) and write another procedure that will assign a given
    student a given advisor" I tried but cause I got a lot of
    errors!!! any help would be appreciated just email me at
    [email protected]. thanks!
    create sequence room_seq increment by 1;
    create sequence faculty_seq increment by 1;
    create sequence student_seq increment by 1;
    create sequence section_seq increment by 1;
    create sequence enrollment_seq increment by 1;
    create sequence room_section_seq increment by 1;
    create table course(
    courseNo varchar2(10),
    name varchar2(30),
    credits number,
    constraint course_pk primary key (courseNo));
    insert into course (courseNo, name, credits) values
    ('CIS405','ADVANCED DATABASE', 5);
    insert into course (courseNo, name, credits) values
    ('CIS349','INTRO TO DATABASE', 5);
    COMMIT;
    create table room(
    roomID number,
    bldg char(1) check (bldg IN ('A','B')),
    roomNo varchar2(10),
    maxCapacity number,
    style varchar2(15) check(style IN
    ('LECTURE','LECTURE/LAB','LAB','OFFICE')),
    constraint room_pk primary key (roomID));
    insert into room (roomID, bldg, roomNo, maxCapacity, style)
    values (room_seq.nextval, 'B', '151A', 50, 'LAB');
    insert into room (roomID, bldg, roomNo, maxCapacity, style)
    values (room_seq.nextval, 'B', '151B', 50, 'LAB');
    commit;
    create table faculty(
    facultyID number,
    lname varchar2(30) not null,
    fname varchar2(20) not null,
    dept varchar2(5),
    officeID number,
    phone varchar2(15),
    email varchar2(75),
    rank char(4) check(rank IN ('INST','ASOC','ASST','FULL','SENR')),
    constraint faculty_pk primary key (facultyID),
    constraint faculty_fk foreign key (officeID) references room
    (roomID));
    insert into faculty(facultyID, lname, fname, dept, officeID,
    phone, email, rank) values
    (faculty_seq.nextval, 'CANNON', 'AMY', 'CIS',
    6, '77052149003252', '[email protected]','FULL');
    commit;
    create table equipment(
    equipmentID varchar2(30),
    roomID number,
    type varchar2(20) check(type IN('OVERHEAD PROJECTOR','PORTABLE
    PROJECTOR','LAPTOP CONNECTION','DESKTOP COMPUTER','INTERNET
    CONNECTION')),
    constraint equipment_pk primary key (equipmentID),
    constraint equipment_fk foreign key (roomID) references room
    (roomID));
    INSERT INTO EQUIPMENT (EQUIPMENTID, ROOMID, TYPE) VALUES ('111',
    5, 'DESKTOP COMPUTER');
    INSERT INTO EQUIPMENT (EQUIPMENTID, ROOMID, TYPE) VALUES ('222',
    5, 'OVERHEAD PROJECTOR');
    commit;
    create table student(
    stuID number,
    lname varchar2(30),
    fname varchar2(20),
    street varchar2(100),
    city varchar2(60),
    state char(2),
    zip varchar2(9),
    major varchar2(5) check(major IN
    ('ACCT','ECT','EET','BIS','BSIT','CIS','TCOM')),
    standing varchar2(10) check(standing IN
    ('FRESHMAN','SOPHOMORE','JUNIOR','SENIOR')),
    gpa number(3,2),
    advisor number,
    constraint student_pk primary key (stuID),
    constraint student_FK foreign key (advisor) references faculty
    (facultyID));
    INSERT INTO STUDENT (STUID, LNAME, FNAME, MAJOR, STANDING, GPA,
    ADVISOR) VALUES
    (STUDENT_SEQ.NEXTVAL, 'SMITH', 'HEATHER', 'CIS', 'JUNIOR', 3.8,
    2);
    INSERT INTO STUDENT (STUID, LNAME, FNAME, MAJOR, STANDING, GPA,
    ADVISOR) VALUES
    (STUDENT_SEQ.NEXTVAL, 'ELLIOTT', 'DAVE', 'CIS', 'JUNIOR', 3.65,
    2);
    commit;
    create table section(
    sectionID number,
    sectionNo char(1),
    courseNo varchar2(10),
    facultyID number,
    term char(4),
    curSize number,
    maxSize number,
    constraint section_pk primary key (sectionID),
    constraint section_course_fk foreign key (courseNo) references
    course(courseNo),
    constraint section_faculty_fk foreign key (facultyID) references
    faculty(facultyID));
    INSERT INTO SECTION (SECTIONID, SECTIONNO, COURSENO, FACULTYID,
    TERM, CURSIZE, MAXSIZE)
    VALUES (SECTION_SEQ.NEXTVAL, 'T', 'CIS405', 1, '1001', 17, 30);
    INSERT INTO SECTION (SECTIONID, SECTIONNO, COURSENO, FACULTYID,
    TERM, CURSIZE, MAXSIZE)
    VALUES (SECTION_SEQ.NEXTVAL, 'G', 'CIS405', 2, '1001', 24, 30);
    commit;
    create table enrollment(
    stuSectionID number,
    stuID number,
    sectionID number,
    grade char(1) check(grade IN('A','B','C','D','F','I','W')),
    constraint enrollment_pk primary key (stuSectionID),
    constraint enrollment_stu_fk foreign key (stuID) references
    student(stuID),
    constraint enrollment_section_fk foreign key (sectionID)
    references section(sectionID));
    INSERT INTO ENROLLMENT (STUSECTIONID, STUID, SECTIONID) VALUES
    (ENROLLMENT_SEQ.NEXTVAL, 3, 1);
    INSERT INTO ENROLLMENT (STUSECTIONID, STUID, SECTIONID) VALUES
    (ENROLLMENT_SEQ.NEXTVAL, 3, 8);
    commit;
    create table room_section(
    roomSectionID number,
    sectionID number,
    roomID number,
    day char(3) check(day IN
    ('MON','TUE','WED','THU','FRI','SAT','SUN')),
    hour date,
    term char(4),
    constraint room_section_pk primary key (roomSectionID),
    constraint room_section_section_fk foreign key (sectionID)
    references section(sectionID),
    constraint room_section_room_fk foreign key (roomID) references
    room(roomID));
    INSERT INTO ROOM_SECTION (ROOMSECTIONID, SECTIONID, ROOMID, DAY,
    HOUR, TERM)
    VALUES (ROOM_SECTION_SEQ.NEXTVAL, 1, 3, 'MON', TO_DATE('9:30
    AM', 'HH:MI AM'), '1001');
    INSERT INTO ROOM_SECTION (ROOMSECTIONID, SECTIONID, ROOMID, DAY,
    HOUR, TERM)
    VALUES (ROOM_SECTION_SEQ.NEXTVAL, 1, 3, 'MON', TO_DATE('10:30
    AM', 'HH:MI AM'), '1001');
    commit;
    SQL> DESC ENROLLMENT
    Name Null? Type
    STUSECTIONID NOT NULL NUMBER
    STUID NUMBER
    SECTIONID NUMBER
    GRADE CHAR(1)
    SQL> CREATE OR REPLACE PROCEDURE Enrollment(
    2 p_grade IN CHAR(1),
    3 IS
    4 v_stuid NUMBER,
    5 v_sectionid NUMBER;
    6 BEGIN
    7 SELECT student_seq.NEXTVAL
    8 INTO v_stuid
    9 FROM DUAL;
    10 UPDATE student
    11 (stuid,
    12 sectionid,
    13 grade,
    14 SET (v_stuid,
    15 v_sectionid,
    16 UPPER (p_grade),
    17 COMMIT;
    18 DBMS_OUTPUT.PUT_LINE ('Student added');
    19 EXCEPTION
    20 WHEN OTHERS THEN
    21 DBMS_OUTPUT.PUT_LINE ('An error occurred');
    22 END AddStudent;
    23 /
    I got those errors like above!!! I don't understand what the
    instructions said. any assistance would be appreciated!

    David,
    I am afraid that the
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE ('An error occurred');
    was my fault. I had intended it as an example to provide only
    minimal syntax where no exception handling whatsoever previously
    existed. Beau is a student and I am trying to guide him in the
    right direction without just writing all of it for him. In
    fact, I am afraid I may have already provided too much code
    without sufficient explanation. For you and others who may wish
    to help, here are the e-mails that provide the background on how
    we got to this point, with the most recent on top, starting with
    the last resonse I sent to him:
    Things that are wrong:
    The instructions say to be sure to use the sequence number for
    the student's ID, so you should not have p_stuID as an input
    parameter. Instead you should create a variable and select the
    student_seq.nextval into the variable from the dual table and
    use that value to populate the stuid column.
    Your input parameters should only have the variable type, not
    the size, so just use varchar2 and number.
    The check constraints only belong in the script that is used to
    create the table, not in your procedure with your input
    parameters, so remove them from the procedure.
    The order and number of your columns you are inserting into and
    values you are inserting must match, so if you insert into fname
    then lname, you need to insert the values p_fname then p_lname.
    You must either have first name then last name in both or last
    name then first name in both, not one way in one and the other
    way in the other.
    The idea is that when you execute the procedure you specify the
    values of the input parameter variable, then use those input
    parameter variables to insert the values into the table. You
    should not be specifying any specific values anywhere in your
    procedure. In other words don't insert 'HEATHER', instead
    insert fname, and so on.
    You should only have one insert statement. Each time the
    procedure is executed, a different set of values will be
    provided, and the same insert statement will be used.
    Additional suggestions:
    Although it is not required, since IN is the default, it is
    generally considered to be a good programming practice to use IN
    with your input parameters. It just makes the code easier to
    read and understand. As you write other code, you will learn to
    use OUT for output parameters and IN OUT for parameters that are
    both input and output parameters.
    It is generally recommended to store all data in upper case,
    that is capital letters, so that it is easier to index and
    search and avoid duplicates and so on. In order to ensure that
    your data is input in upper case, it is a good idea to use the
    UPPER function.
    Different programmers and companies have different standards
    that they use for capitalization, indentation, spacing,
    alignment, and so forth to make their code uniform and easier to
    read. You may want to look at some various styles and see what
    you like or ask what your instructor recommends.
    You should add some sort of exception handling section. For
    example, if someone attempts to insert a value for standing that
    isn't acceptable, then the procedure will fail due to the
    constraints and the student will not be added. You probably
    want to display some sort of message to the user. You might
    also want to display a message if the input is successful.
    When you attempt to compile your program and you receive a
    message that says "Warning: Procedure created with compilation
    errors." or some such thing, then from the SQL> prompt, type
    SHOW ERRORS and it will list the error message number, a brief
    description of the problem, and the line of code that the
    problem occurred on. You can then type LIST and it will list
    the code with line numbers, so that you can tell what line
    number the error message is referring to.
    In the following example, I have fixed the things that were
    wrong, formatted it the way I usually do, and added minimal
    exception handling and messages. There is a lot more that you
    could do. I have also demonstrated how the program can be
    tested and the results of proper input and improper input. In
    the example below, two students are added correctly, then an
    attempt to add another fails because the standing is not valid
    and violates a check constraint, because graduate is not
    acceptable. After each execution of the procedure, I have
    queried the table, so that you can see what was added and what
    was not.
    SQL> CREATE OR REPLACE PROCEDURE AddStudent
    2 (p_fname IN VARCHAR2,
    3 p_lname IN VARCHAR2,
    4 p_major IN VARCHAR2,
    5 p_standing IN VARCHAR2,
    6 p_gpa IN NUMBER)
    7 IS
    8 v_stuid NUMBER;
    9 BEGIN
    10 SELECT student_seq.NEXTVAL
    11 INTO v_stuid
    12 FROM DUAL;
    13
    14 INSERT INTO student
    15 (stuid,
    16 fname,
    17 lname,
    18 major,
    19 standing,
    20 gpa)
    21 VALUES (v_stuid,
    22 UPPER (p_fname),
    23 UPPER (p_lname),
    24 UPPER (p_major),
    25 UPPER (p_standing),
    26 p_gpa);
    27
    28 COMMIT;
    29 DBMS_OUTPUT.PUT_LINE ('Student added');
    30 EXCEPTION
    31 WHEN OTHERS THEN
    32 DBMS_OUTPUT.PUT_LINE ('An error occurred');
    33 END AddStudent;
    34 /
    Procedure created.
    SQL> COLUMN fname FORMAT A15
    SQL> COLUMN lname FORMAT A15
    SQL> SELECT stuid, fname, lname, major, standing, gpa
    2 FROM student
    3 /
    no rows selected
    SQL> SET SERVEROUTPUT ON
    SQL> EXEC AddStudent ('HEATHER', 'SMITH', 'CIS', 'JUNIOR', 3.8)
    Student added
    PL/SQL procedure successfully completed.
    SQL> SELECT stuid, fname, lname, major, standing, gpa
    2 FROM student
    3 /
    STUID FNAME LNAME MAJOR
    STANDING GPA
    1 HEATHER SMITH CIS
    JUNIOR 3.8
    SQL> EXEC AddStudent ('Dave', 'Elliott', 'CIS', 'junior', 3.65)
    Student added
    PL/SQL procedure successfully completed.
    SQL> SELECT stuid, fname, lname, major, standing, gpa
    2 FROM student
    3 /
    STUID FNAME LNAME MAJOR
    STANDING GPA
    1 HEATHER SMITH CIS
    JUNIOR 3.8
    2 DAVE ELLIOTT CIS
    JUNIOR 3.65
    SQL> EXEC AddStudent ('KARL', 'WEBSTER', 'CIS', 'GRADUATE', 3.2)
    An error occurred
    PL/SQL procedure successfully completed.
    SQL> SELECT stuid, fname, lname, major, standing, gpa
    2 FROM student
    3 /
    STUID FNAME LNAME MAJOR
    STANDING GPA
    1 HEATHER SMITH CIS
    JUNIOR 3.8
    2 DAVE ELLIOTT CIS
    JUNIOR 3.65
    SQL>
    I am going home now. Sometimes I get a chance to respond to my
    e-mail daily and sometimes I may not get to it for a week. It
    is better if you post your questions on one of the forums where
    you may get more rapid responses from many people. I have
    provided links to some forums that I browse below. If you have
    internet access, you should be able to just click on them. Some
    may require you to register, but they are all free.
    The following is a link to the Oracle Technology Network forums,
    hosted by Oracle Corporation, where I recommend the SQL and
    PL/SQL discussions.
    http://forums.oracle.com/forums/homepage.jsp
    The following is a link to the PL/SQL forums of the REVEALNET
    site, where noted author Steven Feuerstein is one of the SYSOPS,
    where, for you, I recommend the "Beginner PL/SQL Developer
    Questions" discussions.
    http://PIPETALK.REVEALNET.COM/~PLSQL/LOGIN
    The following is a link to another forum, where I recommend the
    RDBMS, SQL, PL/SQL discussions.
    http://www.orafans.com/cgi-bin/orafans/ubb/Ultimate.cgi?
    action=intro
    I would still like to know where you got my e-mail address, what
    class you are taking, who your instructor is, and so forth.
    Please do let me know.
    Good luck,
    Barbara
    -----Original Message-----
    From:     bseo.ga [SMTP:[email protected]]
    Sent:     Wednesday, December 19, 2001 12:19 AM
    To:     Boehmer, Barbara A.
    Subject:     Re: PL/SQL
    Importance:     High
    what is wrong with the compilation errors?
    CREATE or REPLACE PROCEDURE AddStudent(
    p_stuID number,
    p_lname varchar2(30),
    p_fname varchar2(20),
    p_major varchar2(5) check(major IN
    ('ACCT','ECT','EET','BIS','BSIT','CIS','TCOM')),
    P_standing varchar2(10) check(standing IN
    ('FRESHMAN','SOPHOMORE','JUNIOR','SENIOR')),
    P_gpa number(3,2) IS
    BEGIN
    INSERT INTO STUDENT (STUID, LNAME, FNAME, MAJOR, STANDING, GPA,
    ADVISOR) VALUES
    (STUDENT_SEQ.NEXTVAL, 'SMITH', 'HEATHER', 'CIS', 'JUNIOR', 3.8,
    2);
    INSERT INTO STUDENT (STUID, LNAME, FNAME, MAJOR, STANDING, GPA,
    ADVISOR) VALUES
    (STUDENT_SEQ.NEXTVAL, 'ELLIOTT', 'DAVE', 'CIS', 'JUNIOR', 3.65,
    2);
    INSERT INTO STUDENT (STUID, LNAME, FNAME, MAJOR, STANDING, GPA,
    ADVISOR) VALUES
    (STUDENT_SEQ.NEXTVAL, 'WEBSTER', 'KARL', 'CIS', 'SENIOR', 3.2,
    2);
    INSERT INTO STUDENT (STUID, LNAME, FNAME, MAJOR, STANDING, GPA,
    ADVISOR) VALUES
    (STUDENT_SEQ.NEXTVAL, 'COX', 'STACEY', 'CIS', 'SENIOR', 2.7, 1);
    INSERT INTO STUDENT (STUID, LNAME, FNAME, MAJOR, STANDING, GPA,
    ADVISOR) VALUES
    (STUDENT_SEQ.NEXTVAL, 'HOWARD', 'BRIAN', 'CIS', 'JUNIOR', 3.18,
    1);
    INSERT INTO STUDENT (STUID, LNAME, FNAME, MAJOR, STANDING, GPA,
    ADVISOR) VALUES
    (STUDENT_SEQ.NEXTVAL, 'DENNIS', 'KELLY', 'CIS', 'SENIOR', 4.0,
    1);
    COMMIT;
    END;
    SQL> /
    Warning: Procedure created with compilation errors.
    ----- Original Message -----
    From: Boehmer, Barbara A. <mailto:[email protected]>
    To: 'bseo.ga' <mailto:[email protected]>
    Sent: Tuesday, December 18, 2001 5:17 PM
    Subject: RE: PL/SQL
    I am not sure what part of it you don't understand.
    The first section that you included is a script that you need to
    copy and run, in order to create the sequences, tables, and data
    that you will need to complete your assignment. You will need
    to edit an empty .sql file, copy the script into the file, save
    the file, then start the file. For example:
    SQL> EDIT test
    Type or copy the script and save the file.
    SQL> START test
    You should see various messages as the items are created. Then
    you can use the following commands to see the tables and
    sequences that you have created:
    SQL> SELECT table_name FROM user_tables;
    SQL> SELECT sequence_name FROM user_sequences;
    To show the structure of an individual table, for example the
    course table:
    SQL> DESC course
    To show the data in an individual table, like the course table:
    SQL> SELECT * FROM course;
    In the second section that you have provided, your instructor is
    asking you to create three different procedures to do three
    different things. To create a procedure, you edit a .sql file,
    type the code to create the procedure, save the file, then start
    the file. I usually make the .sql file name the same as the
    procedure name. So, for example, in number 1, you are asked to
    create a procedure named AddStudent, so you would:
    SQL> EDIT AddStudent
    Type your code.
    Save the file.
    SQL> START AddStudent
    You should receive a message that says:
    Procedure created.
    Then, to execute your procedure:
    SQL> EXEC AddStudent (put your parameter values here)
    The basic syntax for creating a pl/sql procedure is:
    CREATE OR REPLACE PROCEDURE procedure_name
    (put your parameters here)
    AS
    put your variable declarations here;
    BEGIN
    put your code that you want to execute here,
    like insert statements and update statements;
    END procedure_name;
    So, if you are trying to create a procedure to add a new student
    (which means inserting a row into the student table), you will
    need to accept the values (parameters) that you are going to
    insert, then insert them:
    CREATE OR REPLACE PROCEDURE AddStudent
    (p_first .....
    p_last .....
    p_major .....
    p_standing .....
    p_GPA .....)
    AS
    BEGIN
    INSERT INTO student .....;
    END AddStudent;
    I have just given you a starting format and deliberately left
    out a lot, because you will learn more by doing it yourself. I
    hope that makes things a little clearer.
    I would like to know a little more about the class you are
    taking. Please let me know where you are going to school, who
    your instructor is, what is the name of the class you are
    taking, and what book are you using. Also, please let me know
    where you got my e-mail address (from one of the forums?)
    Good luck,
    Barbara
    -----Original Message-----
    From: bseo.ga [mailto:[email protected]]
    Sent: Tuesday, December 18, 2001 5:57 PM
    To: [email protected]
    Subject: PL/SQL
    Importance: High
    I don't understand reading the following instructions from my
    professor and the books. help would be apppreciated.
    -------------create the sequence numbers needed to generate
    primary key values
    create sequence room_seq increment by 1;
    create sequence faculty_seq increment by 1;
    create sequence student_seq increment by 1;
    create sequence section_seq increment by 1;
    create sequence enrollment_seq increment by 1;
    create sequence room_section_seq increment by 1;
    create table course(
    courseNo varchar2(10),
    name varchar2(30),
    credits number,
    constraint course_pk primary key (courseNo));
    insert into course (courseNo, name, credits) values
    ('CIS405','ADVANCED DATABASE', 5);
    insert into course (courseNo, name, credits) values
    ('CIS349','INTRO TO DATABASE', 5);
    COMMIT;
    create table room(
    roomID number,
    bldg char(1) check (bldg IN ('A','B')),
    roomNo varchar2(10),
    maxCapacity number,
    style varchar2(15) check(style IN
    ('LECTURE','LECTURE/LAB','LAB','OFFICE')),
    constraint room_pk primary key (roomID));
    insert into room (roomID, bldg, roomNo, maxCapacity, style)
    values (room_seq.nextval, 'B', '151A', 50, 'LAB');
    insert into room (roomID, bldg, roomNo, maxCapacity, style)
    values (room_seq.nextval, 'B', '151B', 50, 'LAB');
    commit;
    create table faculty(
    facultyID number,
    lname varchar2(30) not null,
    fname varchar2(20) not null,
    dept varchar2(5),
    officeID number,
    phone varchar2(15),
    email varchar2(75),
    rank char(4) check(rank IN
    ('INST','ASOC','ASST','FULL','SENR')),
    constraint faculty_pk primary key (facultyID),
    constraint faculty_fk foreign key (officeID) references room
    (roomID));
    insert into faculty(facultyID, lname, fname, dept, officeID,
    phone, email, rank) values
    (faculty_seq.nextval, 'CANNON', 'AMY', 'CIS',
    6, '77052149003252', '[email protected]','FULL'
    <mailto:'[email protected]','FULL'>);
    commit;
    create table equipment(
    equipmentID varchar2(30),
    roomID number,
    type varchar2(20) check(type IN('OVERHEAD PROJECTOR','PORTABLE
    PROJECTOR','LAPTOP CONNECTION','DESKTOP COMPUTER','INTERNET
    CONNECTION')),
    constraint equipment_pk primary key (equipmentID),
    constraint equipment_fk foreign key (roomID) references room
    (roomID));
    INSERT INTO EQUIPMENT (EQUIPMENTID, ROOMID, TYPE) VALUES ('111',
    5, 'DESKTOP COMPUTER');
    INSERT INTO EQUIPMENT (EQUIPMENTID, ROOMID, TYPE) VALUES ('222',
    5, 'OVERHEAD PROJECTOR');
    commit;
    create table student(
    stuID number,
    lname varchar2(30),
    fname varchar2(20),
    street varchar2(100),
    city varchar2(60),
    state char(2),
    zip varchar2(9),
    major varchar2(5) check(major IN
    ('ACCT','ECT','EET','BIS','BSIT','CIS','TCOM')),
    standing varchar2(10) check(standing IN
    ('FRESHMAN','SOPHOMORE','JUNIOR','SENIOR')),
    gpa number(3,2),
    advisor number,
    constraint student_pk primary key (stuID),
    constraint student_FK foreign key (advisor) references faculty
    (facultyID));
    INSERT INTO STUDENT (STUID, LNAME, FNAME, MAJOR, STANDING, GPA,
    ADVISOR) VALUES
    (STUDENT_SEQ.NEXTVAL, 'SMITH', 'HEATHER', 'CIS', 'JUNIOR', 3.8,
    2);
    INSERT INTO STUDENT (STUID, LNAME, FNAME, MAJOR, STANDING, GPA,
    ADVISOR) VALUES
    (STUDENT_SEQ.NEXTVAL, 'ELLIOTT', 'DAVE', 'CIS', 'JUNIOR', 3.65,
    2);
    commit;
    create table section(
    sectionID number,
    sectionNo char(1),
    courseNo varchar2(10),
    facultyID number,
    term char(4),
    curSize number,
    maxSize number,
    constraint section_pk primary key (sectionID),
    constraint section_course_fk foreign key (courseNo) references
    course(courseNo),
    constraint section_faculty_fk foreign key (facultyID)
    references faculty(facultyID));
    INSERT INTO SECTION (SECTIONID, SECTIONNO, COURSENO, FACULTYID,
    TERM, CURSIZE, MAXSIZE)
    VALUES (SECTION_SEQ.NEXTVAL, 'T', 'CIS405', 1, '1001', 17, 30);
    INSERT INTO SECTION (SECTIONID, SECTIONNO, COURSENO, FACULTYID,
    TERM, CURSIZE, MAXSIZE)
    VALUES (SECTION_SEQ.NEXTVAL, 'G', 'CIS405', 2, '1001', 24, 30);
    commit;
    create table enrollment(
    stuSectionID number,
    stuID number,
    sectionID number,
    grade char(1) check(grade IN('A','B','C','D','F','I','W')),
    constraint enrollment_pk primary key (stuSectionID),
    constraint enrollment_stu_fk foreign key (stuID) references
    student(stuID),
    constraint enrollment_section_fk foreign key (sectionID)
    references section(sectionID));
    INSERT INTO ENROLLMENT (STUSECTIONID, STUID, SECTIONID) VALUES
    (ENROLLMENT_SEQ.NEXTVAL, 3, 1);
    INSERT INTO ENROLLMENT (STUSECTIONID, STUID, SECTIONID) VALUES
    (ENROLLMENT_SEQ.NEXTVAL, 3, 8);
    commit;
    create table room_section(
    roomSectionID number,
    sectionID number,
    roomID number,
    day char(3) check(day IN
    ('MON','TUE','WED','THU','FRI','SAT','SUN')),
    hour date,
    term char(4),
    constraint room_section_pk primary key (roomSectionID),
    constraint room_section_section_fk foreign key (sectionID)
    references section(sectionID),
    constraint room_section_room_fk foreign key (roomID)
    references room(roomID));
    INSERT INTO ROOM_SECTION (ROOMSECTIONID, SECTIONID, ROOMID, DAY,
    HOUR, TERM)
    VALUES (ROOM_SECTION_SEQ.NEXTVAL, 1, 3, 'MON', TO_DATE('9:30
    AM', 'HH:MI AM'), '1001');
    INSERT INTO ROOM_SECTION (ROOMSECTIONID, SECTIONID, ROOMID, DAY,
    HOUR, TERM)
    VALUES (ROOM_SECTION_SEQ.NEXTVAL, 1, 3, 'MON', TO_DATE('10:30
    AM', 'HH:MI AM'), '1001');
    commit;
    The lab notes from my professor said
    1. your system will often need to create a new student. Write
    PL/SQL code for an object named AddStudent that will take values
    for first and last name, major, standing and GPA and add a new
    record in the Student table. Since advisors aren't assigned at
    registration time, we'll add their advisor at a later date.
    Don't worry about the student's address. Be sure to use the
    sequence number for the student's ID.
    2. Write a procedure that will retrieve an existing record in
    Enrollment usiing the student and section Ids and set the grade
    to a specified value. (use update instead of insert)
    3. Write another procedure that will assign a given student a
    given advisor.

  • Xorg.conf somethings I don't understand yet

    Background:
    I'm pretty much a total noob when it comes to linux. I've been a dos/windows user/tech for more then 15 years and I've finally decided I wanted to learn linux.
    So I setup a teamspeak server(Linux Talk) on my windows machine and have been using a kvm to learn linux on another. Pudge has been a great help  coming on the teamspeak server and chatting with me and others.
    Today:
    So today I decided to try reinstalling Arch without any help. And So far I've done fairly well I managed to get it updated and get into gnome. However I've run into some things in the xorg.conf that while I was able to get around, i really didn't understand them. I tried search the forum and wiki, but it didn't help.
    What I did:
    I used xorg -configure and it generated the xorg.conf.new file and properly detected my monitor, I copied and renamed it as it should be, but it didn't work. I would recieve out of range. So I commented out the refresh lines (like it said to do) so that it would use ddc, that didn't work either agian I recieved the out of range message on my monitor again. So I put in manual refresh rates that I knew would work and they did.
    The part where I got confused:
    What I don't understand is when it properly detected and identified the monitor, how come that didn't work ? And how come using the ddc method didn't work.
    I know i'm not filling in all the blanks with specific numbers and hardware details, I'm not looking for a how to for my specific setup, just trying to understand the basic process and why it didn't work even though it detected everything properly.

    Anymore you might be able to get away with not specifying sync ranges for your monitor... it seems I broke my site, so I will post a link to my xorg.conf url soon.

  • HT5463 Don't understand the Silence section in Do Not Disturb.  I do NOT want to silence calls at any time.  How do I achieve this?

    Don't understand the Silence section in Do Not Disturb.  I do NOT want to silence the phone at all.  I have entered Allow Calls from 'Everyone". 

    If you do not want to silence the phone at all, you just need to set both Manual and Sheduled to off (not green). Those two switches turn Do Not Disturb on and off. The "Silence" section is only relevant when Do Not Disturb is On and determines whether it is active only while the screen is locked and Do Not Disturb is On or at all times that Do Not Disturb is On. Also, if Do Not Disturb is Off, it doesn't matter what the "Allow calls from" is set to.
    If Do Not Disturb is On you will see a moon icon on the right side of the status bar (somewhere left of the battery %). More information at: http://support.apple.com/kb/HT5463

  • Convert Colors RGB to CMYK something i don't understand.

    Hello!
    I'm still "fighting" with maximum TotalInk. There is the problem. Indesign have background and overlaying image with effect - Multiply. So it's extremely hard to avoid not exceed maximum ink. Indesign don't provide normal way to do it and i start to torture Acrobat for that. First step was create Postcript file then distille it to RGB and then convert by Acrobat X Pro (Print Production/Convert Colors).
    Theoreticly everything worked out fine. Black text stayed black (which is miracle) and images went to RGB and back to CMYK. BUT...and i don't understand why - Convert to Profile with Perceptual didn't converted it same way as Photoshop. It still got some points which exceed TotalInk (i used profile with maximum 300). AND image has drastic loss of quality! What did i do wrong? I tried to make Preflight new fix which do same thing and it worked - no exceeds of limit but still BAD quality! What did i miss?
    Thanks.
    P.S. If something isn't understandable please ask, i'll try to make my point more clear (english isn't my first language).

    The 'create album' button is identical to File>New From Selection>Album (Command-L).
    Oddly enough, this gives different behaviour from File>New>Album...
    In other words it makes a new Album with the entire Project's-worth of images in it only if you had nothing selected. It's an assumption on the part of the developers - you've asked for a new Album containing the selection, but nothing's selected - do you throw up an error message (like the one when only one Version is selected), or assume that the user wanted everything.
    Personally I think Aperture should throw up a dialog box to keep things consistent, but I can see the reasoning behind it. And as long as we've got menu items and keyboard shortcuts for both, I don't really care.
    Ian

  • HELP!! Don't understand why my new phone won't work!!

    HELP!! I just brought my iPhone home and went through the activation process. Everything was fine. Then all of a sudden, where the bars for service are... it says "Searching" and won't stop. I also can't get into anything. I press on the screen... nothing. I reset it twice... nothing. It's still doing it. I don't understand why and I can't speak to anyone in technical support right now. Has this happened to anyone else? I just want to cry because I bought this phone a few hours ago and it already is giving me crap! Someone help me!!!

    it's a new account, but I was sending texts and everything was fine. now all of a sudden it keeps going on and off and won't let me do anything. Just says "searching"
    it's really ticking me off!!! no one said there might be problems while activating it. I didn't pay this much money for a phone I can't even use!

  • How to set Background Activity state as error

    HI Experts,
                    In case of foregruond activities,i know we can make the status as ' in progress' by exit_cancelled.What I want to do is,in case of background activity, if some error comes,i should be able to generate some sort of message, seeing which administrator can come to know that there is some problem.If I use exit_cancelled ,that doesnt solve the purpose.I think something should be there but I'm totally unaware.Please help me know how is that done .

    Hello Vivek,
    position your cursor in the object builder on the method declaration; then push the button "Exception".
    Declare an exception 9001 or greater, which is marked as "Application" or "System" error (both of these types will result in a error state of the work item, later on). Choose some useful message id.
    In the implementation of the object's method, use the macro
    exit_return 9001 <var1> <var2> <var3> <var4>.
    If you're not using any variables, use SPACE.
    Instead of setting the error state for a work item immediatly, you could also set the exception type to "temporary". If you do so, the workflow runtime system will re-execute the work item 3 times after every 20 minutes (if you're using the SAP standard settings). Only after the third exception the work item will be set to error state.
    Best wishes,
    Florin

  • Photos (Background Activity) using all of my battery

    I've had this problem for about a month where my Photos app is using 20% to 30% of my battery daily and 25% to 35% weekly with "Background Activity". I've contacted Apple Genuis twice about it and they have no clue what the problem is and I've sent full diagnostic tests in and still have no clue. I've restored my phone and always quit Photos app in multitasking even though I don't use it that much, I use other apps more than I use Photos but it still uses twice the battery as my main apps. I turned off most of my apps to have access to my photos and don't have iCloud Photo Share or Stream on. I can't find the Photos app in the background app refresh settings to turn off background activity so how do I stop it from using all of my battery? Please help!

    So my phone is having the exact same issue except my problem lies with Notes.
    This has literally happened since the 8.3 update a few days ago.  I'm on 2+ full charges a day on my iPhone 6 that used to last me 9-10 hours!!  I've been to the Genius Bar as well been on the phone with AppleCare & they have no clue.  I've done 2 full restores from my old backup with no change & diagnostics show the battery-life is at 100% with no faults.  It does show a steady drain however, and I've even wiped iCloud from my phone & added it as new!!
    Anyone have a solution!?!?  Literally about to throw my phone at a wall!

  • I don't understand apple

    I don't understand why apple is doing this!
    It has been so long that I want to authorize my iTunes and have some apps installed in my iPad without credit card, but some how apple don't let me do this without credit card! I become tired of trying. I don't know what to do with my iPad!!!!!
    When I always tried to sign in the message( this apple ID is not yet been used in the apps store please review your account) appears and asks for billing information. Im living in Afghanistan and no credit card payment is available here.
    I'm tired of appppppple!

    Are you running Mountain Lion (Mac OSX 10.8.x)? If so, and you are using Pages, you should be aware that Apple has implemented a new auto-save feature for its software (and other software that has been written to comply). The very good news is that you can retrieve  prior states of your document. The bad news is that the feature makes it easy to modify your work inadvertently by saving your changes without your knowledge. I don't think Apple has it quite right yet. In any event, research OS 10.8 auto-save and see if this might be your problem.

  • I don't understand my errors (validator)

    I checked my html and css in a validator and I don't understand my errors.
    For html:
    Line 22, Column 32: An a start tag seen but an element of the same type was already open.
                          <li> <a href="index.html">portfolio </a></li>
    And for CSS:
    Value Error : background-image attempt to find a semi-colon before the property name. add it
    Parse Error :(../images/linkedin-logo.png)
    .button-linkedin {
              background-image: url:(../images/linkedin-logo.png);
              height: 3rem;
              width: 3rem;
              float: right;
              margin-top: 4.5rem;
              margin-right: 3rem;

    You have an unclosed <a> tag somewhere higher up in your code.  Look at your pinterest link which I spotted on line 16 from another discussion.
    http://forums.adobe.com/message/5267843#5267843
    In your CSS, change this:
    url:(../images/linkedin-logo.png);
    to this -- no colon between url & parenthesis:
    url(../images/linkedin-logo.png);
    HTML & CSS Tutorials -
    http://w3schools.com/
    Nancy O.

  • I don't understand apple computers.... I am writing a formal piece and then when I save it I don't notice and one page is fully deleted. It's already saved. Is there any way I can get it back what was deleted??

    I don't understand apple computer. I am writing a formal piece for english and one page of it gets deleted without me knowing. I save this file. Is there any way I can get it back?

    Are you running Mountain Lion (Mac OSX 10.8.x)? If so, and you are using Pages, you should be aware that Apple has implemented a new auto-save feature for its software (and other software that has been written to comply). The very good news is that you can retrieve  prior states of your document. The bad news is that the feature makes it easy to modify your work inadvertently by saving your changes without your knowledge. I don't think Apple has it quite right yet. In any event, research OS 10.8 auto-save and see if this might be your problem.

Maybe you are looking for

  • ITunes no longer letting me know it can't find artwork

    I've recently purchased a large, external raid drive setup, and am importing all of my CDs into iTunes. When I first started doing it, if no artwork could be found when I imported a CD, it would come up with a message window saying that no album artw

  • Adding a custom images

    hello, I need to use a custom icon in a BI report ( I need a green up arrow instead of up.gif icon which is blue). I've copied into <OracleBI>/web/app/res/<s_my_skin> a folder named "custom_images" with 4 images. I've selected the image to be used in

  • Why are my cropped images not printing at the size I have cropped them to?!

    Hey! I know how to crop images to specific sizes using either the rectangular marquee or crop tool. However, I am needing to print a number of small images, so want to compile them into one document to save paper. Once the image is cropped, it shows

  • Zip-Unzip

    New to Mac. Is there a file compressor/decompressor that comes with OS X? If not, any recommendations for an open source/freeware/shareware or inexpensive version? I need to compress as well as decompress. Thanks, Eric Weir Decatur, GA USA

  • PCA-CCA

    hello sap guru's                      our client  having number of  product line which is Profit centers. all product line having the different cost center.client want report different product line wise profilt & loss. when ever billing is made its g