What are the symptoms of a failing fusion drive?

My 2012 iMac with a 3 TB fusion drive is suddenly behaving erratically.  What are the symptoms of a failing fusion drive?
I'm experiencing random freeze, sluggish performance, and long boot ups with an occasional universal "NO" icon at boot.
I have AppleCare for this unit that expires next December.  Should I bring it in?  These problems happened right after a hard crash that came out of the blue.  I can get the machine to work, but it seems if I do anything "heavy duty," it freezes and reboots.
I did a "verify disk" on this drive in the disk utility and it said something like "fusion drive is missing one disk," then it rebooted spontaneously.  I did another verify, and the second time it passed.
Mac (27-inch, Late 2012)
3.4 GHz Intel Core i7
16 GB 1600 MHz DDR3
NVIDIA GeForce GTX 680MX 2048 MB
OSX 10.10.1

I ran EtreCheck again, and got this result:  The error seems to be gone?
EtreCheck version: 2.1.1 (104)
Report generated December 7, 2014 at 9:24:31 PM EST
Hardware Information: ℹ️
  iMac (27-inch, Late 2012) (Verified)
  iMac - model: iMac13,2
  1 3.4 GHz Intel Core i7 CPU: 4-core
  16 GB RAM Upgradeable
  BANK 0/DIMM0
  8 GB DDR3 1600 MHz ok
  BANK 1/DIMM0
  8 GB DDR3 1600 MHz ok
  BANK 0/DIMM1
  empty empty empty empty
  BANK 1/DIMM1
  empty empty empty empty
  Bluetooth: Good - Handoff/Airdrop2 supported
  Wireless:  en1: 802.11 a/b/g/n
Video Information: ℹ️
  NVIDIA GeForce GTX 680MX - VRAM: 2048 MB
  iMac 2560 x 1440
  EA224WMi 1920 x 1080 @ 60 Hz
System Software: ℹ️
  OS X 10.10.1 (14B25) - Uptime: 0:2:38
Disk Information: ℹ️
  APPLE HDD ST3000DM001 disk1 : (3 TB)
  S.M.A.R.T. Status: Verified
  EFI (disk1s1) <not mounted> : 210 MB
  Recovery HD (disk1s3) <not mounted>  [Recovery]: 650 MB
  Macintosh HD (disk7) / : 3.11 TB (1.90 TB free)
  Core Storage: disk0s2 120.99 GB Online
  Core Storage: disk1s2 3.00 TB Online
  APPLE SSD SM128E disk0 : (121.33 GB)
  S.M.A.R.T. Status: Verified
  EFI (disk0s1) <not mounted> : 210 MB
  Boot OS X (disk0s3) <not mounted> : 134 MB
  Macintosh HD (disk7) / : 3.11 TB (1.90 TB free)
  Core Storage: disk0s2 120.99 GB Online
  Core Storage: disk1s2 3.00 TB Online
  Hitachi HDS721010DLE630 disk2 : (1 TB)
  S.M.A.R.T. Status: Verified
  EFI (disk2s1) <not mounted> : 210 MB
  disk2s2 (disk2s2) <not mounted> : 999.86 GB
  Boot OS X (disk2s3) <not mounted> : 134 MB
  Hitachi HDS721010DLE630 disk5 : (1 TB)
  S.M.A.R.T. Status: Verified
  EFI (disk5s1) <not mounted> : 210 MB
  disk5s2 (disk5s2) <not mounted> : 999.86 GB
  Boot OS X (disk5s3) <not mounted> : 134 MB
  Hitachi HDS721010DLE630 disk4 : (1 TB)
  S.M.A.R.T. Status: Verified
  EFI (disk4s1) <not mounted> : 210 MB
  disk4s2 (disk4s2) <not mounted> : 999.86 GB
  Boot OS X (disk4s3) <not mounted> : 134 MB
  Hitachi HDS721010DLE630 disk3 : (1 TB)
  S.M.A.R.T. Status: Verified
  EFI (disk3s1) <not mounted> : 210 MB
  disk3s2 (disk3s2) <not mounted> : 999.86 GB
  Boot OS X (disk3s3) <not mounted> : 134 MB
USB Information: ℹ️
  hub_device
  LaCie Porsche Desktop for Mac 4 TB
  S.M.A.R.T. Status: Verified
  EFI (disk8s1) <not mounted> : 315 MB
  BACKUPS (disk8s2) /Volumes/BACKUPS : 4.00 TB (1.73 TB free)
  hub_device
  Logitech USB-PS/2 Optical Mouse
  Logitech USB Receiver
  EPSON EPSON WorkForce 545 Series
  Apple Inc. FaceTime HD Camera (Built-in)
  Apple Inc. MacBook Air SuperDrive
  Apple Inc. BRCM20702 Hub
  Apple Inc. Bluetooth USB Host Controller
Thunderbolt Information: ℹ️
  Apple Inc. thunderbolt_bus
  Other World Computing ThunderBay IV
Gatekeeper: ℹ️
  Anywhere
Kernel Extensions: ℹ️
  /Applications/Parallels Desktop.app
  [not loaded] com.parallels.kext.hypervisor (10.1.1 28614 - SDK 10.7) [Support]
  [not loaded] com.parallels.kext.netbridge (10.1.1 28614 - SDK 10.7) [Support]
  [not loaded] com.parallels.kext.usbconnect (10.1.1 28614 - SDK 10.7) [Support]
  [not loaded] com.parallels.kext.vnic (10.1.1 28614 - SDK 10.7) [Support]
  /Library/Extensions
  [loaded] com.Logitech.Control Center.HID Driver (3.9.1 - SDK 10.8) [Support]
  [not loaded] com.blackmagic-design.desktopvideo.iokit.driver (10.2 - SDK 10.9) [Support]
  [not loaded] com.blackmagic-design.desktopvideo.iokit.framebufferdriver (10.2 - SDK 10.9) [Support]
  [not loaded] com.blackmagic-design.desktopvideo.multibridge.iokit.driver (10.2 - SDK 10.9) [Support]
  [not loaded] com.blackmagic-design.driver.BlackmagicIO (10.2 - SDK 10.9) [Support]
  [not loaded] com.blackmagic-design.driver.BlackmagicUsbIO (10.2 - SDK 10.9) [Support]
  /Library/Extensions/DeckLink_Driver.kext/Contents/PlugIns
  [not loaded] com.blackmagic-design.desktopvideo.firmware (10.2 - SDK 10.9) [Support]
  /System/Library/Extensions
  [loaded] com.Cycling74.driver.Soundflower (1.5.1) [Support]
  [loaded] com.LaCie.ScsiType00 (1.5.1 - SDK 10.5) [Support]
  [loaded] com.Logitech.Unifying.HID Driver (1.3.0 - SDK 10.6) [Support]
  [not loaded] com.TrustedData.driver.VendorSpecificType00 (1.7.0 - SDK 10.7) [Support]
  [loaded] com.attotech.driver.ATTOiSCSI (3.4.1b1 - SDK 10.6) [Support]
  [not loaded] com.drobo.SCSI.ThunderBolt (1.1 [61681] - SDK 10.8) [Support]
Startup Items: ℹ️
  Jaksta: Path: /Library/StartupItems/Jaksta
  Startup items are obsolete in OS X Yosemite
