Scripting PurgeCache.sh

I need to script running PurgeCache.sh so that it can be run by an automated task. However it appears that PurgeCache.sh only accepts its input values via console input (prompts for userid, password, host). I can't seem to find a way to pass the values in from a script. Anyone know of a way to do this?

You can use this code once you have an instance of the oimClient.
>
public void purgeCache(){
PlatformUtilsService service = (PlatformUtilsService)oimClient.getService(PlatformUtilsService.class);
List success = new ArrayList();
List failure = new ArrayList();
String[] purgeItems = new String[] {"All"};
for (int i = 0; i < purgeItems.length; i++) {
success.add(purgeItems);
try {
service.purgeCache(purgeItems[i]);
}catch (InvalidCacheCategoryException e) {
success.remove(purgeItems[i]);
failure.add(purgeItems[i]);
if (success.size() > 0) System.out.println("Purging the cache categories:" + success + " is successful");
if (failure.size() > 0) System.out.println("Purging the cache categories:" + failure + " failed");
>
I found this by decompiling the OIMServer.jar and looking at the class that is called in the PurgeCache script. Fairly simple.
-Kevin

Similar Messages

  • Simple question about "nqcmd"

    I'm trying to purge the BI server cache as the last task in my ETL.
    Is there a way to execute the nqcmd by passing an encrypted version of the password, rather than the plaintext password?
    For example:
    If the password were 123password the nqcmd would look like this...
    nqcmd -d AnalyticsWeb -u Administrator -p 123password -s "C:\oracle\product\10gR3_1\bifoundation\dac\scripts\purgecache.sql" -o "C:\Informatica\PowerCenter8.6.0\server\infa_shared\SessLogs\purgecache.log"
    But I would like for the password to be encrypted...
    nqcmd -d AnalyticsWeb -u Administrator -p 174eidkgh485858dk38 -s "C:\oracle\product\10gR3_1\bifoundation\dac\scripts\purgecache.sql" -o "C:\Informatica\PowerCenter8.6.0\server\infa_shared\SessLogs\purgecache.log"
    Edited by: Austin W on Oct 13, 2009 1:37 PM

    Hi,
    I don't believe this is possible; at least none of the documentation or any SR on MySupport documents a way of using an encrypted password.
    Regards,
    Matt

  • Cannot Execute Any UNIX Scripts From DAC

    Hello,
    I have a BI system implementation on Oracle Solaris Servers. Both DAC as well as Informatica are on single server. My business requirement calls for a frequent Data load into BI and Cache purge. i checked the forum and found so many articles on how to automate Purging of Cache Post ETL. I am successful in creating a script to purge the cache and i already tested it by executing the script manually. But when i call this script from a DAC task it fails. In order to make sure that there is no problem with the Script i created a simple script which just says "Hello" and tried to invoke the script from DAC task but failed.
    All Task Batches
    External Program Batch
      EXTERNAL PROGRAM TASKTest:/PurgeCache/CachePurge.sh:(Source : FULL Target : FULL)
      2013-10-13 17:40:38.015 Acquiring Resources
      2013-10-13 17:40:38.015 Acquired Resources
      2013-10-13 17:40:38.015 EXTERNAL PROGRAM TASKTest:/PurgeCache/CachePurge.sh:(Source : FULL Target : FULL) has started.
      ANOMALY INFO::: Error while executing : EXTERNAL PROGRAM TASKTest:/PurgeCache/CachePurge.sh:(Source : FULL Target : FULL)
      MESSAGE:::com.siebel.analytics.etl.execution.exceptions.ExternalProcessException:
      EXCEPTION CLASS::: java.lang.RuntimeException
      com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:536)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)
      com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
      java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      java.util.concurrent.FutureTask.run(Unknown Source)
      java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      java.util.concurrent.FutureTask.run(Unknown Source)
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      java.lang.Thread.run(Unknown Source)
      ::: CAUSE :::
      MESSAGE :::
      EXCEPTION CLASS::: com.siebel.analytics.etl.execution.exceptions.ExternalProcessException
      com.siebel.analytics.etl.etltask.ExternalProgramTask.doExecute(ExternalProgramTask.java:99)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:477)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)
      com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
      java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      java.util.concurrent.FutureTask.run(Unknown Source)
      java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      java.util.concurrent.FutureTask.run(Unknown Source)
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      java.lang.Thread.run(Unknown Source)
      (Number of retries : 1)
      /PurgeCache/CachePurge.sh
      2013-10-13 17:40:38.031 EXTERNAL PROGRAM TASKTest:/PurgeCache/CachePurge.sh:(Source : FULL Target : FULL) has finished execution with Failed status.
    (Failed)
    Any help would be greatly appreciated.
    thanks and regards,
    Sree

    See the thread below:
    Re: FDM - Script

  • Wanted: Bridge or Photoshop script for taking a camera raw "snapshot"

    Hello,
    i am looking for a way to create a "snapshot" in the xmp data of raw image files, like you do in camera raw's last tab "snapshots".
    I can do copy&paste programming.
    Here is a script that changes a certain value on a selection of image files. I  can take this as a starting point to work  in the xmp data in a selection of files. But what would a function to create a snapshot be?
    #target bridge    if( BridgeTalk.appName == "bridge" ) {
    setExposure = MenuElement.create("command", "Set Average Exposures", "at the end of Tools","exp");
    setExposure.onSelect = function () {
    var d=app.document;
    d.deselectAll();
    var sels = d.getSelection("cr2,crw,nef,mos,orf");
    var noOfFiles =sels.length;
    var diff = (3.25 / (noOfFiles-1));
    var exp = 1.25;
    var exp2=exp;
    for(var a = 0;a<noOfFiles;a++){
        exp2 = exp - (diff*(a)).toFixed(3);
        var file = new File(sels[a].spec.toString().replace(/\....$/,'.xmp'));
        setExposure( file, exp2 )
    app.document.chooseMenuItem('PurgeCache');
    function setExposure( file, expose ){
         file.open('r');
         file.encoding = "UTF8";
         file.lineFeed = "unix";
         file.open("r", "TEXT", "????");
         var xmpStr = file.read();
         file.close();
         if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
         var xmp = new XMPMeta( xmpStr );
         xmp.setProperty( XMPConst.NS_CAMERA_RAW, "Exposure", Number(expose) );
         file.open('w');
         file.encoding = "UTF8";
         file.lineFeed = "unix";
         file.write( xmp.serialize() );
         file.close();
    regards,
    Stephan Möbius

    Hi Stephan,
    Nice to hear from you.
    I would first like to tell my understanding your problem clearly.
    What I understood is that you want create a “snapshot” (thumbnail) of a camera raw file and put it inside the XMP Packet.
    You have got a script which can update XMP of file, on selecting a menu item.
    You want to know how to create a “snapshot” of a raw file so that you can insert it in XMP using the script.
    Workflow will be, you will open a camera raw file, select some menu item, and on doing that the snapshot will be updated in the XMP.
    Is this understanding correct?
    If not please clarify the workflow and the problem you are facing.
    Thanks,
    Amit

  • Is there a script to change a setting incrementally when batch processing in Camera Raw?

    I am editing a batch of about 1000 photos in Camera Raw. There are certain settings like contrast or clarity that will be the same for all of them. But with the Exposure, I would like to have it decrease incrementally from the first picture (set to +1.25) to the last picture (set to -2.00).
    So for certain settings that will be the same on all images I have done a simple "select all" and "synchronize." But I am wondering if there is a script that will have Camera Raw (or any other Adobe program) automatically split the difference between an exposure of +1.25 to -2.00 and apply incremental values to the images?
    Any thoughts?

    Copy and paste the script into ExtendScript Toolkit
    This gets installed with Photoshop and can be found:-
    PC: C:\Program Files\Adobe\Adobe Utilities
    MAC: <hard drive>/Applications/Utilities/Adobe Utilities
    Start Bridge
    PC: Edit - Preferences - Startup Scripts
    Mac: Adobe Bridge menu - Preferences - Startup Scripts
    At the bottom click the "Reveal Button" this will open the folder where the script should be saved.
    Close and restart Bridge.
    Accept the new script.
    To use:-
    Navigate to the folder with your Raw files.
    Tools - Set Average Exposures
    Make sure you do a test first on a temp folder of the raw files!
    #target bridge  
       if( BridgeTalk.appName == "bridge" ) { 
    setExposure = MenuElement.create("command", "Set Average Exposures", "at the end of Tools","exp");
    setExposure.onSelect = function () {
    var d=app.document;
    d.deselectAll();
    var sels = d.getSelection("cr2,crw,nef,mos,orf");
    var noOfFiles =sels.length;
    var diff = (3.25 / (noOfFiles-1));
    var exp = 1.25;
    var exp2=exp;
    for(var a = 0;a<noOfFiles;a++){
        exp2 = exp - (diff*(a)).toFixed(3);
        var file = new File(sels[a].spec.toString().replace(/\....$/,'.xmp'));
        setExposure( file, exp2 )
    app.document.chooseMenuItem('PurgeCache');
    function setExposure( file, expose ){
         file.open('r');
         file.encoding = "UTF8";
         file.lineFeed = "unix";
         file.open("r", "TEXT", "????");
         var xmpStr = file.read();
         file.close();
         if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
         var xmp = new XMPMeta( xmpStr );
         xmp.setProperty( XMPConst.NS_CAMERA_RAW, "Exposure", Number(expose) );
         file.open('w');
         file.encoding = "UTF8";
         file.lineFeed = "unix";
         file.write( xmp.serialize() );
         file.close();

  • How to delete the members in one dimension use the maxl script

    i have question that i want to delete the members in one dimension useing the maxl script, but i do not know how to do it. can the maxl delete the members in one dimension? if can, please provide an sample script, thank you so mcuh.

    MaxL does not have commands to alter an outline directly, except the reset command which can delete all dimensions but not members selectively. The best you could do would be to run a rules file (import dimensions) using a file that contains the members you want to keepload rule for the dimension. As typical the warning is to test this first before you do it on a production database

  • Unable to capture the adf table column sort icons using open script tool

    Hi All,
    I am new to OATS and I am trying to create script for testing ADF application using open script tool. I face issues in recording two events.
    1. I am unable to record the event of clicking adf table column sort icons that exist on the column header. I tried to use the capture tool, but that couldn't help me.
    2. The second issue is I am unable to capture the panel header text. The component can be identified but I was not able to identify the supporting attribute for the header text.

    Hi keerthi,
    1. I have pasted the code for the first issue
    web
                             .button(
                                       122,
                                       "/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
                             .click();
                        adf
                        .table(
                                  "/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
                        .columnSort("Ascending", "Name" );
         }

  • If statement in Custom Calculation Script

    I have 16 fields and if even one of them ="1" I have to list it in another field.  I do not want to count or sum.  If one of those fields has a 1 in it I just want the other field to display Y and if none have a 1 I want that field to display N.
    Please help.
    Thank you in advance~mjc

    You need to write a compound logical statement to evaluate all of the values and that statement needs to evaluate to true or false.
    Do you know how to write JavaScript?
    Do you know how to enter JavaScript calculations into a form field?
    For custom calculation of the text field I could write something like:
    // define an array of the field names to check
    var aNames = new Array("Text1", "Text2", "Text3", "Text4",
    "Text5", "Text6", "Text7", "Text8",
    "Text9", "Text10", "Text11", "Text12",
    "Text13", "Text14", "Text15", "Text16");
    // define a logical variable that is true if any field has a value of 1 - default is false or no field has a value of 1
    var bMatch = false;
    // value for text field
    var TextValue = 0;
    // logical value of field being equal to 1 test
    var FieldIs1 = false;
    // loop through all the fields and test the fields value
    for(i = 0; i < aNames.length; i++) {
    // logically OR the result of field i value equal to true with bMatch
    // get the value of field
    TextValue = this.getField( aNames[i] ).value;
    // test the value of the field
    FieldIs1 = Number(TextValue) == 1
    // logically OR the 2 values
    bMatch = FieldIs1 | bMatch;
    } // end field processing
    // set the field value
    if(bMatch == true) {
    event.value = "Y";
    } else {
    event.value = "N";
    You will need to change the field names to match your fields. You can add more field name or remove field names as needed and the script will adjust for the number of field names.

  • If Statement in SAP Scripts

    Hi All,
    I have written the below If statement in  SAP scripts but when i execute the same the controll doent check the second line entries. If firtst line doesnot satisfy it goes to the else part. Kindly suggest what is wrong in this..
    /:           IF &T156T-BWART& = '321' OR &T156T-BWART& = '322' OR
    /:           &T156T-BWART& = '349' OR &T156T-BWART& = '350' OR
    /:           &T156T-BWART& = '312' OR &T156T-BWART& = '326' OR
    /:           &T156T-BWART& = '343' OR &T156T-BWART& = '344'.
    /:           ELSE
    /:           ENDIF.

    Hi neha,
    Try to use the '/E' fo rnext line
    /E->Extended line
    Here is a code:
    /: IF &T156T-BWART& = '321' OR &T156T-BWART& = '322' OR
    /E  &T156T-BWART& = '349' OR &T156T-BWART& = '350' OR
    /E  &T156T-BWART& = '312' OR &T156T-BWART& = '326' OR
    /E &T156T-BWART& = '343' OR &T156T-BWART& = '344'.
    /: ELSE
    /: ENDIF.
    Hope this helps you.
    Regards,
    Rajani

  • Installation Problem on 11g, RHEL 5 - Unable to generate temporary script

    Hello all,
    This is for the first time i am encountering this kind of error on 11g. Half way through installation i get this error.
    All parameters set correct, used the official installation technique (works fine previously), except for this time i am getting a weird error, which does not allow me to continue with the installation.
    Please help.
    Environment
    Oracle 11g
    RHEL 5
    Error on GUI -
    OUI-10053: Unable to generate temporary script: {0}. Unable to continue install
    Error on command prompt -
    OUI-10053:Unable to generate temporary script: /u01/app/oraInventory/orainstRoot.sh. Unable to continue install.
    Help appreciated.
    Thanks

    Hi Monu Koshy
    Can you please control the user rights and also the df ?
    ls -al /u01/app/oraInventory/
    df -h /u01/app/oraInventory/
    Regards,
    Hub

  • SAMPLE RECEIVING OPEN INTERFACE SCRIPT(ROI 이용자를 위한 SCRIPT)

    제품: MFG_PO
    작성날짜 : 2006-05-11
    SAMPLE RECEIVING OPEN INTERFACE SCRIPT(ROI 이용자를 위한 SCRIPT)
    ================================================================
    PURPOSE
    Receiving Open Interface(ROI)를 좀더 쉽게 사용할 수 있도록 만들어진
    tool이라고 할 수 있다. 이 script를 이용을 통해 user는 PO no, user id,
    Org id를 입력하면 script는 PO에서 최소한의 data를 가져와 receiving
    transaction을 생성하기 위해 ROI에 data를 입력한다.
    Receiving Transaction Processor는 insert 된 data를 실행한다.
    Explanation
    Instructions:
    1.Script exroi.sql을 local computer에 copy 하거나 sqlplus 환경의 text
    edior에 script 내용을 cut&paste 한다.
    2.사용가능한 PO no, User id, Org id를 결정한다.
    3.sqlplus prompt에서 아래와 같이 입력한다.
    SQL> @ezroi.sql
    4.PO no, User id, Org id를 입력하라는 prompt를 볼 수 있을 것이다.
    5.exroi.sql script를 관련된 PO data를 가져와 rcv_headers_interface 및
    rcv_transactions_interface tables에 insert 한다.
    만일 PO shipment lind이 closed, cancelled, fully received 되었다면
    ROI table에 data를 insert 하지 않는다.
    Note: 이 script가 data를 validate 하진 않으며,ROI API 자체 validation
    이 실행될 뿐이다.
    6.Script가 끝나면 Receiving Transaction Processor를 실행하여 insert 된
    lines을 처리할 수 있다. Transaction Status Summary 화면을 통해 실행된
    line이 pending 인지 error 상태인지 확인할 수 있다.
    Notes:
    1.Org_id parameter 값을 찾는법:
    a) Application에 접속, Help> Diagnostics> Examine으로 이동.
    Block:$Profile$, Field: ORG_ID 를 선택한다.
    b) ORG_ID 값을 note 해 놓고 ORG_ID prompt시 이 값을 입력한다.
    2.User_Name parameter 값을 찾는법:
    a) Application에 접속, Help> Diagnostics> Examine으로 이동.
    Block:$Profile$, Field: USER_NAME 를 선택한다.
    b) USER_NAME 값을 note 해 놓고 USER_NAME prompt시 이 값을 입력한다.
    Example
    "eZROI.sql' script...
    --*** eZROI ***
    --*** by ***
    --*** Preston D. Davenport ***
    --*** Oracle Premium Applications Support ***
    --*** Oracle Worldwide Global Support Services ***
    --*** Date: 23-JUL-2003 - Beta release ***
    --*** Date: 09-SEP-2003 - Rev A Added multi- ***
    --*** shipment line capability ***
    --*** Parameters: ***
    --*** ORG_ID Organization ID ***
    --*** USER_NAME FND User Name ***
    --*** PO_NUMBER Purchase Order Number ***
    --*** This script intended for a standard Purchase ***
    --*** Order document to be inserted into the Oracle ***
    --*** Receiving Open Interface (ROI) via the standard ***
    --*** Oracle open interface api for a simple Receive ***
    --*** transaction. ***
    --*** Note: This script only considers open Purchase ***
    --*** Orders. This script will not allow over- ***
    --*** receipt, cancelled or closed PO's to be ***
    --*** inserted into the ROI and received ***
    CLEAR BUFFER
    SET VERIFY OFF
    SET LINESIZE 140
    SET PAGESIZE 60
    SET ARRAYSIZE 1
    SET SERVEROUTPUT ON SIZE 100000
    SET FEEDBACK OFF
    SET ECHO OFF
    DECLARE
    X_USER_ID NUMBER;
    X_PO_HEADER_ID NUMBER;
    X_VENDOR_ID NUMBER;
    X_SEGMENT1 NUMBER;
    X_ORG_ID NUMBER;
    X_LINE_NUM NUMBER;
    BEGIN
    DBMS_OUTPUT.PUT_LINE('***ezROI RCV API Insert Script***');
    SELECT PO_HEADER_ID , VENDOR_ID , SEGMENT1 , ORG_ID
    INTO X_PO_HEADER_ID , X_VENDOR_ID , X_SEGMENT1 , X_ORG_ID
    FROM PO_HEADERS_ALL
    WHERE SEGMENT1 = '&PO_NUMBER'
    AND ORG_ID = &ORG_ID;
    SELECT USER_ID INTO X_USER_ID
    FROM FND_USER
    WHERE USER_NAME = UPPER('&USER_NAME');
    INSERT INTO RCV_HEADERS_INTERFACE
    HEADER_INTERFACE_ID ,
    GROUP_ID ,
    PROCESSING_STATUS_CODE ,
    RECEIPT_SOURCE_CODE ,
    TRANSACTION_TYPE ,
    LAST_UPDATE_DATE ,
    LAST_UPDATED_BY ,
    LAST_UPDATE_LOGIN ,
    VENDOR_ID ,
    EXPECTED_RECEIPT_DATE ,
    VALIDATION_FLAG
    SELECT
    RCV_HEADERS_INTERFACE_S.NEXTVAL ,
    RCV_INTERFACE_GROUPS_S.NEXTVAL ,
    'PENDING' ,
    'VENDOR' ,
    'NEW' ,
    SYSDATE ,
    X_USER_ID ,
    0 ,
    X_VENDOR_ID ,
    SYSDATE ,
    'Y'
    FROM DUAL;
    DECLARE
    CURSOR PO_LINE IS
    SELECT PL.ITEM_ID , PL.PO_LINE_ID , PL.LINE_NUM ,
    PLL.QUANTITY , PL.UNIT_MEAS_LOOKUP_CODE ,
    MP.ORGANIZATION_CODE , PLL.LINE_LOCATION_ID ,
    PLL.CLOSED_CODE , PLL.QUANTITY_RECEIVED ,
    PLL.CANCEL_FLAG, PLL.SHIPMENT_NUM
    FROM PO_LINES_ALL PL ,
    PO_LINE_LOCATIONS_ALL PLL ,
    MTL_PARAMETERS MP
    WHERE PL.PO_HEADER_ID = X_PO_HEADER_ID
    AND PL.PO_LINE_ID = PLL.PO_LINE_ID
    AND PLL.SHIP_TO_ORGANIZATION_ID = MP.ORGANIZATION_ID;
    BEGIN
    FOR CURSOR1 IN PO_LINE LOOP
    IF CURSOR1.CLOSED_CODE IN ('APPROVED','OPEN')
    AND CURSOR1.QUANTITY_RECEIVED < CURSOR1.QUANTITY
    AND NVL(CURSOR1.CANCEL_FLAG,'N') = 'N'
    THEN
    INSERT INTO RCV_TRANSACTIONS_INTERFACE
    INTERFACE_TRANSACTION_ID ,
    GROUP_ID ,
    LAST_UPDATE_DATE ,
    LAST_UPDATED_BY ,
    CREATION_DATE ,
    CREATED_BY ,
    LAST_UPDATE_LOGIN ,
    TRANSACTION_TYPE ,
    TRANSACTION_DATE ,
    PROCESSING_STATUS_CODE ,
    PROCESSING_MODE_CODE ,
    TRANSACTION_STATUS_CODE ,
    PO_LINE_ID ,
    ITEM_ID ,
    QUANTITY ,
    UNIT_OF_MEASURE ,
    PO_LINE_LOCATION_ID ,
    AUTO_TRANSACT_CODE ,
    RECEIPT_SOURCE_CODE ,
    TO_ORGANIZATION_CODE ,
    SOURCE_DOCUMENT_CODE ,
    DOCUMENT_NUM ,
    HEADER_INTERFACE_ID ,
    VALIDATION_FLAG
    SELECT
    RCV_TRANSACTIONS_INTERFACE_S.NEXTVAL ,
    RCV_INTERFACE_GROUPS_S.CURRVAL ,
    SYSDATE ,
    X_USER_ID ,
    SYSDATE ,
    X_USER_ID ,
    0 ,
    'RECEIVE' ,
    SYSDATE ,
    'PENDING' ,
    'BATCH' ,
    'PENDING' ,
    CURSOR1.PO_LINE_ID ,
    CURSOR1.ITEM_ID ,
    CURSOR1.QUANTITY ,
    CURSOR1.UNIT_MEAS_LOOKUP_CODE ,
    CURSOR1.LINE_LOCATION_ID ,
    'RECEIVE' ,
    'VENDOR' ,
    CURSOR1.ORGANIZATION_CODE ,
    'PO' ,
    X_SEGMENT1 ,
    RCV_HEADERS_INTERFACE_S.CURRVAL ,
    'Y'
    FROM DUAL;
    DBMS_OUTPUT.PUT_LINE('PO line: '||CURSOR1.LINE_NUM||' Shipment: '||CURSOR1.SHIPMENT_NUM||' has been inserted into ROI.');
    ELSE
    DBMS_OUTPUT.PUT_LINE('PO line '||CURSOR1.LINE_NUM||' is either closed, cancelled, received.');
    END IF;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE('*** ezROI COMPLETE - End ***');
    END;
    COMMIT;
    END;
    SET VERIFY ON
    Reference Documents
    Note 245334.1

    I have the same problem on ESXI 5.5 for over a month now, tried the patches, tried the LTS kernel which others say results in an immediate result without patches, nothing seems to work and nobody seems to be able to offer a solution.
    Did you make any progress ??
    Error! Build of vmblock.ko failed for: 3.10.25-1-lts (x86_64)
    Consult the make.log in the build directory
    /var/lib/dkms/open-vm-tools/2013.09.16/build/ for more information.
    make[2]: *** No rule to make target '/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock/linux/inode', needed by '/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock/vmblock.o'. Stop.
    Makefile:1224: recipe for target '_module_/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock' failed
    make[1]: *** [_module_/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock] Error 2
    make[1]: Leaving directory '/usr/src/linux-3.10.25-1-lts'
    Makefile:120: recipe for target 'vmblock.ko' failed
    Last edited by crankshaft (2014-01-10 11:32:32)

  • Pluginspage is not working in embed script in firefox 36 version. Actually wanna downlaod jre 1.8 . It was working on firefox 22 version. Please suggest

    <pre><nowiki>function createEmbed(divID, context, locale, server,client)
    var d = document.getElementById(divID);
    d.innerHTML = '<EMBED type="application/x-java-applet;version=1.8" CODE="com.cybertrust.webrao.WebRAOApplet.class"'+
    'JAVA_CODEBASE="'+context+'" '+
    'ARCHIVE="WebRAO.jar" '+
    'NAME="WebRAOApplet" '+
    'MAYSCRIPT="true" '+
    'pluginspage="http://javadl.sun.com/webapps/download/GetFile/1.8.0_31-b13/windows-i586/xpiinstall.exe"'+
    'L="'+locale+'" ' +
    'PinTimeout="'+server+'"'+
    'ClientTimeout="'+client+'"'+
    'separate_jvm="true"'+
    'java_version="1.8.0_31" />';
    }</nowiki></pre>
    We are using the above script. Defined the application/x-java-applet;version=1.8 So. as per the oracle documentation, Firefox has to check whether java version 1.8 or above is available and then run the applet thereby opening the run window and finally the applet window has to open. So the expectation is if 1.8 jre is not available it has to trigger the pluginspage attribute thereby redirecting to the jre autodownload url mentioned in pluginspage. This code use to work for firefox 21. Not sure why it will not work with any of the versions above 21. Right now we are trying with firefox 36. The same code works with IE 11 also. Please suggest is there any solution for the same.

    There are some updates happening to [https://www.mozilla.org/en-US/plugincheck/]
    However to further investigate I would suggest troubleshooting the installation of Java:
    *[http://kb.mozillazine.org/Java#Java_Deployment_Toolkit_plugin]
    *[https://support.mozilla.org/en-US/kb/troubleshoot-issues-with-plugins-fix-problems]
    Or also checking with Mozillazine or stackoverflow.com for compatibility and development troubleshooting is a good place to also look.

  • Questions on scripts, tables & transfer objects between clients.

    1. In script, how to use the same print program for two different layouts? with procedure.!
    2. Why cant sapscripts be client independent.?
    3. Want to maintain a table in dev server and if i update the data, it should simultanously update in Quality and Production servers. How? please explain in details.
    4. How to transfer object between clients.? explain.
    Points will be promptly rewarded for HELPFULL answers.!

    Hi!
    3. With SE01, you can create a transport request for all table entries.
    SE01 - Create button - Workbench request - Give description and save
    Select the created request and click on Display object list.
    Click on Display - Change button
    Insert line button
    ProgID: R3TR
    Object: TABU
    Object name: Z_YOUR_TABLE
    Double click on the table name
    Insert line
    Key: *
    Save everything
    Release the transport in SE10 transaction and transport with STMS transaction.
    Regards
    Tamá

  • Need scripting help to open and save 250 MSWord files

    I'm clueless about programming and I have 250 Word files that need to be saved down as Word 5.1. I briefly tried to learn Word Macros, AppleScript, Automator, with no luck so far.
    What's the best software to use for this and how do I do it? Is there already a script somewhere that I can download?
    Thanks!

    I'm clueless about programming and I have 250 Word files that need to be saved down as Word 5.1. I briefly tried to learn Word Macros, AppleScript, Automator, with no luck so far.
    What's the best software to use for this and how do I do it? Is there already a script somewhere that I can download?
    Thanks!

  • TS2570 Still cant access my computer, followed instructions to perform a safe boot and last line of script it shows: BootCacheControl: Unable to open /Var/db/BootCache.playlist:2 No such file or directory. Any idea?

    Brand new Mac Book Pro
    Purchased in Mexico's Department store Liverpool on June 20th 2012
    Purchased Memory upgade to 8Gb, on june 27th, at Apple Store Memorial City, Houston
    Upgraded memory from 4Gb to 8Gb on June 28th.
    Tried to write on my external HD (previously written on a windows based PC) with no success.
    Upon reccomendation from a Mac assistant, copied all my external HD contents into my Mac Hard drive.
    Then formatted my external HD and copied back all my information to it.
    deleted all the  information from my MacBook Pro HD.
    Attempted to repeat the same operation with another external HD, but got a message saying there was not enough epace on the computer HD (even though I have a 750Gb Hard Drive.
    Looked in the trash bin and there it was, all the information previously deleted..
    Could not empty the trash bin, although I got a message asking me to safely delete all the information from the trash bin,
    Could not get enough space released, after several attpempts the trash bin was finally emptied.
    All happy getting acquainted with my new MacBook Pro. Two days later, got a gray screen and not able to start the computer.
    Looking in to Mac support I found article http://support.apple.com/kb/TS2570 and followed instructions to perform a safe boot:
    "Perform a Safe Boot
    Simply performing the Safe Boot may resolve this issue.
    Shut down your Mac. If necessary, hold your Mac's power button for several seconds to force it to power down.
    Start your Mac, then immediately hold the Shift key. This performs a Safe Boot. Advanced tip: If you want to
    see the status of a Safe Boot as it progresses, you can hold Shift-Command-V during start up (instead of just Shift).
    Note: A Safe Boot takes longer than a typical start up because it includes a disk check and other operations.
    The following is the script that appears on the screen upon safe boot. and halt after the last line.
    AppleACPICPU:Processor Id=6 LocalAplicId=255 Disabled
    AppleACPICPU:Processor Id=7 LocalAplicId=255 Disabled
    AppleACPICPU:Processor Id=8 LocalAplicId=255 Disabled
    calling mpo_policy_init for TMSafetyNet
    Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    calling mpo_policy_init for Sandbox
    Security policy loaded: Seatbelt sandbox policy (Sandbox)
    calling mpo_policy_init for Quarantine
    Security policy loaded: Quarantine Policy (Quarantine)
    Copyright (c) 1982, 1986, 1989, 1991, 1993
            The Regents of the University of California. All Rights Reserved.
    MAC Framework Succesfully initializad
    using 16384 buffer headers and 10240 cluster IO buffer headers
    IOAPIC: Version 0x20 Vextors 64:87
    ACPI: System State [SO S3 S4 S5] (S3)
    PFM64 (36cpu) 0xf10000000, 0xf0000000
    Aplconsole relocated to 0xf1000000
    PCI configuration changed (bridge=16 device=4 cardbus=0)
    [ PCI configuration end, bridges 12 devices 16 ]
    Firewire (OHCI) Lucent ID 5901 built-in now active, GUID 3c0754fffe9b2aa2; max speed s800.
    Pthread support ABORTS when sync kernel primitives misused
    com.apple.AppleFSCompressionTypeZlib kmod start
    com.apple.AppleFSCompressionTypeDataless kmod start
    com.apple.AppleFSCompressionTypeZlib load succeeded
    com.apple.AppleFSCompressionTypeDateless load succeeded
    AppleIntelCPUPowerManagementClient: ready
    BTCOEXIST off
    wl0: Broadcom BCM4331 802.11 Wireless controller
    5.100.98.75
    AppleUSBMultitouchDriver::checkStatus - received Status Packet, Payload 2: device was reinitializad
    rooting via boot-uuid from /chosen: 6E918706-FC0D-37460-A3A0-6268A51DF93B
    Waiting on <dict ID="0"><key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleAPIPCI/SATA@1F,2/AppleIntelPchSe riesAHCI/PRT0@0/AOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlock
    storageevice /IoBlockStorageDriver/TOSHIBA MK7559GSXF Media/IOGUIDPartit
    BSD root: disk0s2, major 14, minor 2
    Kernel is LP64
    com.apple.launchd 1   com.apple.launchd 1   *** launchd[1] has started up. ***
    com.apple.launchd 1   com.apple.launchd 1   *** Verbose boot, will log to /dev/console. ***
    Running fsck on the boot volume...
    ** /dev/rdisk0s2 (NO WRITE)
    ** Root file system
       Executing FSCK_HFS (version diskdev_cmds-540.1~25).
    BootCacheControl: UNable to open /Var/db/BootCache.playlist:2 No such file or directory
    launchctl:Dubious permissions on file (skipping): /Library/LaunchDaemons
    launchctl:Dubious permissions on file (skipping): /System/Library/LaunchDaemons
    Any help or suggestions on what to do next would be welcomed.
    I am in the middle of the Atlantick, stuck with a brand new, non working Apple MacBook Pro.
    Best regards
    Sergio Ramos

    Reinstalling MacOS does NOT fix the problem for me.  I'm still searching a solution !
    Bernard

Maybe you are looking for

  • After installing 10.7.2 from scratch, permission errors remain

    Hey, this is a summery of what have happened: 1. upgraded to Lion from SL (via AppStore) 2. have played with 'get info' > 'apply to all enclosed items'  :/ 3. things have gone messy, slow, permission errors. example: (Warning: SUID file “System/Libra

  • When I save for web and device in Illustrator, I see all the pixels... What is wrong?

    I have created a vector image. When I save for web and device in Illustrator, the image does not come out clear even if I'm saving the image the same size as the artboard. I can see the coutours (pixels)... I've opened the file on another computer an

  • PDF Form to / in Excel

    Hi people, if this queston was asked before i appologize in advance, but i can't seem to find anything on this subject. I created this form in Acrobat Pro and i need the filled in form compatible with excel for my client . . . Does anyone have any de

  • How can i get chat roulette to work?

    When i go on it says this Unable to connect to Chatroulette RTMFP server.
Please configure your firewall or router to allow non-restricted inbound and outbound UDP connections on all ports. im on a macbook air which i just bought and month ago and im

  • How do I create another email address?

    I am a new verizon subscriber. I have account userid, password, and email address.  I want my wife to have a verizon email address.  I think I can create her one.  I have created a sub account for her but I don't see how to get her an email address.