Ordered 1-to-M failure

Hello,
We are using 9.0.4.5. So far, we have managed to do most everything in the Mapping Workbench. So loading a comnplex class looks fairly simple:
ReadObjectQuery query = new ReadObjectQuery(OurClass.class);
ExpressionBuilder eBuilder = query.getExpressionBuilder();
Expression exp1 = eBuilder.get("m_dbKey").equal(
ourKey.getValue());
query.setSelectionCriteria(exp1);
ourInstance = (OurClass) getServer().executeQuery(query);
We would like the 1-M lists to be ordered by their natural key.
Unfortunately, the Mapping Workbench does not appear to directly support this.
It inserts the xml:
<ascending-order-by-query-key>ao_name</ascending-order-by-query-key>
but, I assume that since ao_name is not a database key, we do not get an ordered result.
In Oracle Forms, I would simple fill in an order by clause in the forms editor.
It seems to be less straightforward in Toplink Mapping Workbench.
Where should I look to figure out how to do this?
Thanks

Can you elaborate a bit, I'm confused if you want to order a ReadAllQuery, or the target collection of a 1-M mapping? If it's a ReadAllQuery, you can use the "addAscendingOrdering(Expression e)" api. If it's a 1-M mapping, there is a setting for ordering.
You mention you want to sort on a "natural key", and I'm not sure what you mean (sorry, I'm not a DB expert). If the issue is this is an unmapped field, then you can still sort on it. If using expressions, you'd use the "getField()" api (see Javadoc for example), and in the mapping workbench you would create a query key on the field (see docs for "Query key".
- Don