Launch Agents: ℹ️
  [not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
  [running] com.adobe.AdobeCreativeCloud.plist [Support]
  [running] com.blackmagic-design.DesktopVideoFirmwareUpdater.plist [Support]
  [loaded] com.carbonite.launchd.carbonitealerts.plist [Support]
  [running] com.carbonite.launchd.carbonitestatus.plist [Support]
  [loaded] com.google.keystone.agent.plist [Support]
  [loaded] com.lacie.LaCieDesktopManagerAgent.plist [Support]
  [running] com.Logitech.Control Center.Daemon.plist [Support]
  [running] org.chromium.chromoting.plist [Support]
Launch Daemons: ℹ️
  [loaded] com.adobe.fpsaud.plist [Support]
  [invalid?] com.adobe.SwitchBoard.plist [Support]
  [not loaded] com.attotech.iscsid.plist [Support]
  [loaded] com.blackmagic-design.desktopvideo.XPCService.plist [Support]
  [running] com.blackmagic-design.DesktopVideoHelper.plist [Support]
  [running] com.blackmagic-design.streaming.BMDStreamingServer.plist [Support]
  [running] com.carbonite.launchd.carbonitedaemon.plist [Support]
  [running] com.datarobotics.ddservice64d.plist [Support]
  [loaded] com.google.keystone.daemon.plist [Support]
  [loaded] com.klieme.TMSHelper.plist [Support]
  [loaded] com.lacie.LaCieDesktopManagerDaemon.plist [Support]
  [loaded] com.redgiant.LinkUpdateChecker.plist [Support]
  [loaded] com.timesoftware.timemachineeditor.backup-auto.plist [Support]
  [loaded] com.timesoftware.timemachineeditor.helper.plist [Support]
User Launch Agents: ℹ️
  [loaded] com.adobe.AAM.Updater-1.0.plist [Support]
  [loaded] com.redgiantsoftware.updater.plist [Support]
User Login Items: ℹ️
  iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
  Dropbox Application (/Applications/Dropbox.app)
  Synkron Application (/Applications/Synkron.app)
Internet Plug-ins: ℹ️
  Default Browser: Version: 600 - SDK 10.10
  AdobeExManDetect: Version: AdobeExManDetect 1.1.0.0 - SDK 10.7 [Support]
  Flip4Mac WMV Plugin: Version: 2.4.4.2 [Support]
  AmazonMP3DownloaderPlugin101750: Version: AmazonMP3DownloaderPlugin 1.0.17 - SDK 10.4 [Support]
  AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 [Support]
  AdobePDFViewerNPAPI: Version: 11.0.0 - SDK 10.6 [Support]
  FlashPlayer-10.6: Version: 15.0.0.239 - SDK 10.6 [Support]
  OfficeLiveBrowserPlugin: Version: 12.3.6 [Support]
  Flash Player: Version: 15.0.0.239 - SDK 10.6 [Support]
  QuickTime Plugin: Version: 7.7.3
  Silverlight: Version: 5.1.20913.0 - SDK 10.6 [Support]
  AdobePDFViewer: Version: 11.0.0 - SDK 10.6 [Support]
User internet Plug-ins: ℹ️
  Picasa: Version: 1.0 - SDK 10.4 [Support]
  Google Earth Web Plug-in: Version: 7.1 [Support]
Safari Extensions: ℹ️
  OpenIE
3rd Party Preference Panes: ℹ️
  Blackmagic Desktop Video  [Support]
  Carbonite  [Support]
  remoting_host_prefpane  [Support]
  Flash Player  [Support]
  Flip4Mac WMV  [Support]
  Logitech Control Center  [Support]
Time Machine: ℹ️
  Skip System Files: NO
  Mobile backups: OFF
  Auto backup: NO - Auto backup turned off
  Volumes being backed up:
  Macintosh HD: Disk size: 3.11 TB Disk used: 1.21 TB
  Destinations:
  Data [Network]
  Total size: 3.00 TB
  Total number of backups: 36
  Oldest backup: 2014-09-21 03:49:29 +0000
  Last backup: 2014-12-07 04:50:10 +0000
  Size of backup disk: Too small
  Backup size 3.00 TB < (Disk used 1.21 TB X 3)
Top Processes by CPU: ℹ️
      6% mds
      2% WindowServer
      0% LDM
      0% EPSON Scanner
      0% AppleSpell
Top Processes by Memory: ℹ️
  189 MB mds_stores
  86 MB Dropbox
  86 MB ocspd
  86 MB Creative Cloud
  52 MB mds
Virtual Memory Information: ℹ️
  13.29 GB Free RAM
  1.94 GB Active RAM
  593 MB Inactive RAM
  1.35 GB Wired RAM
  1.25 GB Page-ins
  0 B Page-outs
Diagnostics Information: ℹ️
  Dec 7, 2014, 09:22:27 PM Self test - passed
  Dec 7, 2014, 07:14:23 PM CarboniteDaemon_2014-12-07-191423_JJO-iMac-2012.crash
  Dec 7, 2014, 07:14:00 PM CarboniteDaemon_2014-12-07-191400_JJO-iMac-2012.crash
  Dec 7, 2014, 07:13:40 PM CarboniteDaemon_2014-12-07-191340_JJO-iMac-2012.crash
  Dec 7, 2014, 07:13:12 PM CarboniteDaemon_2014-12-07-191312_JJO-iMac-2012.crash
  Dec 7, 2014, 07:12:40 PM CarboniteDaemon_2014-12-07-191240_JJO-iMac-2012.crash
  Dec 7, 2014, 06:53:50 PM ReportPanic_2014-12-07-185350_JJO-iMac-2012.crash
  Dec 7, 2014, 06:53:30 PM CarboniteDaemon_2014-12-07-185330_JJO-iMac-2012.crash
  Dec 7, 2014, 06:48:27 PM Kernel_2014-12-07-184827_JJO-iMac-2012.panic [Details]
  Dec 5, 2014, 05:59:26 PM CarboniteDaemon_2014-12-05-175926_JJO-iMac-2012.cpu_resource.diag [Details]

Similar Messages

  • What are the installation steps for Oracle Fusion HCM

    Hi all
    I will like to ask, what are the installation steps for Oracle Fusion HCM as well as can it work on Windows or only on virtual machine?
    Thanks

    If you're looking to install Fusion HCM, your best bet is to install on linux, eg, Oracle Enterprise Linux. It's up to you whether you put that in a Virtual Machine or not. I don't think Windows is an available platform for Fusion Apps at the moment, although am prepared to be corrected if you find anything to the contrary!
    If you're looking to do an install on your own PC/laptop, you're probably out of luck - you'll be needing around 128GB of RAM. Check out this post:
    http://onlineappsdba.com/index.php/2011/11/02/fusion-applications-128-gb-memory-and-500-gb-disk-space-are-you-ready/
    Atul has also posted some good stuff on installing:
    http://onlineappsdba.com/index.php/2011/06/15/install-oracle-fusion-applications-in-10-steps/

  • HT202574 what is the difference between Flash and Fusion Drives?

    what is the difference between Flash and Fusion Drives?

    Here's Apple's explanation Mac mini (Late 2012 and later), iMac (Late 2012 and later): About Fusion Drive - Apple Support

  • What are the symptons of macbook pro hard drive not running fast enough

    what are the symptons of the hard drive not running fast enough

    Physically the drive will be as fast as any other of its class, and if not then it's experiencing a mechanical issue that should prompt a warning or two in the system, especially if you use a drive management tool like Disk Utility that checks the drive's built-in "S.M.A.R.T." diagnostics.
    As for "logical speed," if there are bad blocks on the drive where sectors cannot be read or written to because of a breakdown of the storage medium, then this can result in a program or the entire system crashing or hanging (generally the latter is the case), where it usually pauses for a number of seconds at a time. This is usually accompanied by messages that state "I/O Error" or other similar warning in the OS X Console (in the Applications > Utilities folder).
    Beyond this, drive formatting errors such as might happen after a crash or power outage can result in similar hang-like behavior, though this is usually not as distinct of a hanging behavior as is seen with bad blocks.
    Finally, if the drive is simply full of files or highly fragmented (not as much of a problem in OS X, but it can happen), then this can reduce access time for reading and writing files, and prevent the system from optimizing the use of RAM, which can result in overall slowdowns. Heavy drive use can also cause similar bottlenecks, but this is ususally only an intermittent issue during a time when you are performing a heavy file transfer or copying process, or other task that occupies access to the drive's index and formatting (e.g., if you check it for errors with Disk Utility, then you may see the system pause or slow down during the check).

  • What are the advantages of a solid state drive?

    I was considering upgrading to a solid state drive in my Mac Mini, but was wondering what all the advantages are. Does it mainly deal with boot times, or does it actually make programs run faster? The reason I ask is most videos I see only show boot times, and also I was under the impression that once a program is up and running it uses RAM to operate more than it does the hard drive.
    So is a Solid State Drive worth it in terms of speed, beyond just boot times?
    Thanks in advance for any insight.

    The Fusion Drive that came in my Mac  Mini from the factory is a combination of a 128GB SSD and 1TB HD, but OS X treats the two as a single device. OS X has long had a feature where the most active files are moved to that part of the drive that has the fastest access times. That offered some improvment in disk I/O. In the case of the Fusion drive, the fast part of the drive is de-facto the SSD portion of the combination. In theory the Fusion Drive provides the speed of an SSD with the relatively low cost capacity of the HD. In practice, and after some runtime experience where the OS measures file activity and moves the most active files to the SSD there is an obvious improvement in overall system performance and the cost is bearable.
    Kevin Fromcamarillo mentioned the OWC upgrade and IMO it is a good one. There are articles around that will tell you how to format and configure an SSD and HD to be a Fusion drive. I have not tried that so I cannot say whether it is as good as the Apple factory Fusion drive or not. Personally I think the Fusion drive concept is like a hybrid automobile. An intermediate step until technology brings the cost down and capacity up enough to make them fully competitive. That time is coming sooner rather than later. Notice Appe is not even offering HDs on some models and instead going to all SSD. I don't think it will be too long before I am tryng to move my Fusion drive into an external enclosure and replacing it with a high capacity SSD.
    A caveat with the Fusion drive. If you use third party volume repair and maintenance utilities, be absolutely sure the version you hvae is certivied compatible with a Fusion drive. Even when apps are certified compatible, that compatibility may not indlude all of their functions.

  • What are the symptoms of the  capacitor freezing problem?

    I'm concerned that the freezing problems of my eMac that I've posted about on earlier threads results from a bad capacitor. Are there specific symptoms of that problem that would indicate my eMac should be checked by Apple? My computer falls within the range of serial numbers where this could be the issue.

    The Apple warrantee extension program only refers to video and power problems, not freezing. The most sure-fire way to check if you have bad caps is to open the access door at the back of your eMac and look at the logic board next to the RAM slots. There are two little objects that look like 1/4 of a AA battery. (Googling "capacitor plague" should get you some pictures of capacitors if you're not sure what to look for.) If the top of either or both of them is cracked, swollen or leaking a discharge you know for sure that you have bad capacitors and Apple should have no problem fixing things for you. If you don't see any of those things, it might still mean that you have bad caps but they haven't shown it yet.
    If you do plan to open your eMac, it's a good idea to put a towel on the desk so that you can avoid scratching the screen. It makes it more secure, too, and no doubt more comfy for your eMac.
    eMac 1.25 GHz   Mac OS X (10.4.7)  

  • What are the symptoms or indicators that determine the necessity of resetting the SMC and PRAM?

    Hi,
    Can anyone have list of symptoms that may help a user to determine if there is a need to reset the SMC and PRAM.
    I would appreciate if the high-end user of this site come up with their experiences in making a compiled list, possibly product wise, if any such attempt is not taken yet.
    In case it is done already, please provide me with the active link/s.
    Please see below if you need to know about the MB i am using.
    Model Name:            MacBook
    Model Identifier:            MacBook2,1
    Processor Name:            Intel Core 2 Duo
    Processor Speed:            2 GHz
      Number Of Processors:            1
    Total Number Of Cores:            2
    L2 Cache (per processor):            4 MB
    Memory:            1 GB
    Bus Speed:            667 MHz
    Boot ROM Version:            MB21.00A5.B07
    SMC Version:            1.13f3
    System Software Overview:
    System Version:            Mac OS X 10.4.11 (8S2167)
    Kernel Version:            Darwin 8.11.1
    Look forward to it. Thanks

    Hi,
    The system profiler shows as follows-
    System Power Settings:
      AC Power:
      System Sleep Timer (Minutes):          10
      Disk Sleep Timer (Minutes):          10
      Display Sleep Timer (Minutes):          10
      Automatic Restart On Power Loss:          No
      Wake On AC Change:          No
      Wake On Clamshell Open:          Yes
      Wake On LAN:          Yes
      Display Sleep Uses Dim:          Yes
    Battery Power:
      System Sleep Timer (Minutes):          5
      Disk Sleep Timer (Minutes):          10
      Display Sleep Timer (Minutes):          1
      Wake On AC Change:          No
      Wake On Clamshell Open:          Yes
      Display Sleep Uses Dim:          Yes
      Reduce Brightness:          Yes
    Battery Information:
      Battery Installed:          Yes
      First low level warning:          No
      Full Charge Capacity (mAh):          2750
      Remaining Capacity (mAh):          2701
      Amperage (mA):          0
      Voltage (mV):          12454
      Cycle Count:          507
    AC Charger Information:
      Connected:          Yes
      Charging:          No
    Hardware Configuration:
      UPS Installed:          No
    Regarding the start up sound, i opened the L Bracket but Ram was seated properly. I just checked the ram's position but didn't remove it. However, i found the right most screw of the L-bracket was loosen, i don't know how.
    Do you think i should remove the ram and reinsert it? If so, do i have to reset the PRAM after that?
    The system profiler shows the ram is ok-
    BANK 0/DIMM0:
      Size:          512 MB
      Type:          DDR2 SDRAM
      Speed:          667 MHz
      Status:          OK
    BANK 1/DIMM1:
      Size:          512 MB
      Type:          DDR2 SDRAM
      Speed:          667 MHz
      Status:          OK
    What do you think about the whole situation?
    Look forward to your reply.
    All the best and have a goo day Mate.

  • What are the requirements in terms of system drive for visual studio 2013

    According to this thread "visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2120283-allow-users-to-install-entirely-to-another-hard-dr"  it is not possible to install visual studio fully on another drive rather that
    the system drive. This link "visualstudio.com/products/visual-studio-professional-with-msdn-vs#Fragment_SystemRequirements" states the system requirement for visual studio pro 2013. However can somebody clarify what is needed in terms of system drive
    requirement e.g. out of the 20 gb, how much is needed on the system drive.
    Thanks

    Hi,
    Exact space required will vary widely based on installation components chosen and what you may have already installed on your system.
    And When you install your VS in another Drive and run the VS installer, you can see system requirement in installation screen.
    Because my work computer only have C Drive, I test the VS2012 professional installation in my home computer E drive. The Screen below:
    I think the system requirement can also display when you install  VS 2013.
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • What are the must-have accessories?

    What are the must-have accessories ?

    Backup drives for your valuable data so if your MBP fails you will have not lose everything.  Two backups are better than one.  All HDDs will eventually fail.
    Ciao.

  • RAID: What is it and what are the benefits and How to Setup?

    I was wondering what RAID is? How do you set it up? And what are the benefits of having dual hard drives setup in RAID?
    I have a powermac G5 (quad 2.5ghz/16gb RAM/80gb SSD & 1tb HD) and I want to setup my SSD and HD in RAID...would that be wise? Thanks guys!

    Hi-
    One of the best ways to reduce a RAIDs performance is to mix drives.
    Mixing dissimilar drive types should be a shortcut to disaster.
    I would rethink the drives to use for a RAID.
    The most reliable RAID will be from RAID certified hard drives of the same make and capacity.
    After that, you get into software RAID vs Hardware RAID, which both have drawbacks, the latter being price due to the required controller cards and external housing needed for all the drives.
    Hardware RAID will allow for better performance, and allow for use of a RAID 5 or RAID 6 to build in redundancy to protect in case of a drive failure within the set, without losing the entire set.
    A SSD RAID can really offer some blistering speeds.
    I think possibly a bit much for a G5.
    With software RAID, a two drive RAID 0 as scratch for video or graphics work can greatly increase render performance of those respective softwares.
    A two drive boot RAID 0 with 2 WD Velociraptors can increase OS X responsiveness.
    All two drive RAIDs suffer from the need for a robust backup, making a third and fourth drive needed to create a RAID 0+1.

  • What are the "other" files on the hard drive and how can I reduce them

    Advice please - what are the "other" files on my hard drive and can I reduce or clear them  - currently taking up over 90 gig of disk space

    WZZZ wrote:
    "Other" than what?
    In About This Mac > Storage -
    ...the yellow stuff.
    I believe "Other" is primarily System and System-related files.

  • What are the ways to handle Idocs which are failed to post to R/3

    Hi Experts
    What are the ways to handle Idocs which are failed to post to R/3  after sucessfully configuration of the Scenario.
    Thanks & Regards
    Aravind

    Hi
    Check the Idoc Status in R/3 with WE05.
    Idocs will fail in following conditions
    1) Idoc will be in error if all the mandatory field are not mapped.
    2) If partner profile is not maintained.
    3) Most of the times, idocs will be in error due to functional issues.....check the status and take help from functional guys.
         Once the error resolved, reprocess the same idoc using BD87
    Regards
    Abhijit
    Edited by: Abhijit Bolakhe on Mar 18, 2010 3:11 PM

  • What are the major process to transfer the data from legacy to sap system.

    What are the major process to transfer the data from legacy to sap system using BDC at Real Time only?

    hi,
    BATCH DATA COMMUNICATION
    main methods are:
    1. SESSION METHOD
    2. CALL TRANSACTION
    3. DIRECT INPUT
    Advantages offered by BATCH INPUT method:
    1. Can process large data volumes in batch.
    2. Can be planned and submitted in the background.
    3. No manual interaction is required when data is transferred.
    4. Data integrity is maintained as whatever data is transferred to the table is through transaction. Hence batch input data is submitted to all the checks and validations.
    To implement one of the supported data transfers, you must often write the program that exports the data from your non-SAP system. This program, known as a “data transfer” program must map the data from the external system into the data structure required by the SAP batch input program.
    The batch input program must build all of the input to execute the SAP transaction.
    Two main steps are required:
    • To build an internal table containing every screen and every field to be filled in during the execution of an SAP transaction.
    • To pass the table to SAP for processing.
    Prerequisite for Data Transfer Program
    Writing a Data Transfer Program involves following prerequisites:
    Analyzing data from local file
    Analyzing transaction
    Analyzing transaction involves following steps:
    • The transaction code, if you do not already know it.
    • Which fields require input i.e., mandatory.
    • Which fields can you allow to default to standard values.
    • The names, types, and lengths of the fields that are used by a transaction.
    • Screen number and Name of module pool program behind a particular transaction.
    To analyze a transaction::
    • Start the transaction by menu or by entering the transaction code in the command box.
    (You can determine the transaction name by choosing System – Status.)
    • Step through the transaction, entering the data will be required for processing your batch input data.
    • On each screen, note the program name and screen (dynpro) number.
    (dynpro = dyn + pro. Dyn = screen, pro = number)
    • Display these by choosing System – Status. The relevant fields are Program (dynpro) and Dynpro number. If pop-up windows occur during execution, you can get the program name and screen number by pressing F1 on any field or button on the screen.
    The technical info pop-up shows not only the field information but also the program and screen.
    • For each field, check box, and radio button on each screen, press F1 (help) and then choose Technical Info.
    Note the following information:
    - The field name for batch input, which you’ll find in its own box.
    - The length and data type of the field. You can display this information by double clicking on the Data Element field.
    • Find out the identification code for each function (button or menu) that you must execute to process the batch-input data (or to go to new screen).
    Place the cursor on the button or menu entry while holding down the left mouse button. Then press F1.
    In the pop-up window that follows, choose Technical info and note the code that is shown in the Function field.
    You can also run any function that is assigned to a function key by way of the function key number. To display the list of available function keys, click on the right mouse button. Note the key number that is assigned to the functions you want to run.
    Once you have program name, screen number, field name (screen field name), you can start writing.
    DATA TRANSFER program.
    Declaring internal table
    First Integral Table similar to structure like local file.
    Declaring internal table like BDCDATA
    The data from internal table is not transferred directly to database table, it has to go through transaction. You need to pass data to particular screen and to particular screen-field. Data is passed to transaction in particular format, hence there is a need for batch input structure.
    The batch input structure stores the data that is to be entered into SAP system and the actions that are necessary to process the data. The batch input structure is used by all of the batch input methods. You can use the same structure for all types of batch input, regardless of whether you are creating a session in the batch input queue or using CALL TRANSACTION.
    This structure is BDCDATA, which can contain the batch input data for only a single run of a transaction. The typical processing loop in a program is as follows:
    • Create a BDCDATA structure
    • Write the structure out to a session or process it with CALL TRANSACTION USING; and then
    • Create a BDCDATA structure for the next transaction that is to be processed.
    Within a BDCDATA structure, organize the data of screens in a transaction. Each screen that is processed in the course of a transaction must be identified with a BDCDATA record. This record uses the Program, Dynpro, and Dynbegin fields of the structure.
    The screen identifier record is followed by a separate BDCDATA record for each value, to be entered into a field. These records use the FNAM and FVAL fields of the BDCDATA structure. Values to be entered in a field can be any of the following:
    • Data that is entered into screen fields.
    • Function codes that are entered into the command field. Such function codes execute functions in a transaction, such as Save or Enter.
    The BDCDATA structure contains the following fields:
    • PROGRAM: Name of module pool program associated with the screen. Set this field only for the first record for the screen.
    • DYNPRO: Screen Number. Set this field only in the first record for the screen.
    • DYNBEGIN: Indicates the first record for the screen. Set this field to X, only for the first record for the screen. (Reset to ‘ ‘ (blank) for all other records.)
    • FNAM: Field Name. The FNAM field is not case-sensitive.
    • FVAL: Value for the field named in FNAM. The FVAL field is case-sensitive. Values assigned to this field are always padded on the right, if they are less than 132 characters. Values must be in character format.
    Transferring data from local file to internal table
    Data is uploaded to internal table by UPLOAD of WS_UPLOAD function.
    Population of BDCDATA
    For each record of internal table, you need to populate Internal table, which is similar to BDCDATA structure.
    All these five initial steps are necessary for any type of BDC interface.
    DATA TRANSFER program can call SESSION METHOD or CALL TRANSACTION. The initial steps for both the methods are same.
    First step for both the methods is to upload the data to internal table. From Internal Table, the data is transferred to database table by two ways i.e., Session method and Call transaction.
    SESSION METHOD
    About Session method
    In this method you transfer data from internal table to database table through sessions.
    In this method, an ABAP/4 program reads the external data that is to be entered in the SAP System and stores the data in session. A session stores the actions that are required to enter your data using normal SAP transaction i.e., Data is transferred to session which in turn transfers data to database table.
    Session is intermediate step between internal table and database table. Data along with its action is stored in session i.e., data for screen fields, to which screen it is passed, the program name behind it, and how the next screen is processed.
    When the program has finished generating the session, you can run the session to execute the SAP transactions in it. You can either explicitly start and monitor a session or have the session run in the background processing system.
    Unless session is processed, the data is not transferred to database table.
    BDC_OPEN_GROUP
    You create the session through program by BDC_OPEN_GROUP function.
    Parameters to this function are:
    • User Name: User name
    • Group: Name of the session
    • Lock Date: The date on which you want to process the session.
    • Keep: This parameter is passed as ‘X’ when you want to retain session after
    processing it or ‘ ‘ to delete it after processing.
    BDC_INSERT
    This function creates the session & data is transferred to Session.
    Parameters to this function are:
    • Tcode: Transaction Name
    • Dynprotab: BDC Data
    BDC_CLOSE_GROUP
    This function closes the BDC Group. No Parameters.
    Some additional information for session processing
    When the session is generated using the KEEP option within the BDC_OPEN_GROUP, the system always keeps the sessions in the queue, whether it has been processed successfully or not.
    However, if the session is processed, you have to delete it manually. When session processing is completed successfully while KEEP option was not set, it will be removed automatically from the session queue. Log is not removed for that session.
    If the batch-input session is terminated with errors, then it appears in the list of INCORRECT session and it can be processed again. To correct incorrect session, you can analyze the session. The Analysis function allows to determine which screen and value has produced the error. If you find small errors in data, you can correct them interactively, otherwise you need to modify batch input program, which has generated the session or many times even the data file.
    CALL TRANSACTION
    About CALL TRANSACTION
    A technique similar to SESSION method, while batch input is a two-step procedure, Call Transaction does both steps online, one after the other. In this method, you call a transaction from your program by
    Call transaction <tcode> using <BDCTAB>
    Mode <A/N/E>
    Update <S/A>
    Messages into <MSGTAB>.
    Parameter – 1 is transaction code.
    Parameter – 2 is name of BDCTAB table.
    Parameter – 3 here you are specifying mode in which you execute transaction
    A is all screen mode. All the screen of transaction are displayed.
    N is no screen mode. No screen is displayed when you execute the transaction.
    E is error screen. Only those screens are displayed wherein you have error record.
    Parameter – 4 here you are specifying update type by which database table is updated.
    S is for Synchronous update in which if you change data of one table then all the related Tables gets updated. And sy-subrc is returned i.e., sy-subrc is returned for once and all.
    A is for Asynchronous update. When you change data of one table, the sy-subrc is returned. And then updating of other affected tables takes place. So if system fails to update other tables, still sy-subrc returned is 0 (i.e., when first table gets updated).
    Parameter – 5 when you update database table, operation is either successful or unsuccessful or operation is successful with some warning. These messages are stored in internal table, which you specify along with MESSAGE statement. This internal table should be declared like BDCMSGCOLL, a structure available in ABAP/4. It contains the following fields:
    1. Tcode: Transaction code
    2. Dyname: Batch point module name
    3. Dynumb: Batch input Dyn number
    4. Msgtyp: Batch input message type (A/E/W/I/S)
    5. Msgspra: Batch input Lang, id of message
    6. Msgid: Message id
    7. MsgvN: Message variables (N = 1 - 4)
    For each entry, which is updated in database, table message is available in BDCMSGCOLL. As BDCMSGCOLL is structure, you need to declare a internal table which can contain multiple records (unlike structure).
    Steps for CALL TRANSACTION method
    1. Internal table for the data (structure similar to your local file)
    2. BDCTAB like BDCDATA
    3. UPLOAD or WS_UPLOAD function to upload the data from local file to itab. (Considering file is local file)
    4. Loop at itab.
    Populate BDCTAB table.
    Call transaction <tcode> using <BDCTAB>
    Mode <A/N/E>
    Update <S/A>.
    Refresh BDCTAB.
    Endloop.
    (To populate BDCTAB, You need to transfer each and every field)
    The major differences between Session method and Call transaction are as follows:
    SESSION METHOD CALL TRANSACTION
    1. Data is not updated in database table unless Session is processed. Immediate updation in database table.
    2. No sy-subrc is returned. Sy-subrc is returned.
    3. Error log is created for error records. Errors need to be handled explicitly
    4. Updation in database table is always synchronous Updation in database table can be synchronous Or Asynchronous.
    Error Handling in CALL TRANSACTION
    When Session Method updates the records in database table, error records are stored in the log file. In Call transaction there is no such log file available and error record is lost unless handled. Usually you need to give report of all the error records i.e., records which are not inserted or updated in the database table. This can be done by the following method:
    Steps for the error handling in CALL TRANSACTION
    1. Internal table for the data (structure similar to your local file)
    2. BDCTAB like BDCDATA
    3. Internal table BDCMSG like BDCMSGCOLL
    4. Internal table similar to Ist internal table
    (Third and fourth steps are for error handling)
    5. UPLOAD or WS_UPLOAD function to upload the data from the local file to itab. (Considering file is local file)
    6. Loop at itab.
    Populate BDCTAB table.
    Call transaction <tr.code> using <Bdctab>
    Mode <A/N/E>
    Update <S/A>
    Messages <BDCMSG>.
    Perform check.
    Refresh BDCTAB.
    Endloop.
    7 Form check.
    IF sy-subrc <> 0. (Call transaction returns the sy-subrc if updating is not successful).
    Call function Format_message.
    (This function is called to store the message given by system and to display it along with record)
    Append itab2.
    Display the record and message.
    DIRECT INPUT
    About Direct Input
    In contrast to batch input, this technique does not create sessions, but stores the data directly. It does not simulate the online transaction. To enter the data into the corresponding database tables directly, the system calls a number of function modules that execute any necessary checks. In case of errors, the direct input technique provides a restart mechanism. However, to be able to activate the restart mechanism, direct input programs must be executed in the background only. Direct input checks the data thoroughly and then updates the database directly.
    You can start a Direct Input program in two ways;
    Start the program directly
    This is the quickest way to see if the program works with your flat file. This option is possible with all direct input programs. If the program ends abnormally, you will not have any logs telling you what has or has not been posted. To minimize the chance of this happening, always use the check file option for the first run with your flat file. This allows you to detect format errors before transfer.
    Starting the program via the DI administration transaction
    This transaction restarts the processing, if the data transfer program aborts. Since DI document are immediately posted into the SAP D/B, the restart option prevents the duplicate document posting that occurs during a program restart (i.e., without adjusting your flat file).
    Direct input is usually done for standard data like material master, FI accounting document, SD sales order and Classification for which SAP has provided standard programs.
    First time you work with the Direct Input administration program, you will need to do some preparation before you can transfer data:
    - Create variant
    - Define job
    - Start job
    - Restart job
    Common batch input errors
    - The batch input BDCDATA structure tries to assign values to fields which do not exist in the current transaction screen.
    - The screen in the BDCDATA structure does not match the right sequence, or an intermediate screen is missing.
    - On exceptional occasions, the logic flow of batch input session does not exactly match that of manual online processing. Testing the sessions online can discover by this.
    - The BDCDATA structure contains fields, which are longer than the actual definition.
    - Authorization problems.
    RECORDING A BATCH INPUT
    A B recording allows you to record a R/3 transaction and generate a program that contains all screens and field information in the required BDC-DATA format.
    You can either use SHDB transaction for recording or
    SYSTEM ? SERVICES ? BATCH INPUT ? EDIT
    And from here click recording.
    Enter name for the recording.
    (Dates are optional)
    Click recording.
    Enter transaction code.
    Enter.
    Click Save button.
    You finally come to a screen where, you have all the information for each screen including BDC_OKCODE.
    • Click Get Transaction.
    • Return to BI.
    • Click overview.
    • Position the cursor on the just recorded entry and click generate program.
    • Enter program name.
    • Click enter
    The program is generated for the particular transaction.
    BACKGROUND PROCESSING
    Need for Background processing
    When a large volume of data is involved, usually all batch inputs are done in background.
    The R/3 system includes functions that allow users to work non-interactively or offline. The background processing systems handle these functions.
    Non-interactively means that instead of executing the ABAP/4 programs and waiting for an answer, user can submit those programs for execution at a more convenient planned time.
    There are several reasons to submit programs for background execution.
    • The maximum time allowed for online execution should not exceed 300 seconds. User gets TIMEOUT error and an aborted transaction, if time for execution exceeds 300 seconds. To avoid these types of error, you can submit jobs for background processing.
    • You can use the system while your program is executing.
    This does not mean that interactive or online work is not useful. Both type of processing have their own purposes. Online work is the most common one entering business data, displaying information, printing small reports, managing the system and so on. Background jobs are mainly used for the following tasks; to process large amount of data, to execute periodic jobs without human intervention, to run program at a more convenient, planned time other than during normal working hours i.e., Nights or weekends.
    The transaction for background processing is SM36.
    Or
    Tools ? Administration ? Jobs ? Define jobs
    Or
    System ? services ? Jobs
    Components of the background jobs
    A job in Background processing is a series of steps that can be scheduled and step is a program for background processing.
    • Job name. Define the name of assigned to the job. It identifies the job. You can specify up to 32 characters for the name.
    • Job class. Indicates the type of background processing priority assigned to the job.
    The job class determines the priority of a job. The background system admits three types of job classes: A B & C, which correspond to job priority.
    • Job steps. Parameters to be passed for this screen are as follows:
    Program name.
    Variant if it is report program
    Start criteria for the job: Option available for this are as follows:
    Immediate - allows you to start a job immediately.
    Date/Time - allows you to start a job at a specific name.
    After job - you can start a job after a particular job.
    After event - allows you to start a job after a particular event.
    At operation mode - allows you to start a job when the system switches to a particular operation mode.
    Defining Background jobs
    It is two step process: Firstly, you define the job and then release it.
    When users define a job and save it, they are actually scheduling the report i.e., specifying the job components, the steps, the start time.
    When users schedule program for background processing, they are instructing the system to execute an ABAP/4 report or an external program in the background. Scheduled jobs are not executed until they are released. When jobs are released, they are sent for execution to the background processing system at the specified start time. Both scheduling and releasing of jobs require authorizations.
    HANDLING OF POP UP SCREEN IN BDC
    Many times in transaction pop up screen appears and for this screen you don’t pass any record but some indication to system telling it to proceed further. For example: The following screen
    To handle such screen, system has provided a variable called BDC_CURSOR. You pass this variable to BDCDATA and process the screen.
    Usually such screen appears in many transactions, in this case you are just passing information, that YES you want to save the information, that means YES should be clicked. So you are transferring this information to BDCDATA i.e., field name of YES which is usually SPOT_OPTION. Instead of BDC_OKCODE, you are passing BDC_CURSOR.
    BDC_CURSOR is also used to place cursor on particular field.
    A simple transaction where you are entering customer number on first screen and on next screen data is displayed for the particular customer number. Field, which we are changing here, are name and city. When you click on save, the changed record gets saved.
    Prerequisite to write this BDC interface as indicated earlier is:
    1. To find screen number
    2. To find screen field names, type of the field and length of the field.
    3. To find BDC_OKCODE for each screen
    4. Create flat file.
    generally  Batch Input usually are used to transfer large amount of data. For example you are implementing a new SAP project, and of course you will need some data transfer from legacy system to SAP system.
    CALL TRANSACTION is used especially for integration actions between two SAP systems or between different modules. Users sometimes wish to do something like that click a button or an item then SAP would inserts or changes data automatically. Here CALL TRANSACTION should be considered.
    2. Transfer data for multiple transactions usually the Batch Input method is used.
    check these sites for step by step process:
    For BDC:
    http://myweb.dal.ca/hchinni/sap/bdc_home.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    Check these link:
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://www.sap-img.com/abap/question-about-bdc-program.htm
    http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
    http://www.planetsap.com/bdc_main_page.htm
    call Transaction or session method ?
    null

  • Deletion of setup data : what are the consequences ?

    Hello,
    I am a sap basis guy, and currently perfroming an Upgrade (4.7-->ECC6).
    during the preparation phase, I had some problems with BW estraction data that correspond to the symptoms described
    in sap note 1083709; I executed the report RMCEXCHK and deleted the content of the setup data "02" and "11".
    This is still harmless , as we are in the QAS system, but I'm concerned about the upcoming upgrade of the production environneemnt.
    What are the consequences of deleting the setup tables ?
    I'm really confused about what need to be done after the upgrade, regarinf the BW setup tables that have been emptied :
    Do you know if :
    The setup tables "02" and "11" should be reconstructed ? This should be done when no users are connected?
    BW delta loads "02" and "11" will still be operationals ? Or do we need to plan new BW initializations ?
    are there any others side effects of deleting the setup tables ?
    Thank you in advance for your help.
    Regards.

    Hello,
    Before upgradations all the users will be locked and there wont be any transactions in the surce system....
    concerning to delta queues there....All the data have to be extracted before upgradation from delta queues into BW   this is important.
    Concerning to setup tables....there wont be any problems if you delete, because there wont be any oads going on at this time....
    Its always preferable to have some sort of communication with BW guys at upgradation time, make one check list what need to be done before upgradtion and after upgradtion...speak with BI people they will explain their steps...and as a basis guy you can prepare your check lists.
    Filling of setup tabless....no need to be done from your side that BI people will do if it is required.
    no initializations required after upgradtions.
    Regards,
    pavan.

  • What are the correct answers ?

    after doing one sample swing application, i assumed the exam will be easy. when i took the exam, i couldn't do anything...
    what are the correct answers ??/
      Which one of the following converts the Image i into the BufferedImage bi? 
    Choice 1  
    bi = new BufferedImage(0, 0, BufferedImage.TYPE_INT_RGB);
    Graphics2D g = (Graphics2D)bi.createGraphics();
    g.drawImage(i,i.getHeight(this),i.getWidth(this)); 
    Choice 2  
    bi = new BufferedImage(i.getWidth(this), i.getHeight(this), 1);
    bi.drawImage(i,0,0,this); 
    Choice 3  
    bi = new BufferedImage(i.getWidth(this), i.getHeight(this), 1);
    Graphics2D g = (Graphics2D)bi.createGraphics();
    g.drawImage(i,0,0,this); 
    Choice 4  
    bi = new BufferedImage(i, i.getWidth(this), i.getHeight(this), BufferedImage.TYPE_INT_RGB); 
    Choice 5  
    bi = new BufferedImage(i, i.getWidth(this), i.getHeight(this)); 
    CardLayout
    BorderLayout
    FlowLayout
    GridBagLayout
    GridLayout 
      Which one of the following indicates all of the layout managers (from the list above) that allow you to set the space between the components from an instance of the LayoutManager itself? 
    Choice 1  
    CardLayout, FlowLayout, GridBagLayout, GridLayout 
    Choice 2  
    GridBagLayout 
    Choice 3  
    BorderLayout, GridLayout 
    Choice 4  
    BorderLayout, FlowLayout, GridLayout 
    Choice 5  
    BorderLayout, CardLayout, FlowLayout, GridBagLayout, GridLayout 
    JFrame jf = new JFrame();
    jf.setSize(400,400);
    JTextField jtf = new JTextField("JTextField");
    JButton jb = new JButton("JButton");
    jf.getContentPane().setLayout(
                          new FlowLayout(FlowLayout.LEFT,1,2));
    jf.getContentPane().add(jtf);
    jf.getContentPane().add(jb); 
      Which one of the following indicates the positions of the JTextField jtf and JButton jb relative to the JFrame and each other? 
    Choice 1  
    jtf and jb are in the top-center of the Jframe; jtf is to the left of jb, 2 pixels apart. 
    Choice 2  
    jb is in the top-right corner of the JFrame with jtf 1 pixel to the left of it. 
    Choice 3  
    jtf is in the top-left corner of the JFrame with jb 1 pixel to the right of it. 
    Choice 4  
    jb is in the top-right corner of the JFrame with jtf 2 pixels to the left of it. 
    Choice 5  
    jtf is in the top-left corner of the JFrame with jb 2 pixels to the right of it
    public void drawText(Graphics2D g, String text){
      Font f = new Font("Century Gothic", Font.BOLD, 10);
      g.setFont(f);
      g.drawString(text, 20, 20);
      Given the above sample code, what happens if the "Century Gothic" font is NOT available? 
    Choice 1  
    The Font() constructor fails, causing "f" to be null, and the setFont() method throws a NullPointerException. 
    Choice 2  
    "Century Gothic" is a built in Java font, which always exists within the Java runtime environment. 
    Choice 3  
    The code does not compile because only the following "logical" font names are supported in Java: Dialog, DialogInput, Monospaced, Serif, SansSerif, and Symbol. 
    Choice 4  
    The Font() constructor throws an IllegalArgumentException. 
    Choice 5  
    A default Font object is returned and is used
    Sample Code 
    public void drawText(Graphics2D g, String text){
      Font f = new Font("Century Gothic", Font.BOLD, 10);
      g.setFont(f);
      g.drawString(text, 20, 20);
      Given the above sample code, what happens if the "Century Gothic" font is NOT available? 
    Choice 1  
    The Font() constructor fails, causing "f" to be null, and the setFont() method throws a NullPointerException. 
    Choice 2  
    "Century Gothic" is a built in Java font, which always exists within the Java runtime environment. 
    Choice 3  
    The code does not compile because only the following "logical" font names are supported in Java: Dialog, DialogInput, Monospaced, Serif, SansSerif, and Symbol. 
    Choice 4  
    The Font() constructor throws an IllegalArgumentException. 
    Choice 5  
    A default Font object is returned and is used. 
    How must do you interact with a JTextField in order to generate an ActionEvent? 
    Choice 1  
    Tab into the JTextField from another Component. 
    Choice 2  
    Type in the JTextField. 
    Choice 3  
    Activate the cursor in the JTextField. 
    Choice 4  
    Hit <RETURN> while the cursor is in the JTextField. 
    Choice 5  
    Hit the spacebar while typing in the JTextField. 
    double-buffering
    public class TimerTest implements ActionListener{
      public static void main(String[] args){
        TimerTest test = new TimerTest();
        javax.swing.Timer timer = new javax.swing.Timer(100,test);
      public void actionPerformed(ActionEvent ev){
        System.out.println("Timer ticked.");
      Given the above sample code, what is the result when the code is run? 
    Choice 1  
    The words "Timer ticked." are printed to the console once after 100 milliseconds. 
    Choice 2  
    The words "Timer ticked." are printed to the console every 100 microseconds. 
    Choice 3  
    The words "Timer ticked." are printed to the console every 100 seconds. 
    Choice 4  
    The words "Timer ticked." are printed to the console every 100 milliseconds. 
    Choice 5  
    Nothing, the Timer is not started. 
    1. JSlider slider1 = new JSlider (JSlider.VERTICAL, 0, 100, 50);
    2. slider1.setPaintTicks(false);
    3. slider1.setMajorTickSpacing(10);
    4. slider1.setMinorTickSpacing(2); 
      What changes do you have to make to the above Sample code so that there are six Major Ticks and four Minor ticks between each Major Tick? 
    Choice 1  
    Replace line 3 with slider1.setMajorTickSpacing(17); 
    Choice 2  
    Replace line 2 with slider1.setPaintTicks(true);
    Replace line 3 with slider1.setMajorTickSpacing(17);
    Replace line 4 with slider1.setMinorTickSpacing(5); 
    Choice 3  
    Replace line 3 with slider1.setMajorTickSpacing(5);
    Replace line 4 with slider1.setMinorTickSpacing(4); 
    Choice 4  
    Replace line 2 with slider1.setPaintTicks(true);
    Replace line 3 with slider1.setMajorTickSpacing(20);
    Replace line 4 with slider1.setMinorTickSpacing(4); 
    Choice 5  
    Replace line 4 with slider1.setMinorTickSpacing(6); 
       Which one of the following defines a set of three JRadioButtons (b1, b2, and b3) so that only one JRadioButton can be selected at a time? 
    Choice 1  
    ButtonGroup g = new ButtonGroup();
    g.add(b1); g.add(b2); g.add(b3); 
    Choice 2  
    b1.group(true); b2.group(true); b3.group(true); 
    Choice 3  
    JRadioButton jbs[] = {b1, b2, b3};
    ButtonGroup g = new ButtonGroup(jbs); 
    Choice 4  
    The default behavior of JRadioButtons is such that only one can be selected at a time as long as they are in the same Container. 
    Choice 5  
    ButtonGroup g = new ButtonGroup(b1, b2, b3); 
    Sample Code 
    public static void main(String args[]){
      What is the role of the method in the code above? 
    Choice 1  
    To provide a place for initialization code when instantiating the current class. 
    Choice 2  
    It is the first method run when a class is run with the Java Interpreter. 
    Choice 3  
    It serves no specific function. It is a residual method from Java 1.0. 
    Choice 4  
    It is the first method that the Java Compiler converts to bytecode when creating a .class file. 
    Choice 5  
    To process command-line parameters when running the Java Interpreter 
    How do you create a menu item, Save, with a shortcut key of Ctrl+S? 
    Choice 1  
    You have to override the KeyPressed event of the top level Frame and handle the Ctrl+S to call the menu item's actionPerformed. 
    Choice 2  
    JMenuItem save = new JMenuItem("Save");
    save.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,Event.CTRL_MASK)); 
    Choice 3  
    JMenuItem save = new JMenuItem("Save");
    save.enableShortcut(KeyEvent.CTRL_KEY + KeyEvent.S); 
    Choice 4  
    JMenuItem save = new JMenuItem("Save");
    save.setMnemonic("Ctrl+S"); 
    Choice 5  
    JMenuItem save = new JMenuItem("Save");
    save.addShortcutKey( new KeyStroke(KeyStroke.S | KeyStroke.CTRL_KEY) ); 
    GridBagConstraints gbc1 = new GridBagConstraints(1,1,2,1,1,3,10,1,new Insets(5,5,5,5),1,1);
    gbl.addLayoutComponent(jb,gbc1); 
      In regards to the above code, which one of the following indicates jb's grid position? 
    Choice 1  
    Grid position 2,1 
    Choice 2  
    Grid position 1,2 
    Choice 3  
    Grid position 1, 1 
    Choice 4  
    Grid position 10, 1 
    Choice 5  
    Grid position 1, 3 
    GridBagConstraints gbc1 = new GridBagConstraints(1,1,2,1,1,3,10,1,new Insets(5,5,5,5),1,1);
    gbl.addLayoutComponent(jb,gbc1); 
      In regards to the above code, which one of the following indicates jb's grid position? 
    Choice 1  
    Grid position 2,1 
    Choice 2  
    Grid position 1,2 
    Choice 3  
    Grid position 1, 1 
    Choice 4  
    Grid position 10, 1 
    Choice 5  
    Grid position 1, 3 
    Which one of the following is necessary when changing an Applet to a standalone application? 
    Choice 1  
    Add a no-argument constructor. 
    Choice 2  
    Remove the init(), start() and stop() methods. 
    Choice 3  
    Remove "extends JApplet" or "extends Applet". 
    Choice 4  
    Add a main() method. 
    Choice 5  
    Change the import statement so that it imports an Application container rather than Applet or JApplet. 
    Which one of the following adds the String "Java" to the JComboBox jcb? 
    Choice 1  
    ComboBoxModel cbm = jcb.getModel();
    cbm.addItem("Java"); 
    Choice 2  
    jcb.setText("Java"); 
    Choice 3  
    ComboBoxModel cbm = jcb.getModel();
    cbm.add("Java"); 
    Choice 4  
    jcb.add("Java"); 
    Choice 5  
    jcb.addItem("Java");

    I'll have a go but I am not saying they are all correct...
    Question 1.
    Which one of the following converts the Image i into the BufferedImage bi?
    Choice 3 (assuming this implements the imageobserver interface)
    bi = new BufferedImage(i.getWidth(this), i.getHeight(this), 1);  //1 is BufferedImage.TYPE_INT_RGB
    Graphics2D g = (Graphics2D)  
    bi.createGraphics();
    g.drawImage(i,0,0,this);Good luck with your homework...
    nes
    Question 2.
    CardLayout
    BorderLayout
    FlowLayout
    GridBagLayout
    GridLayout
    Which one of the following indicates all of the layout managers (from the list above) that allow you to set the space between the components from an instance of the LayoutManager itself?
    Choice 4
    BorderLayout,
    FlowLayout,
    GridLayout
    (GridBagLayout uses GridBagConstraints to decide component spacing, card layout does not provided component spacing due to the deck nature used)
    Question 3.
    JFrame jf = new JFrame();
    jf.setSize(400,400);
    JTextField jtf = new JTextField("JTextField");
    JButton jb = new JButton("JButton");
    jf.getContentPane().setLayout( new FlowLayout(FlowLayout.LEFT,1,2));
    jf.getContentPane().add(jtf);
    jf.getContentPane().add(jb);    Which one of the following indicates the positions of the JTextField jtf and JButton jb relative to the JFrame and each other?
    Choice 3 jtf is in the top-left corner of the JFrame with jb 1 pixel to the right of it.
    Question 4
    public void drawText(Graphics2D g, String text)
         Font f = new Font("Century Gothic", Font.BOLD, 10);  
         g.setFont(f);  
         g.drawString(text, 20, 20);
    }    Given the above sample code, what happens if the "Century Gothic" font is NOT available?
    Choice 5 A default Font object is returned and is used
    Question 5.
    How must do you interact with a JTextField in order to generate an ActionEvent?
    Choice 4 Hit <RETURN> while the cursor is in the JTextField.
    Question 6.
    public class TimerTest implements ActionListener
         public static void main(String[] args)
               TimerTest test = new TimerTest();    
               javax.swing.Timer timer = new javax.swing.Timer(100,test);  
         public void actionPerformed(ActionEvent ev)
              System.out.println("Timer ticked.");  
    }    Given the above sample code, what is the result when the code is run?
    Choice 5 Nothing, the Timer is not started.
    Question 7.
    1. JSlider slider1 = new JSlider (JSlider.VERTICAL, 0, 100, 50);
    2. slider1.setPaintTicks(false);
    3. slider1.setMajorTickSpacing(10);
    4. slider1.setMinorTickSpacing(2);    What changes do you have to make to the above Sample code so that there are six Major Ticks and four Minor ticks between each Major Tick?
    Choice 4 Replace line 2 with slider1.setPaintTicks(true); Replace line 3 with slider1.setMajorTickSpacing(20); Replace line 4 with slider1.setMinorTickSpacing(4);
    Question 8.
    Which one of the following defines a set of three JRadioButtons (b1, b2, and b3) so that only one JRadioButton can be selected at a time?
    Choice 1 ButtonGroup g = new ButtonGroup(); g.add(b1); g.add(b2); g.add(b3);
    Question 9.
    Sample Code
    public static void main(String args[]){ }
    TYPO - should be public static void main(String[] args){ }
    What is the role of the method in the code above?
    Choice 2 It is the first method run when a class is run with the Java Interpreter.
    Question 10.
    How do you create a menu item, Save, with a shortcut key of Ctrl+S?
    Choice 2 JMenuItem save = new JMenuItem("Save");
    save.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,Event.CTRL_MASK));
    Question 11.
    GridBagConstraints gbc1 = new GridBagConstraints(1,1,2,1,1,3,10,1,new Insets(5,5,5,5),1,1); gbl.addLayoutComponent(jb,gbc1);
    In regards to the above code, which one of the following indicates jb's grid position?
    Choice 3 Grid position 1, 1
    Question 12
    Which one of the following is necessary when changing an Applet to a standalone application?
    Choice 1 Add a no-argument constructor.
    Choice 2 Remove the init(), start() and stop() methods.
    Choice 3 Remove "extends JApplet" or "extends Applet".
    Choice 4 Add a main() method.
    Choice 5 Change the import statement so that it imports an Application container rather than Applet or JApplet.
    mmm. not a good choice of answers. look at the following link...
    http://forum.java.sun.com/thread.jsp?forum=57&thread=218096
    Question 13.
    Which one of the following adds the String "Java" to the JComboBox jcb?
    Choice 5 jcb.addItem("Java");

Maybe you are looking for

  • How do I sync iPad and iPhone on iCloud?

    How do I sync iPad and iPhone on iCloud?

  • Return & Sales of Damaged Goods

    We issue 4 articles to a project. The project is for a year. At the end of the project they used 3 articles. 4th article they want to return back to store. While checking the stock the stores found that the article is damaged. They return the stock t

  • How to restore ipod without updating to itunes 7.0

    How can I restore ipod that uses itunes 6.05. I do not want to update to itunes 7.0 since I tried that recently with disasterous results.I want to stay in 6.05 and start over with my ipod. Compaq   Windows XP Pro  

  • Need to change as one insert stmt

    Hi, I'm using below two insert statements in side the procedure.can i re write as a one insert.pls help         INSERT INTO REP_ITEM_STAT_OPN (         REP_ID, ITEM_ID, TOT_STUD_BY_ITEM, TOT_TIME_BY_ITEM, MIN_TIME_BY_ITEM,MAX_TIME_BY_ITEM)         SE

  • Reinstallng Adobe Flash professional

    Hello all, Motherboard on my laptop died and had to be replaced - so laptop has a new MAC address now. In the process - the hard drive also died and had to be reformatted. So now - I want to re-installe Adobe Flash - and I was not able to "release" t