Similar Messages

  • I keep receiving the following error code: 1025 Duplicate Folder Name [Gmail]/Drafts/√ Orders/Books/Books/eBooks (Failure)

    Duplicate folder name [Gmail]/Drafts/√ Orders/Books/Books/eBooks (Failure)
    (/[Gmail]/Drafts/&Iho- Orders/Books/eBooks/)

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Receiving error message "Sim Failure"  on iPhone 4S now no service.  any advice?

    receiving error message "Sim Failure" on new iPhone 4S now no service.  any advice?

    hi guys,
    i recently bought a new iphone 4s factory unlocked. in order to avoid sim failures and invalid sim errors or No service errors, Each phone has to be unlocked by connecting it to the Itunes.
    Kindly follow the below steps to avoid any SIM card conflicts
    iPhone FULL Unlock - How it Works:
    -Connect your iphone to itunes without any network sim inside and when connected click on the iphones name.
    - Click Restore install latest version of iTunes on your Pc or Mac or click check for updates
    - Let itunes Backup your phone and then Flash to the Latest Version.
    - Now disconnect phone and reconnect after 10 seconds.
    - Now Enter another network simcard that's not the same network its locked on to
    - Connect phone to iTunes with not accepted (not valid) simcard
    - Wait until iTunes detects the phone
    - iTunes will display (Congratulations, Your iPhone is now unlocked)
    - Phone Unlocked
    - just follow the instructions about activating the Iphone.
    and iphone is unlocked
    NOTE : This is the only FULL LIFE TIME UNLOCK solution for Apple iPhone as the IMEI is registered as UNLOCKED in Apple database.
    This solution should be used ONLY THOSE WHO BOUGHT FACTORY UNLOCKED iPHONE 4S.
    Your phone will always be unlocked even after each new update of your phone firmware !
    All reasons given like bad IMEI series, manufacturing defects etc blah blah are not logical as everything was tested before every sale.

  • Make to order, no safety stock.

    Dear All,
    I have 1 finish good X, made from materials X and Y. I set safety stock for X and Y.
    When I make A to stock, I need safety stock of X, Y; I create demand and run MPS, MPR -> ok.
    But when I make A to order, don't need safety stock of X, Y. How to do that ?
    ngocvt.

    Ngoc,
    Well, I am confused.
    I have 1 finish good X, made from materials X and Y.
    Recursive Bill of materials?  Or maybe you mean your finished good is 'A'?
    When I make A to stock, I need safety stock of X, Y
    OK, put safety stock into  the Material Masters of x & y.
    But when I make A to order, don't need safety stock of X, Y.
    First, tell me how are you making A as MTS one day and MTO the next?
    Safety stock is not dependent upon the source of the demand, it is generally used to ensure a higher level of availability of components to meet business requirements during unexpected events (such as a demand generated by an unexpectedly large sales order, or a production failure of X or y).  Generally, if you need safety stock for X and Y, the need doesn't go away just because you have one parent that is MTO and another that is MTS.  You either need safety stock to meet unexpected events, or you don't.
    Best Regards,
    DB49

  • Failure Cost Handling - FCODOC

    Dear Experts,
    I have come across the concept of "Failure Cost handling". The concerned Transaction Code is FCODOC. Can anyone help out with any concept document/link on this subject?
    Thanks in advance for your kind support.
    Regards,
    Amit

    Dear Experts,
    From the knowledge transfer documents received from client, I found following "Failure Cost Handling" being mentioned:
    1) Actual Overhead calculation u2013 Failure cost internal order
    2) Settlement u2013 Failure cost internal order
    3) Settlement u2013 Credit object of Failure cost Internal order
    Can any expert throw some light?
    Regards,
    Amit

  • Which is the best app to clean my mac? MacKeeper?

    i need to know what you recommend me to clean my computer. I have read that MacKeeper is not good at all so i don´t know what should i do.
    thanks

    If you have a problem, please describe it, rather than your conclusion as to how it should be solved. Otherwise, see below.
    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; all should be made directly from the original data. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the App Store or Software Update preference pane (depending on the OS version), you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis.
    Keeping up to date is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible. Incompatibility with third-party software is by far the most common cause of trouble with system updates.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, such stuff is useless or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.
    It's not much of an exaggeration to say that the whole "utility" software industry for the Mac is a fraud on consumers. The most extreme example is the “MacKeeper” scam.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for, and doesn't change the way other software works.
    Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception to the above rule. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction.  Some are malicious. Use with caution, and install only well-known extensions from relatively trustworthy sources, such as the Safari Extensions Gallery.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve.
    4. Beware of malware. Malware is malicious software that circulates on the Internet. This kind of attack on OS X used to be so rare that it was hardly a concern, but it's now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must come directly from the developer's website. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from the web, without your having requested it, should go straight into the Trash. A web page that tells you that your computer has a “virus,” or that anything else is wrong with it, is a scam.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    5. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem.
    While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage use and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as OmniDiskSweeper to explore the volume and find out what's taking up the most space. Move seldom-used large files to secondary storage.
    6. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    To use a Mac effectively, you have to free yourself from the Windows mindset that every computer needs regular downtime maintenance such as "defragging" and "registry cleaning." Those concepts do not apply to the Mac platform. A computing device should not be a focus of your attention. It should be an almost invisible tool by means of which you communicate, work, and play. If you want a machine that is always whining for your attention like a neurotic dog, use a PC.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • Error in SDE_ORA_AbsenceEvent_Full workflow

    I am getting a task failure on the SDE_ORA_AbsenceEvent task when running the Human Resource - Oracle R1212 execution plan from DAC. I have copied and pasted the session log below. The error I see within it is an 'ORA-01846: not a valid day of the week' error. The offending SQL is within the session log below. I am running the Human Resources - Oracle R1212 execution plan out of the box in order to detect any failures before beginning any configuration work. The Informatica workflow that fails is in the SDE_ORAR1212_Adaptor folder and is named SDE_ORA_AbsenceEvent_Full. The workflow log shows error on the 3rd from last and the last lines of the log.
    Please help because I cannot find much about this in the blogosphere except for performance issues with this workflow because of a certain API call within the offending SQL.
    Thanks and the session log now follows:
    DIRECTOR> VAR_27028 Use override value [DataWarehouse] for session parameter:[$DBConnection_OLAP].
    DIRECTOR> VAR_27028 Use override value [ORA_R1212] for session parameter:[$DBConnection_OLTP].
    DIRECTOR> VAR_27028 Use override value [ORA_R1212.DATAWAREHOUSE.SDE_ORAR1212_Adaptor.SDE_ORA_AbsenceEvent_Full.log] for session parameter:[$PMSessionLogFile].
    DIRECTOR> VAR_27028 Use override value [27] for mapping parameter:[$$DATASOURCE_NUM_ID].
    DIRECTOR> VAR_27028 Use override value [TO_DATE('1980-01-01 00:00:00', 'YYYY-MM-D HH24:MI:SS')] for mapping parameter:[mplt_BC_ORA_AbsenceEvent.$$HR_ABSNC_EXTRACT_DATE].
    DIRECTOR> VAR_27028 Use override value [] for mapping parameter:[mplt_BC_ORA_AbsenceEvent.$$LAST_EXTRACT_DATE].
    DIRECTOR> VAR_27028 Use override value [DEFAULT] for mapping parameter:[$$TENANT_ID].
    DIRECTOR> TM_6014 Initializing session [SDE_ORA_AbsenceEvent_Full] at [Tue Nov 16 09:01:17 2010].
    DIRECTOR> TM_6683 Repository Name: [p2]
    DIRECTOR> TM_6684 Server Name: [ip2]
    DIRECTOR> TM_6686 Folder: [SDE_ORAR1212_Adaptor]
    DIRECTOR> TM_6685 Workflow: [SDE_ORA_AbsenceEvent_Full] Run Instance Name: [] Run Id: [979]
    DIRECTOR> TM_6101 Mapping name: SDE_ORA_AbsenceEvent [version 1].
    DIRECTOR> TM_6963 Pre 85 Timestamp Compatibility is Enabled
    DIRECTOR> TM_6964 Date format for the Session is [MM/DD/YYYY HH24:MI:SS]
    DIRECTOR> TM_6827 [mnt/disk07/informatica/server/infa_shared/Storage] will be used as storage directory for session [SDE_ORA_AbsenceEvent_Full].
    DIRECTOR> CMN_1802 Session recovery cache initialization is complete.
    DIRECTOR> TM_6703 Session [SDE_ORA_AbsenceEvent_Full] is run by 64-bit Integration Service [node01_tstrdobiap168], version [8.6.1 HotFix11], build [0504].
    MANAGER> PETL_24058 Running Partition Group [1].
    MANAGER> PETL_24000 Parallel Pipeline Engine initializing.
    MANAGER> PETL_24001 Parallel Pipeline Engine running.
    MANAGER> PETL_24003 Initializing session run.
    MAPPING> CMN_1569 Server Mode: [UNICODE]
    MAPPING> CMN_1570 Server Code page: [UTF-8 encoding of Unicode]
    MAPPING> TM_6151 The session sort order is [Binary].
    MAPPING> TM_6185 Warning. Code page validation is disabled in this session.
    MAPPING> TM_6156 Using low precision processing.
    MAPPING> TM_6180 Deadlock retry logic will not be implemented.
    MAPPING> TM_6307 DTM error log disabled.
    MAPPING> TE_7022 TShmWriter: Initialized
    MAPPING> TM_6007 DTM initialized successfully for session [SDE_ORA_AbsenceEvent_Full]
    DIRECTOR> PETL_24033 All DTM Connection Info: [<NONE>].
    MANAGER> PETL_24004 Starting pre-session tasks. : (Tue Nov 16 09:01:17 2010)
    MANAGER> PETL_24027 Pre-session task completed successfully. : (Tue Nov 16 09:01:17 2010)
    DIRECTOR> PETL_24006 Starting data movement.
    MAPPING> TM_6660 Total Buffer Pool size is 32000000 bytes and Block size is 128000 bytes.
    LKPDP_1> DBG_21693 mplt_SA_ORA_AbsenceEvent.Lkp_Absence_Status{{SRT}}: Cache size for partition [1] = [19922944]
    LKPDP_1> SORT_40419 For Transformation [mplt_SA_ORA_AbsenceEvent.Lkp_Absence_Status{{SRT}}], memory used is [19922944] bytes and row size is 300 bytes.
    LKPDP_1> TE_7212 Increasing [Index Cache] size for transformation [mplt_SA_ORA_AbsenceEvent.Lkp_Absence_Status] from [1048576] to [1050000].
    READER_1_1_1> DBG_21438 Reader: Source is [aebts02], user [apps]
    READER_1_1_1> BLKR_16051 Source database connection [ORA_R1212] code page: [UTF-8 encoding of Unicode]
    READER_1_1_1> BLKR_16003 Initialization completed successfully.
    WRITER_1_*_1> WRT_8147 Writer: Target is database [orcl], user [edw], bulk mode [OFF]
    WRITER_1_*_1> WRT_8221 Target database connection [DataWarehouse] code page: [UTF-8 encoding of Unicode]
    WRITER_1_*_1> WRT_8124 Target Table W_ABSENCE_EVENT_DS :SQL INSERT statement:
    INSERT INTO W_ABSENCE_EVENT_DS(ABSENCE_BEGIN_DT,ABSENCE_END_DT,ABSENCE_BEGIN_TM,ABSENCE_END_TM,ORIGINAL_BEGIN_DT,NOTIFIED_DT,APPROVED_DT,ABSENCE_REASON_CODE,ABSENCE_TYPE_CODE,ABSENCE_CATEGORY_CODE,APPROVAL_STATUS,STATUS_CODE,STATUS_NAME,PAID_UNPAID_CODE,DAYS_DURATION,HOURS_DURATION,DAY_DURATION_START,HOURS_DURATION_START,DAY_DURATION_MID,HOURS_DURATION_MID,DAY_DURATION_END,HOURS_DURATION_END,DAYS_NOTIFIED,ABSENCE_TYPE_RSN_ID,ABSENCE_STATUS_ID,CREATED_BY_ID,EMPLOYEE_ID,ASSIGNMENT_INTEGRATION_ID,CHANGED_BY_ID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,DELETE_FLG,DATASOURCE_NUM_ID,INTEGRATION_ID,TENANT_ID,X_CUSTOM) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    WRITER_1_*_1> WRT_8124 Target Table W_ABSENCE_EVENT_DS :SQL DELETE statement:
    DELETE FROM W_ABSENCE_EVENT_DS WHERE DATASOURCE_NUM_ID = ? AND INTEGRATION_ID = ?
    WRITER_1_*_1> WRT_8270 Target connection group #1 consists of target(s) [W_ABSENCE_EVENT_DS]
    WRITER_1_*_1> WRT_8003 Writer initialization complete.
    READER_1_1_1> BLKR_16007 Reader run started.
    READER_1_1_1> RR_4029 SQ Instance [mplt_BC_ORA_AbsenceEvent.SQ_PER_ABSENCE_ATTENDANCES] User specified SQL Query [SELECT
    /*+ use_hash(per_absence_attendances per_all_assignments_f
    per_absence_attendance_types per_abs_attendance_reasons )*/
    tab.absence_attendance_id absence_attendance_id
    ,tab.date_start absence_begin_dt
    ,NVL(tab.date_end, to_date('31-DEC-4712','DD-MON-YYYY')) absence_end_dt
    ,to_date(to_char(tab.date_start, 'YYYYMMDD ') || NVL(tab.time_start,'00:00'), 'YYYYMMDD HH24:MI') absence_begin_tm
    ,to_date(to_char(tab.date_end, 'YYYYMMDD ') || NVL(tab.time_end,'00:00'), 'YYYYMMDD HH24:MI') absence_end_tm
    ,tab.date_start original_begin_dt
    ,tab.date_notification notified_dt
    ,to_date(null) approved_dt
    ,tab.name absence_reason_code
    ,tab.absence_attendance_type_id absence_attendance_type_id
    ,tab.absence_category absence_category_code
    ,tab.approval_status approval_status
    ,null status_code
    ,null paid_unpaid_code
    ,to_char(tab.absence_attendance_type_id) || '~' || NVL(tab.name,'Unspecified') absence_type_rsn_id
    ,'Unspecified' absence_status_id
    ,tab.person_id employee_id
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.days_duration IS NOT NULL
    THEN tab.days_duration
    WHEN tab.utl_hours_in_day > 0
    THEN tab.hours_duration / tab.utl_hours_in_day
    END days_duration
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.hours_duration IS NOT NULL
    THEN tab.hours_duration
    ELSE tab.days_duration * tab.utl_hours_in_day
    END hours_duration
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.days_duration IS NOT NULL
    THEN tab.days_duration / tab.no_days
    WHEN tab.utl_hours_in_day > 0
    THEN (tab.hours_duration / tab.utl_hours_in_day )/ tab.no_days
    END day_duration_start
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.hours_duration IS NOT NULL
    THEN tab.hours_duration / tab.no_days
    ELSE (tab.days_duration * tab.utl_hours_in_day)/ tab.no_days
    END hours_duration_start
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.days_duration IS NOT NULL
    THEN tab.days_duration / tab.no_days
    WHEN tab.utl_hours_in_day > 0
    THEN (tab.hours_duration / tab.utl_hours_in_day )/ tab.no_days
    END day_duration_mid
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.hours_duration IS NOT NULL
    THEN tab.hours_duration / tab.no_days
    ELSE (tab.days_duration * tab.utl_hours_in_day)/ tab.no_days
    END hours_duration_mid
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.days_duration IS NOT NULL
    THEN tab.days_duration / tab.no_days
    WHEN tab.utl_hours_in_day > 0
    THEN (tab.hours_duration / tab.utl_hours_in_day )/ tab.no_days
    END day_duration_end
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.hours_duration IS NOT NULL
    THEN tab.hours_duration / tab.no_days
    ELSE (tab.days_duration * tab.utl_hours_in_day)/ tab.no_days
    END hours_duration_end
    ,CASE WHEN tab.date_notification < tab.date_start
    THEN tab.date_start - tab.date_notification
    ELSE 0
    END days_notified
    ,tab.assignment_id assignment_integration_id
    FROM
    (SELECT
    paa.absence_attendance_id
    ,paa.date_start
    ,NVL(paa.date_end, to_date('31-DEC-4712','DD-MON-YYYY'))
    date_end
    ,CASE when paa.date_start > TRUNC(sysdate) then 0
    WHEN paa.date_start <= NVL(paa.date_end, trunc(sysdate))
    THEN NVL(paa.date_end, trunc(sysdate)) - paa.date_start + 1
    ELSE to_number(null)
    END no_days
    ,paa.date_notification
    ,paa.person_id
    ,pat.absence_category
    ,par.name
    ,paa.absence_attendance_type_id
    ,paa.abs_attendance_reason_id
    ,paa.time_start
    ,paa.time_end
    ,paa.approval_status
    ,asg.assignment_id
    ,CASE WHEN paa.absence_days IS NOT NULL
    THEN paa.absence_days
    WHEN paa.absence_hours IS NOT NULL OR
    (paa.date_start = paa.date_end AND
    paa.time_start IS NOT NULL AND
    paa.time_end IS NOT NULL)
    THEN to_number(null)
    WHEN paa.date_start < paa.date_end
    THEN paa.date_end - paa.date_start + 1
    when paa.absence_days is null and paa.absence_hours is null
    then nvl(paa.date_end,trunc(sysdate))-paa.date_start + 1
    END days_duration
    ,CASE WHEN paa.absence_hours IS NOT NULL OR
    (paa.date_start = paa.date_end AND
    paa.time_start IS NOT NULL AND
    paa.time_end IS NOT NULL)
    THEN NVL(paa.absence_hours, 24 * (to_date(NVL(paa.time_end,'00:00') , 'HH24:MI') -
    to_date(NVL(paa.time_start,'00:00'), 'HH24:MI')))
    END hours_duration
    , case when paa.date_start > TRUNC(sysdate) then 0
    else hri_bpl_utilization.convert_days_to_hours
    (asg.assignment_id, asg.business_group_id, paa.date_start, TRUNC(sysdate), 1)
    end utl_hours_in_day
    FROM
    per_absence_attendances paa
    ,per_absence_attendance_types pat
    ,per_abs_attendance_reasons par
    ,per_all_assignments_f asg
    WHERE paa.absence_attendance_type_id = pat.absence_attendance_type_id
    AND paa.abs_attendance_reason_id = par.abs_attendance_reason_id (+)
    AND paa.person_id = asg.person_id
    AND asg.primary_flag = 'Y'
    AND asg.assignment_type IN ('E','C')
    AND paa.date_start BETWEEN asg.effective_start_date
    AND asg.effective_end_date
    AND paa.date_start IS NOT NULL
    AND NVL(paa.date_end, to_date('31-DEC-4712','DD-MON-YYYY')) >= TO_DATE('1980-01-01 00:00:00', 'YYYY-MM-D HH24:MI:SS') ) tab]
    READER_1_1_1> RR_4049 SQL Query issued to database : (Tue Nov 16 09:01:18 2010)
    WRITER_1_*_1> WRT_8005 Writer run started.
    WRITER_1_*_1> WRT_8158
    *****START LOAD SESSION*****
    Load Start Time: Tue Nov 16 09:01:18 2010
    Target tables:
    W_ABSENCE_EVENT_DS
    READER_1_1_1> CMN_1761 Timestamp Event: [Tue Nov 16 09:01:18 2010]
    READER_1_1_1> RR_4035 SQL Error [
    ORA-01846: not a valid day of the week
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT
    /*+ use_hash(per_absence_attendances per_all_assignments_f
    per_absence_attendance_types per_abs_attendance_reasons )*/
    tab.absence_attendance_id absence_attendance_id
    ,tab.date_start absence_begin_dt
    ,NVL(tab.date_end, to_date('31-DEC-4712','DD-MON-YYYY')) absence_end_dt
    ,to_date(to_char(tab.date_start, 'YYYYMMDD ') || NVL(tab.time_start,'00:00'), 'YYYYMMDD HH24:MI') absence_begin_tm
    ,to_date(to_char(tab.date_end, 'YYYYMMDD ') || NVL(tab.time_end,'00:00'), 'YYYYMMDD HH24:MI') absence_end_tm
    ,tab.date_start original_begin_dt
    ,tab.date_notification notified_dt
    ,to_date(null) approved_dt
    ,tab.name absence_reason_code
    ,tab.absence_attendance_type_id absence_attendance_type_id
    ,tab.absence_category absence_category_code
    ,tab.approval_status approval_status
    ,null status_code
    ,null paid_unpaid_code
    ,to_char(tab.absence_attendance_type_id) || '~' || NVL(tab.name,'Unspecified') absence_type_rsn_id
    ,'Unspecified' absence_status_id
    ,tab.person_id employee_id
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.days_duration IS NOT NULL
    THEN tab.days_duration
    WHEN tab.utl_hours_in_day > 0
    THEN tab.hours_duration / tab.utl_hours_in_day
    END days_duration
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.hours_duration IS NOT NULL
    THEN tab.hours_duration
    ELSE tab.days_duration * tab.utl_hours_in_day
    END hours_duration
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.days_duration IS NOT NULL
    THEN tab.days_duration / tab.no_days
    WHEN tab.utl_hours_in_day > 0
    THEN (tab.hours_duration / tab.utl_hours_in_day )/ tab.no_days
    END day_duration_start
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.hours_duration IS NOT NULL
    THEN tab.hours_duration / tab.no_days
    ELSE (tab.days_duration * tab.utl_hours_in_day)/ tab.no_days
    END hours_duration_start
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.days_duration IS NOT NULL
    THEN tab.days_duration / tab.no_days
    WHEN tab.utl_hours_in_day > 0
    THEN (tab.hours_duration / tab.utl_hours_in_day )/ tab.no_days
    END day_duration_mid
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.hours_duration IS NOT NULL
    THEN tab.hours_duration / tab.no_days
    ELSE (tab.days_duration * tab.utl_hours_in_day)/ tab.no_days
    END hours_duration_mid
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.days_duration IS NOT NULL
    THEN tab.days_duration / tab.no_days
    WHEN tab.utl_hours_in_day > 0
    THEN (tab.hours_duration / tab.utl_hours_in_day )/ tab.no_days
    END day_duration_end
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.hours_duration IS NOT NULL
    THEN tab.hours_duration / tab.no_days
    ELSE (tab.days_duration * tab.utl_hours_in_day)/ tab.no_days
    END hours_duration_end
    ,CASE WHEN tab.date_notification < tab.date_start
    THEN tab.date_start - tab.date_notification
    ELSE 0
    END days_notified
    ,tab.assignment_id assignment_integration_id
    FROM
    (SELECT
    paa.absence_attendance_id
    ,paa.date_start
    ,NVL(paa.date_end, to_date('31-DEC-4712','DD-MON-YYYY'))
    date_end
    ,CASE when paa.date_start > TRUNC(sysdate) then 0
    WHEN paa.date_start <= NVL(paa.date_end, trunc(sysdate))
    THEN NVL(paa.date_end, trunc(sysdate)) - paa.date_start + 1
    ELSE to_number(null)
    END no_days
    ,paa.date_notification
    ,paa.person_id
    ,pat.absence_category
    ,par.name
    ,paa.absence_attendance_type_id
    ,paa.abs_attendance_reason_id
    ,paa.time_start
    ,paa.time_end
    ,paa.approval_status
    ,asg.assignment_id
    ,CASE WHEN paa.absence_days IS NOT NULL
    THEN paa.absence_days
    WHEN paa.absence_hours IS NOT NULL OR
    (paa.date_start = paa.date_end AND
    paa.time_start IS NOT NULL AND
    paa.time_end IS NOT NULL)
    THEN to_number(null)
    WHEN paa.date_start < paa.date_end
    THEN paa.date_end - paa.date_start + 1
    when paa.absence_days is null and paa.absence_hours is null
    then nvl(paa.date_end,trunc(sysdate))-paa.date_start + 1
    END days_duration
    ,CASE WHEN paa.absence_hours IS NOT NULL OR
    (paa.date_start = paa.date_end AND
    paa.time_start IS NOT NULL AND
    paa.time_end IS NOT NULL)
    THEN NVL(paa.absence_hours, 24 * (to_date(NVL(paa.time_end,'00:00') , 'HH24:MI') -
    to_date(NVL(paa.time_start,'00:00'), 'HH24:MI')))
    END hours_duration
    , case when paa.date_start > TRUNC(sysdate) then 0
    else hri_bpl_utilization.convert_days_to_hours
    (asg.assignment_id, asg.business_group_id, paa.date_start, TRUNC(sysdate), 1)
    end utl_hours_in_day
    FROM
    per_absence_attendances paa
    ,per_absence_attendance_types pat
    ,per_abs_attendance_reasons par
    ,per_all_assignments_f asg
    WHERE paa.absence_attendance_type_id = pat.absence_attendance_type_id
    AND paa.abs_attendance_reason_id = par.abs_attendance_reason_id (+)
    AND paa.person_id = asg.person_id
    AND asg.primary_flag = 'Y'
    AND asg.assignment_type IN ('E','C')
    AND paa.date_start BETWEEN asg.effective_start_date
    AND asg.effective_end_date
    AND paa.date_start IS NOT NULL
    AND NVL(paa.date_end, to_date('31-DEC-4712','DD-MON-YYYY')) >= TO_DATE('1980-01-01 00:00:00', 'YYYY-MM-D HH24:MI:SS') ) tab
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT
    /*+ use_hash(per_absence_attendances per_all_assignments_f
    per_absence_attendance_types per_abs_attendance_reasons )*/
    tab.absence_attendance_id absence_attendance_id
    ,tab.date_start absence_begin_dt
    ,NVL(tab.date_end, to_date('31-DEC-4712','DD-MON-YYYY')) absence_end_dt
    ,to_date(to_char(tab.date_start, 'YYYYMMDD ') || NVL(tab.time_start,'00:00'), 'YYYYMMDD HH24:MI') absence_begin_tm
    ,to_date(to_char(tab.date_end, 'YYYYMMDD ') || NVL(tab.time_end,'00:00'), 'YYYYMMDD HH24:MI') absence_end_tm
    ,tab.date_start original_begin_dt
    ,tab.date_notification notified_dt
    ,to_date(null) approved_dt
    ,tab.name absence_reason_code
    ,tab.absence_attendance_type_id absence_attendance_type_id
    ,tab.absence_category absence_category_code
    ,tab.approval_status approval_status
    ,null status_code
    ,null paid_unpaid_code
    ,to_char(tab.absence_attendance_type_id) || '~' || NVL(tab.name,'Unspecified') absence_type_rsn_id
    ,'Unspecified' absence_status_id
    ,tab.person_id employee_id
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.days_duration IS NOT NULL
    THEN tab.days_duration
    WHEN tab.utl_hours_in_day > 0
    THEN tab.hours_duration / tab.utl_hours_in_day
    END days_duration
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.hours_duration IS NOT NULL
    THEN tab.hours_duration
    ELSE tab.days_duration * tab.utl_hours_in_day
    END hours_duration
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.days_duration IS NOT NULL
    THEN tab.days_duration / tab.no_days
    WHEN tab.utl_hours_in_day > 0
    THEN (tab.hours_duration / tab.utl_hours_in_day )/ tab.no_days
    END day_duration_start
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.hours_duration IS NOT NULL
    THEN tab.hours_duration / tab.no_days
    ELSE (tab.days_duration * tab.utl_hours_in_day)/ tab.no_days
    END hours_duration_start
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.days_duration IS NOT NULL
    THEN tab.days_duration / tab.no_days
    WHEN tab.utl_hours_in_day > 0
    THEN (tab.hours_duration / tab.utl_hours_in_day )/ tab.no_days
    END day_duration_mid
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.hours_duration IS NOT NULL
    THEN tab.hours_duration / tab.no_days
    ELSE (tab.days_duration * tab.utl_hours_in_day)/ tab.no_days
    END hours_duration_mid
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.days_duration IS NOT NULL
    THEN tab.days_duration / tab.no_days
    WHEN tab.utl_hours_in_day > 0
    THEN (tab.hours_duration / tab.utl_hours_in_day )/ tab.no_days
    END day_duration_end
    ,CASE when tab.date_start > TRUNC(sysdate) then 0
    WHEN tab.hours_duration IS NOT NULL
    THEN tab.hours_duration / tab.no_days
    ELSE (tab.days_duration * tab.utl_hours_in_day)/ tab.no_days
    END hours_duration_end
    ,CASE WHEN tab.date_notification < tab.date_start
    THEN tab.date_start - tab.date_notification
    ELSE 0
    END days_notified
    ,tab.assignment_id assignment_integration_id
    FROM
    (SELECT
    paa.absence_attendance_id
    ,paa.date_start
    ,NVL(paa.date_end, to_date('31-DEC-4712','DD-MON-YYYY'))
    date_end
    ,CASE when paa.date_start > TRUNC(sysdate) then 0
    WHEN paa.date_start <= NVL(paa.date_end, trunc(sysdate))
    THEN NVL(paa.date_end, trunc(sysdate)) - paa.date_start + 1
    ELSE to_number(null)
    END no_days
    ,paa.date_notification
    ,paa.person_id
    ,pat.absence_category
    ,par.name
    ,paa.absence_attendance_type_id
    ,paa.abs_attendance_reason_id
    ,paa.time_start
    ,paa.time_end
    ,paa.approval_status
    ,asg.assignment_id
    ,CASE WHEN paa.absence_days IS NOT NULL
    THEN paa.absence_days
    WHEN paa.absence_hours IS NOT NULL OR
    (paa.date_start = paa.date_end AND
    paa.time_start IS NOT NULL AND
    paa.time_end IS NOT NULL)
    THEN to_number(null)
    WHEN paa.date_start < paa.date_end
    THEN paa.date_end - paa.date_start + 1
    when paa.absence_days is null and paa.absence_hours is null
    then nvl(paa.date_end,trunc(sysdate))-paa.date_start + 1
    END days_duration
    ,CASE WHEN paa.absence_hours IS NOT NULL OR
    (paa.date_start = paa.date_end AND
    paa.time_start IS NOT NULL AND
    paa.time_end IS NOT NULL)
    THEN NVL(paa.absence_hours, 24 * (to_date(NVL(paa.time_end,'00:00') , 'HH24:MI') -
    to_date(NVL(paa.time_start,'00:00'), 'HH24:MI')))
    END hours_duration
    , case when paa.date_start > TRUNC(sysdate) then 0
    else hri_bpl_utilization.convert_days_to_hours
    (asg.assignment_id, asg.business_group_id, paa.date_start, TRUNC(sysdate), 1)
    end utl_hours_in_day
    FROM
    per_absence_attendances paa
    ,per_absence_attendance_types pat
    ,per_abs_attendance_reasons par
    ,per_all_assignments_f asg
    WHERE paa.absence_attendance_type_id = pat.absence_attendance_type_id
    AND paa.abs_attendance_reason_id = par.abs_attendance_reason_id (+)
    AND paa.person_id = asg.person_id
    AND asg.primary_flag = 'Y'
    AND asg.assignment_type IN ('E','C')
    AND paa.date_start BETWEEN asg.effective_start_date
    AND asg.effective_end_date
    AND paa.date_start IS NOT NULL
    AND NVL(paa.date_end, to_date('31-DEC-4712','DD-MON-YYYY')) >= TO_DATE('1980-01-01 00:00:00', 'YYYY-MM-D HH24:MI:SS') ) tab].
    READER_1_1_1> CMN_1761 Timestamp Event: [Tue Nov 16 09:01:18 2010]
    READER_1_1_1> BLKR_16004 ERROR: Prepare failed.
    WRITER_1_*_1> WRT_8333 Rolling back all the targets due to fatal session error.
    WRITER_1_*_1> WRT_8325 Final rollback executed for the target [W_ABSENCE_EVENT_DS] at end of load
    WRITER_1_*_1> WRT_8035 Load complete time: Tue Nov 16 09:01:18 2010
    LOAD SUMMARY
    ============
    WRT_8036 Target: W_ABSENCE_EVENT_DS (Instance Name: [W_ABSENCE_EVENT_DS])
    WRT_8044 No data loaded for this target
    WRITER_1__1> WRT_8043 ****END LOAD SESSION*****
    MANAGER> PETL_24031
    ***** RUN INFO FOR TGT LOAD ORDER GROUP [1], CONCURRENT SET [1] *****
    Thread [READER_1_1_1] created for [the read stage] of partition point [mplt_BC_ORA_AbsenceEvent.SQ_PER_ABSENCE_ATTENDANCES] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [TRANSF_1_1_1] created for [the transformation stage] of partition point [mplt_BC_ORA_AbsenceEvent.SQ_PER_ABSENCE_ATTENDANCES] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [WRITER_1_*_1] created for [the write stage] of partition point [W_ABSENCE_EVENT_DS] has completed. The total run time was insufficient for any meaningful statistics.
    MAPPING> CMN_1793 The index cache size that would hold [0] rows in the lookup table for [mplt_SA_ORA_AbsenceEvent.Lkp_Absence_Status], in memory, is [0] bytes
    MAPPING> CMN_1792 The data cache size that would hold [0] rows in the lookup table for [mplt_SA_ORA_AbsenceEvent.Lkp_Absence_Status], in memory, is [0] bytes
    MANAGER> PETL_24005 Starting post-session tasks. : (Tue Nov 16 09:01:18 2010)
    MANAGER> PETL_24029 Post-session task completed successfully. : (Tue Nov 16 09:01:18 2010)
    MAPPING> TE_7216 Deleting cache files [PMLKUP4513_131076_0_979L64] for transformation [mplt_SA_ORA_AbsenceEvent.Lkp_Absence_Status].
    MAPPING> TM_6018 The session completed with [0] row transformation errors.
    MANAGER> PETL_24002 Parallel Pipeline Engine finished.
    DIRECTOR> PETL_24013 Session run completed with failure.
    DIRECTOR> TM_6022
    SESSION LOAD SUMMARY
    ================================================
    DIRECTOR> TM_6252 Source Load Summary.
    DIRECTOR> CMN_1740 Table: [SQ_PER_ABSENCE_ATTENDANCES] (Instance Name: [mplt_BC_ORA_AbsenceEvent.SQ_PER_ABSENCE_ATTENDANCES])
         Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
    DIRECTOR> TM_6253 Target Load Summary.
    DIRECTOR> CMN_1740 Table: [W_ABSENCE_EVENT_DS] (Instance Name: [W_ABSENCE_EVENT_DS])
         Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
    DIRECTOR> TM_6023
    ===================================================
    DIRECTOR> TM_6020 Session [SDE_ORA_AbsenceEvent_Full] completed at [Tue Nov 16 09:01:19 2010].

    Hi
    Did you manage to find a solution to this problem?
    okay i been puzzling with this one a bit,how i resolved it was as follows:
    'AND NVL(paa.date_end, to_date('31-DEC-4712','DD-MON-YYYY')) >= TO_DATE('1980-01-01 00:00:00', 'YYYY-MM-D HH24:MI:SS') ) tab]'
    you will notice the yyyy-mm-dd function is missing a d from the parameter file
    if you take the sql and run it with the proper conversion of TO_DATE('1980-01-01 00:00:00', 'YYYY-MM-DD HH24:MI:SS') the sql works and the workflow completes, it would seem this is a bug when the dac generates the parameter $$HR_ABSNC_EXTRACT_DATE.
    hope this helps
    Regards
    Nick
    Edited by: Nickho on Feb 7, 2011 7:55 AM

  • What do I do with the results of EtreCheck if I am trying to be proactive? embarrassed grin Can anyone help?

    Good morning. This is my machine: 
    EtreCheck version: 1.9.12 (48)
    Report generated July 31, 2014 at 6:52:07 AM EDT
    Hardware Information:
      iMac (21.5-inch, Mid 2010) (Verified)
      iMac - model: iMac11,2
      1 3.2 GHz Intel Core i3 CPU: 2 cores
      16 GB RAM
    Video Information:
      ATI Radeon HD 5670 - VRAM: 512 MB
      iMac 1920 x 1080
    System Software:
      OS X 10.9.4 (13E28) - Uptime: 2 days 0:35:41
    Disk Information:
      APPLE HDD HUA722010CLA330 disk0 : (1 TB)
      EFI (disk0s1) <not mounted>: 209.7 MB
      Macintosh HD (disk0s2) / [Startup]: 999.35 GB (886.28 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
      OPTIARC DVD RW AD-5680H 
    USB Information:
      Apple Internal Memory Card Reader
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
      SAMSUNG SAMSUNG_Android
      Apple Computer, Inc. IR Receiver
      Apple Inc. Built-in iSight
    FireWire Information:
      LaCie Rugged FW/USB 800mbit - 800mbit max
      disk1s1 (disk1s1) <not mounted>: 32 KB
      LaCie (disk1s3) /Volumes/LaCie: 499.97 GB (139.69 GB free)
    Gatekeeper:
      Mac App Store and identified developers
    Launch Daemons:
      [loaded] com.adobe.fpsaud.plist Support
      [not loaded] com.adobe.SwitchBoard.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
    Launch Agents:
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.adobe.CS5ServiceManager.plist Support
      [running] com.brother.LOGINserver.plist Support
      [loaded] com.divx.dms.agent.plist Support
      [loaded] com.divx.update.agent.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [loaded] com.hp.help.tocgenerator.plist Support
    User Launch Agents:
      [loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.adobe.ARM.[...].plist Support
      [failed] com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
      [not loaded] com.google.Chrome.framework.plist Support
    User Login Items:
      iTunesHelper
      MacLWSLauncher
      AdobeResourceSynchronizer
      EvernoteHelper
      Caffeine
      Android File Transfer Agent
      Dropbox
      VerizonUpdateCenter
      WidgetRunner
      Google Drive
      RealPlayer Downloader Agent
      EvernoteHelper
      Kodak Share Button Agent
      HP Product Research
      HPEventHandler
    Internet Plug-ins:
      o1dbrowserplugin: Version: 5.4.2.18903 Support
      OVSHelper: Version: 1.1 Support
      Default Browser: Version: 537 - SDK 10.9
      Flip4Mac WMV Plugin: Version: 2.4.4.2 Support
      RealPlayer Plugin: Version: (null) Support
      AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 Support
      FlashPlayer-10.6: Version: 14.0.0.145 - SDK 10.6 Support
      DivX Web Player: Version: 3.2.1.977 - SDK 10.6 Support
      Silverlight: Version: 5.1.20513.0 - SDK 10.6 Support
      Flash Player: Version: 14.0.0.145 - SDK 10.6 Support
      iPhotoPhotocast: Version: 7.0 - SDK 10.8
      googletalkbrowserplugin: Version: 5.4.2.18903 Support
      QuickTime Plugin: Version: 7.7.3
      AdobePDFViewer: Version: 11.0.07 - SDK 10.6 Support
      CouponPrinter-FireFox_v2: Version: Version 1.1.9 - SDK 10.5 Support
      SharePointBrowserPlugin: Version: 14.4.3 - SDK 10.6 Support
      WidevineMediaOptimizer: Version: 6.0.0.12757 - SDK 10.7 Support
      JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    Safari Extensions:
      Conduit Search for Safari: Version: 1.0
    Audio Plug-ins:
      BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
      AirPlay: Version: 2.0 - SDK 10.9
      AppleAVBAudio: Version: 203.2 - SDK 10.9
      iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
      ConduitNPAPIPlugin: Version: 1.0 - SDK 10.6 Support
      Picasa: Version: 1.0 Support
    3rd Party Preference Panes:
      Flash Player  Support
      Flip4Mac WMV  Support
      Growl  Support
    Time Machine:
      Skip System Files: NO
      Auto backup: YES
      Volumes being backed up:
      Macintosh HD: Disk size: 930.71 GB Disk used: 105.30 GB
      Destinations:
      LaCie [Local] (Last used)
      Total size: 465.64 GB
      Total number of backups: 210
      Oldest backup: 2011-01-02 19:28:34 +0000
      Last backup: 2014-07-31 10:04:28 +0000
      Size of backup disk: Adequate
      Backup size 465.64 GB > (Disk used 105.30 GB X 3)
      Time Machine details may not be accurate.
      All volumes being backed up may not be listed.
    Top Processes by CPU:
          2% Dropbox
          2% WindowServer
          1% RealPlayer Downloader Agent
          0% fontd
          0% launchservicesd
    Top Processes by Memory:
      262 MB Finder
      229 MB mds_stores
      213 MB com.apple.IconServicesAgent
      164 MB Evernote
      164 MB Numbers
    Virtual Memory Information:
      10.43 GB Free RAM
      3.78 GB Active RAM
      560 MB Inactive RAM
      1.24 GB Wired RAM
      8.88 GB Page-ins
      0 B Page-outs

    I stumbled upon a forum discussion of EtreCheck. It seemed like a good way to be proactive for problems
    It isn't. Below is a good way to be proactive for problems.
    How to maintain a Mac
    1. Make two or more backups of all your files, keeping at least one off site at all times in case of disaster. One backup is not enough to be safe. Don’t back up your backups; all should be made directly from the original data. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the App Store or Software Update preference pane (depending on the OS version), you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis.
    Keeping up to date is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible. Incompatibility with third-party software is by far the most common cause of trouble with system updates.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, such stuff is useless or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.
    It's not much of an exaggeration to say that the whole "utility" software industry for the Mac is a fraud on consumers. The most extreme examples are the "CleanMyMac," "TuneUpMyMac," and “MacKeeper” scams, but there are many others.
    As a rule, you should avoid software that changes the way other software works. Plugins for Photoshop and similar programs are an obvious exception to this rule. Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction. Some are malicious. Use with caution, and install only well-known extensions from relatively trustworthy sources, such as the Safari Extensions Gallery.
    Only install software that is useful to you, not (as you imagine) to the computer. For example, a word processor is useful for writing. A video editor is useful for making movies. A game is useful for fun. But a "cache cleaner" isn't useful for anything. Cleaning caches is not an end in itself.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve. Do not rely on "utilities" such as "AppCleaner" and the like that purport to remove software.
    4. Don't install bad, conflicting, or unnecessary fonts. Whenever you install new fonts, use the validation feature of the built-in Font Book application to make sure the fonts aren't defective and don't conflict with each other or with others that you already have. See the built-in help and this support article for instructions. Deactivate or remove fonts that you don't really need to speed up application launching.
    5. Avoid malware. Malware is malicious software that circulates on the Internet. This kind of attack on OS X was once so rare that it was hardly a concern, but malware is now increasingly common, and increasingly dangerous.
    There is some built-in protection against malware, but you can’t rely on it—the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness—not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must come directly from the developer's website. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from the web, without your having requested it, should go straight into the Trash. A web page that tells you that your computer has a “virus,” or that anything else is wrong with it, is a scam.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    6. Don't fill up your disk/SSD. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a startup failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem.
    While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage use and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as OmniDiskSweeper to explore the volume and find out what's taking up the most space. Move seldom-used large files to secondary storage.
    7. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    To use a Mac effectively, you have to free yourself from the Windows mindset that every computer needs regular downtime maintenance such as "defragging" and "registry cleaning." Those concepts do not apply to the Mac platform.
    A well-designed computing device is not something you should have to think about much. It should be an almost transparent medium through which you communicate, work, and play. If you want a machine that needs a lot of attention, use a PC.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • Limit/Service PO issues

    Hi All,
    I have multiple issues related to Limit or service purchase orders in SRM 4.0. We are in extended classic scenario and service pack 12.
    1. When try to Limit SC in full functionality BBPSC01, after adding limit line to SC not able to find "Follow up actions' (options to select confirmation and invoice or invoice only) and "Account assignment" (option Unknown and known) section below the basic data. Does that mean some screen modifications made to disable the above fileds? If so in which ITS template or program or BADI we could find the code changes?
    2. When create a PO directly in "Process purchase order" with item category LIMIT (PO with one line item), it created a service PO in ERP (item category D) for LIMIT value (say 100 Euro) and no service lines in service tab. Now user amended the PO in change order and added a service as second line item (200 Euro). The change order went to transfer failure and message shows "Please specify a valid account assignment" and "Instance 4400494431 of object type PurchaseOrder could not be changed". However net price of the PO in ERP increased to 300 Euro at item level but no service line added in service tab.
    Could some one help in resolving the above two issues.
    Regards
    Prasad

    For Service PO, the Item Category has to be "D" - Service.
    Please check & confirm.
    The various steps are given below:
    1. PO creation using T code ME21 / ME21n
    2. Service Entry Sheet creation using T code ML81n
    3. Release of SES using T code ML85.
    4. Invoice verification using T code MIRO (For MIRO, the SES has to be first release ie GR generated).
    Regards
    Bhavesh Mistry

  • Wheel of death followed by Hard Drive Crash Prevention?

    O.k.  So after having my macbook pro 2012 for some reason starting up very slowly and then constantly getting the wheel to the point where it took several minutes for ANYTHING to load, Steam not updating and other applications starting up only to fail, and my constant having to shut the computer down to try and get it to work, eventually the hard drive just gave up on me and I had to use the disk utility program which failed to verify or repair the damage, so I had to erase everything and start again from scratch.  Luckily I had no work data that I really needed to save and if I do need to, I can probably redo it from scratch, but I did lose iMovie (replaced for now with wondershare), a couple of video files of games for my youtube channel, all my microsoft documents, and a couple of other programs that I probably should have gotten rid of to start with.  Everything else, mainly my gaming data is saved on Steam and other apps, so no damage done there thankfully, but I would like to prevent this from happening in the future.  For starters, yes I plan to get a terabyte external hard drive for backing up my data purposes, and I will be making sure to shut down my computer before I take it somewhere, closing apps and making sure multiple don't start up as well when I log back in, (I had a habit of leaving it on sleep mode more often than I should have even when traveling with it.)  I also have gotten a clean my mac 2 app if the issue starts up again and I start to experience a slowing mac to help me clean up any extra files I don't really need, and I'm gonna make sure to look at my activity monitor and make sure that some apps aren't still running when I don't want them to.  Any other suggestions that might help me avoid this error in the future?  My Mac is working again fine now, and for the record, I've had it for 2 or so years now and I don't think it's in bad shape at all, so I don't think I need to replace the hard drive completely.  I ask this because I've seen a lot of people have similar issues and I'm sure we all would want to make sure this doesn't happen again, and we also want to make sure we can fix it before it becomes a problem and we have to hit the reset button on our hard drives.  Any help would be appreciated!  (I probably will take it to an apple store next time and ask about it before I reset it again though if this comes up.)

    How to maintain a Mac
    1. Make two or more backups of all your files, keeping at least one off site at all times in case of disaster. One backup is not enough to be safe. Don’t back up your backups; all should be made directly from the original data. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the App Store or Software Update preference pane (depending on the OS version), you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis.
    Keeping up to date is especially important for complex software that modifies the operating system, such as device drivers. Don't install such modifications unless they're absolutely necessary. Remove them when they are no longer needed. Before installing any Apple update, you must check that all system modifications that you use are compatible. Incompatibility with third-party software is by far the most common cause of difficulties with system updates.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, such stuff is useless or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.
    It's not much of an exaggeration to say that the whole "utility" software industry for the Mac is a fraud on consumers. The most extreme examples are the "CleanMyMac," "TuneUpMyMac," and “MacKeeper” scams, but there are many others.
    As a rule, you should avoid software that changes the way other software works. Plugins for Photoshop and similar programs are an obvious exception to this rule. Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction. Some are malicious. Use with caution, and install only well-known extensions from relatively trustworthy sources, such as the Safari Extensions Gallery.
    Only install software that is useful to you, not (as you imagine) to the computer. For example, a word processor is useful for writing. A video editor is useful for making movies. A game is useful for fun. But a "cache cleaner" isn't useful for anything. Cleaning caches is not an end in itself.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve. Do not rely on "utilities" such as "AppCleaner" and the like that purport to remove software.
    4. Don't install bad, conflicting, or unnecessary fonts. Whenever you install new fonts, use the validation feature of the built-in Font Book application to make sure the fonts aren't defective and don't conflict with each other or with others that you already have. See the built-in help and this support article for instructions. Deactivate or remove fonts that you don't really need to speed up application launching.
    5. Avoid malware. Malware is malicious software that circulates on the Internet. This kind of attack on OS X was once so rare that it was hardly a concern, but malware is now increasingly common, and increasingly dangerous.
    There is some built-in protection against malware, but you can’t rely on it—the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness—not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must come directly from the developer's website. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from the web, without your having requested it, should go straight into the Trash. A web page that tells you that your computer has a “virus,” or that anything else is wrong with it, is a scam.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    6. Don't fill up your disk/SSD. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a startup failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem.
    While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage use and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as OmniDiskSweeper to explore the volume and find out what's taking up the most space. Move seldom-used large files to secondary storage.
    7. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    To use a Mac effectively, you have to free yourself from the Windows mindset that every computer needs regular downtime maintenance such as "defragging" and "registry cleaning." Those concepts do not apply to the Mac platform.
    A well-designed computing device is not something you should have to think about much. It should be an almost transparent medium through which you communicate, work, and play. If you want a machine that needs a lot of attention, use a PC.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • Had to restore my hard drive, now some applications aren't opening

    I did an update the other day and my imac desided to go crazy.
    I ended up having to do a full restore from time machine.
    Now I'm having problems keeping applications like, iphoto, yahoo messenger, skype, etc. to stay open.
    They will open, but after a few seconds they close down and keep doing this no matter how many times I retry opening them.
    Not sure what's going on now.
    Any help would be much appreciated.
    I've even tried fully uninstalling yahoo messenger and then reinstalling and the same thing is happening.
    Also, randomly my imac is restarting for no reason.

    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; make them independent of each other. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the Software Update preference pane, you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis. This is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Use your computer; don't fuss with it.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve.
    The free anti-malware application ClamXav is not crap, and although it’s not routinely needed, it may be useful in some environments, such as a mixed Mac-Windows enterprise network.
    4. Beware of trojans. A trojan is malicious software (“malware”) that the user is duped into installing voluntarily. Such attacks were rare on the Mac platform until sometime in 2011, but are now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must be acquired directly from the developer. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from a web page without your having requested it should go straight into the Trash. A website that claims you have a “virus,” or that anything else is wrong with your computer, is rogue.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    5. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem. While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage consumption and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as the free application OmniDiskSweeper to explore your volume and find out what's taking up the most space. Move rarely-used large files to secondary storage.
    6. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • What is the best way to keep your macbook pro in tip top condition. performance wise

    What is the best way to keep the performance of a macbook pro in tip top shape.  Over the years my computer seems to act like a pc with all of its hicups and lockups.
    I am running mountain lion and this computer is approx 2 years old.
    Not sure if there is some sort of software that will help with this or is there something else I can do.
    Thanks
    GAJ

    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; all should be made directly from the original data. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the App Store or Software Update preference pane (depending on the OS version), you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis.
    Keeping up to date is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible. Incompatibility with third-party software is by far the most common cause of trouble with system updates.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, such stuff is useless or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.
    It's not much of an exaggeration to say that the whole "utility" software industry for the Mac is a fraud on consumers. The most extreme examples are the "CleanMyMac" and “MacKeeper” scams, but there are many others.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for, and doesn't change the way other software works.
    Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception to the above rule. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction.  Some are malicious. Use with caution, and install only well-known extensions from relatively trustworthy sources, such as the Safari Extensions Gallery.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve. Do not rely on "utilities" such as "AppCleaner" and the like that purport to remove software.
    4. Don't install bad, conflicting, or unnecessary fonts. Whenever you install new fonts, use the validation feature of the built-in Font Book application to make sure the fonts aren't defective and don't conflict with each other or with others that you already have. See the built-in help and this support article for instructions. Deactivate or remove fonts that you don't really need to speed up application launching.
    5. Avoid malware. Malware is malicious software that circulates on the Internet. This kind of attack on OS X was once so rare that it was hardly a concern, but malware is now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must come directly from the developer's website. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from the web, without your having requested it, should go straight into the Trash. A web page that tells you that your computer has a “virus,” or that anything else is wrong with it, is a scam.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    6. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem.
    While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage use and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as OmniDiskSweeper to explore the volume and find out what's taking up the most space. Move seldom-used large files to secondary storage.
    7. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    To use a Mac effectively, you have to free yourself from the Windows mindset that every computer needs regular downtime maintenance such as "defragging" and "registry cleaning." Those concepts do not apply to the Mac platform. A computing device is not something you should have to think about very much. It should be an almost transparent medium through which you communicate, work, and play. If you want a machine that is always whining for your attention like a neurotic dog, use a PC.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • ABAP OO and parallel processing

    Hello ABAP community,
    I am trying to implement a ABAP OO scenario where i have to take into account parallel processing and processing logic in the sense of update function modules (TYPE V1).
    The szenario is definied as follows:
    Frame class X creates a instance of class Y and a instance of class Z.
    Classes Y and Z sould be processed in parallel, so class X calls classes Y and Z.
    Classes Y and Z call BAPIS and do different database changes.
    If classes Y or Z have finished, the status of processing is written into a status table by caller class X.
    The processing logic within class Y and class Z should be a SAP LUW in the sense of a update function module (TYP V1).
    Can i use events?
    (How) Should i use "call function in upgrade task"?
    (How) Should i use "call function starting new task"?
    What is the best method to realise that behaviour?
    Many thanks for your suggestions.

    Hallo Christian,
    I will describe you in detail, whow I have solved this
    problem. May be there is a newer way ... but it works.
    STEPS:
    I asume you have splitt your data in packages.
    1.) create a RFC-FM: Z_WAIT
    It return OK or NOT OK.
    This FM: does following:
    DO.
      call function TH_WPINFO -> until the WPINFO has more
    than a certain number of lines. (==> free tasks)
    ENDDO.
    If it is OK ==> free tasks are available
    call your FM (RFC!) like this:
    CALL FUNCTION <FM>
    STARTING NEW TASK ls_tasknam " Unique identifier!
    DESTINATION IN GROUP p_group
    PERFORMING return_info ON END OF TASK
    EXPORTING
    TABLES
    IMPORTING
    EXCEPTIONS
    *:--- Take care of the order of the exceptions!
    COMMUNICATION FAILURE = 3
    SYSTEM_FAILURE = 2
    UNFORCED_ERROR = 4
    RESOURCE_FAILURE = 5
    OTHERS = 1.
    *:--- Then you must check the difference between
    *:--- the started Calls and the received calls.
    *:--- If the number increases a certain value limit_tasks.
    wait until CALLED_TASK < LIMIT_TASKS up to '600' seconds.
    The value should be not greater then 20!
    DATA-Description:
    parameters: p_group like bdfields-rfcgr default 'Server_alle'. " For example. Use the F4 help
    if you have defined the report-parameter as above.
    ls_tasknam ==> Just the increasing number of RFC-Calls
    as Character.
    RETURN_INFO is a form routine in which You can check the results. Within this Form you must call:
    RECEIVE RESULTS FROM FUNCTION <FM>
    TABLES: ... " The tables of your <FM> exactly the same order!
    EXCEPTIONS
    COMMUNICATION FAILURE = 3
    SYSTEM_FAILURE = 2
    UNFORCED_ERROR = 4
    NO_ACTIVATE_INFOSTRUCTURE = 1.
    Her eyou must count the received Calls!
    And you can save them into a internal table for checking!
    I hope I could help you a little bit
    God luck
    Michael

  • Where to find the best application for cleaning out my MacBook Air with OS X 10.7.5? I've been using MacKeeper but believe it's slowing down my laptop considerable.

    where to find the best application for cleaning out my MacBook Air with OS X 10.7.5? I've been using MacKeeper but believe it's slowing down my laptop considerable. Thank you.

    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; make them independent of each other. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the Software Update preference pane, you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis. This is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Use your computer; don't fuss with it.
    Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception to the above rule. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction.  Some are malicious. Use with caution, and install only well-known extensions from relatively trustworthy sources, such as the Safari Extensions Gallery.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve.
    4. Beware of trojans. A trojan is malicious software (“malware”) that the user is duped into installing voluntarily. Such attacks were rare on the Mac platform until sometime in 2011, but are now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must be acquired directly from the developer. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from a web page without your having requested it should go straight into the Trash. A website that claims you have a “virus,” or that anything else is wrong with your computer, is rogue.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    5. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem. While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage consumption and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as the free application OmniDiskSweeper to explore your volume and find out what's taking up the most space. Move rarely-used large files to secondary storage.
    6. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • What causes NIDSTermin​ateApp call in LabVIEW applicatio​n?

    I have an application which periodically crashes with an exception c0000005 error. It is running on 2 different machines and has occurred on both machines (Windows 2000).
    The Dr Watson log file shows very little information about the thread that crashes (it seems that it is pretty seriously trashed) but the back trace includes a call to NIDSTerminateApp. This is exported by nids.dll (the DataSocket library) so it leads me to think the problem may be there. However, I don't know if this is a response to an earlier problem (hence "terminate") or the cause of the problem.
    I will include the log file below.
    Ciao
    Bill
    Attachments:
    HeatTreat_Crash-drwtsn32.log ‏53 KB

    Bill,
    The first thing I would try and get a handle on is whether the program is crashing on a common operation each time. Since the time elapsed between crashes varies so greatly, it doesn't really help in the process of narrowing things down. In this case, I would try and implement a log file for your program. Basically, place file write operations at various points in your program. They will serve as "checkpoints". When the program crashes, open the file and see what the last checkpoint that was passed. You will then be able to zoom in on the offending code if it is in fact the same piece of code causing the problem each run.
    The drwtsn32.log file is an appended file, therefore the latest event is at the end of the file. Within Notepad, Scroll to
    the bottom and search up for 'Application' . Somewhere beneath 'Application' is PID (process ID) this value is the process that was running when the Error was generated. Scroll down to check the list of processes and locate that number. In your file, this process is HeatTreatMain.e.exe.
    Look for 'FAULT ->' and this is the place within the processes where the application error occurred. The new section shows the stack, however the function names are usually NOT correctly identified by the Dr. Watson.
    In the vast majority of cases the drwtsn32.log file does not contain sufficient information in order to debug the failure. It only gives you an idea about the failure. It is the user.dmp file that might lead to a solution. The utility only creates the Dr. Watson log file (drwtsn32.log). You have to instruct the Dr. Watson to create the crash dump (user.dmp). Launch the utility by typing drwtsn32 in the Start»Run. You are going to get a new window similar to the one attached below.
    Refer to the linked document for more information.
    How Do I Debug a Non-Reproducible Crash?
    Zvezdana S.
    Attachments:
    dr_watson.gif ‏10 KB

Maybe you are looking for

  • Urgent need for AP and PO test scripts/scenarios and training user manuals

    Hi There, Can anyone send me test scripts/scenarios and training user manuals for AP and PO Please send me the docs as soon as possible on [email protected] I will really appreciate your help. Regards Kush

  • The Image viewer flash element could not be found

    The image viewer flash element could not be found. What should I do? Any plug in exists or is it mistake in program? Help me, please. Thx Joe

  • Mac-auth-bypass fails MAC: 0000.0000.0000

    I have an old JetDirect that doesn't support 802.1x. I have enabled MAB on the port where it connects, but for some reason MAB fails. I enabled dot1x debug and will paste the output in a few here. I know my dot1x config is good.. i have clients authe

  • "systemroot\system32\ntdll.dll" error

    I try to reinstall window xp sp2 on my friend's computer today, boot up from the winxp cd, every thing is fine, but after the windows xp loading screen appears i get a blue screen with the this message : Stop : c000021 unknown hard error \ systemroot

  • Bookmark icons are empty folders, how get colored icons back?

    I used to have bookmark icons I could recognize by the logo. Now they are all blank folders. If I hold the mouse over them I can see they are still there. How do I get the picture or logo back without deleting them and starting over. Why did they cha