Delta question while using 'RSAX_BIW_GET_DATA_SIMPLE for delta datasource

Hello all,
we have created a custom datasource using FM and we have written it pretty much as a copy of this FM 'RSAX_BIW_GET_DATA_SIMPLE'.
we are using this extractor to extract data from one of the HR infotypes. Now how it works with infotypes is suppose you have one record for date 04/01/2011 to 12/31/999 and when you go in to create a new record it will delimit the previous one, so basically if you create a new record today the first record will go as 04/01/2011 to 07/31/2011 and new record will be 08/01/2011 to 12/31/9999.
Now how I am seeing the delat data comeover is I am getting the new record which is created with new dates of 08/01/2011 to 12/31/9999 but the extractor is not fetching the old/changed record of 04/01/2011 to 07/31/9999 so when i load data in DSO I have two records but both of them end on 12/31/999, I have Valid to as part of data fields in DSO so that it can be overwritten but since I am not getting/collecting the changed record the valid to is not changing.
Has any one faced this before and knows how to fix this?
Thanks in advance for your help.

Hi Cathy
Check the document for combining two date fields to get the timestamp.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30aefb04-7043-2c10-8e92-941536eebc79
Now the two dates that you have to consider is the start date(08/01/2011) and the end date (12/31/2011). As per the document the record will be captured based on the change either in start date or end date or both. This way it should capture both records.
Regards
Lalit
Edited by: Lalit Tyagi on Aug 3, 2011 4:41 AM

Similar Messages

  • Blank spaces while using GUI_DOWNLOAD for Chinese characters

    Hi,
    While using GUI_DOWNLOAD for chinese characters I have used a code page option of 8300 for Chinese.
    The file which is getting downloaded in a notepad has some Chinese characters coming under some headings.
    After that columns other columns are getting shifted towards the right.
    This is working correctly for English characters.
    Can someone please help me.
    Now I am using CL_GUI_FRONT_END_SERVICES=>GUI_DOWNLOAD.
    What special options should I pass now.
    Regards,
    Subhashini

    Hi,
    I only solved my problem by using different code pages 8400 and 8300 for Chinese and Taiwanese characters.
    I fixed the lengths of the fields by converting them to hexadecimal string and back to string using these function modules as below.
    DATA:lv_xstring TYPE xstring,
           lv_temp TYPE string.
      DATA: lv_conv TYPE REF TO cl_abap_conv_in_ce.
      lv_temp = p_name.
      CALL FUNCTION 'HR_KR_STRING_TO_XSTRING'
        EXPORTING
          codepage_to      = p_codepage
          unicode_string   = lv_temp
          out_len          = p_outlen
        IMPORTING
          xstring_stream   = lv_xstring
        EXCEPTIONS
          invalid_codepage = 1
          invalid_string   = 2
          OTHERS           = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
       EXPORTING
         from_codepage = p_codepage
         in_xstring    = lv_xstring
         out_len       = p_outlen
       IMPORTING
         out_string    = p_string.
    Create a Conversion Instance
    lv_conv = cl_abap_conv_in_ce=>create(
    encoding = p_codepage
    input = lv_xstring ).
    v_conv->read( IMPORTING data = p_string ).
    Regards,
    Subhashini

  • Question while using report /SAPAPO/SDORDER_DEL

    Hello all,
    While using Report /SAPAPO/SDORDER_DEL and going through system documentation, I found that:
    "Normally, the order data remains in the database (it is not deleted as in live Cache)."
    From the above statement I am assuming that data gets deleted in live cache on a timely basis, Can someone please let me know how frequently the data gets deleted in live cache?
    Thanks for your time,
    Venkat.

    Hi Venkat,
    There is no specific frequency for data getting deleted from the live cache.
    It depend on the transactions which are taking place in R3 and APO.
    For eg. Sales orders create a requirement in the R3 which is transferred to APO.
    Now when this sales order is delivered, the requirements gets deleted from R3 and similarly from APO livecache. But this information does not get deleted from the APO database tables.
    So this report is used to delete R3 document data that is no longer required in APO.
    Cleaning of the database tables in APO leads to better performance.
    So as a best practice, this report should be scheduled to run weekly.
    Regards,
    Asheesh Gupta
    Message was edited by:
            asheesh gupta

  • Question of using Struts for the J2EE pattern

    I am now using Struts for the development. I have 3 questions about J2EE
    pattern by the use of Struts:
    1) How can I use Struts to create the Front Controller? In the book
    descibing Front Controller, it is a servlet file which receives the request
    and then dispatches to the appropriate view according to the request.
    However, in using Struts, should I use the same way? However, I found that
    in using Struts, I can call the controller class which subclass
    ActionServlet, all the views forwarded are declared in the
    struts-config.xml. Am I right in this method?
    2) In the project, there is a Front Controller which dispatches the request
    to the appropriate view (jsp file). Of course, I use Struts to do this.
    However, I expect that the user is impossible for going to the view (jsp
    page) directly by typing the address of the jsp file. I hope that the user
    can go to the view through the controller only. How can I do this?
    3) There is a problem by using browser - when a user browses a site, he can
    press the 'back' button to the previous page, and then click the 'forward'
    button also. How can I prevent this by using Struts? I found that in some
    sites, when the user clicks the 'back' button, an error page displays. How
    can I do this? Thanks!
    Many Thanks!
    Stephen

    I'll take a stab at number 2 and number 3.......
    2) You could have the controller object place a "flag" in the request that is dispatched to the JSP. Make the JSP check for that flag to ensure that this request came from the controller object. If the request comes from anywhere other than the controlle object, you can display an error page, or you could redirect them back to the controller. You could also use the HTTPSessionObject to place flags for users and have the JSP check there.
    3) Keep a log of the user's activities in the HTTPSession. Whenever a page is invoked, have it check to see if the user has already been here, and if it is appropriate for the user to be here again.
    Hope this helps!!
    I'm not really a java programmer, I just play one on TV.

  • Getting outOfMemory while using Xpath for 6MB file

    Hi ,
    Requirement:
    I have thousands of xml files of variable size (mostly around 5MB), Total size is around 20GB .The structure of xml content is as follows.
    filename: xaaaa
    <file>
    <page>
    <title>AmericanSamoa</title>
    <id>6</id>
    <revision>
    <id>133452270</id>
    <timestamp>2007-05-25T17:12:06Z</timestamp>
    <contributor>
    <username>Gurch</username>
    <id>241822</id>
    </contributor>
    <minor />
    <comment>Revert edit(s) by [[Special:Contributions/Ngaiklin|Ngaiklin]] to last version by [[Special:Contributions/Docu|Docu]]</comment>
    <text xml:space="preserve">#REDIRECT [[American Samoa]]{{R from CamelCase}}</text>
    </revision>
    </page>
    My task is to retrieve the ID , filename in which it exists and the position of node in the page, and i have to write it to a file.
    ex: 6:xaaaa:1
    My approach:
    I am using Xpath for this. The code is as follows.
    */*XPathReader.java*/*
    package preprocess;
    import java.io.IOException;
    import javax.xml.XMLConstants;
    import javax.xml.namespace.QName;
    import javax.xml.parsers.*;
    import javax.xml.xpath.*;
    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    public class XPathReader {
    private String xmlFile;
    private Document xmlDocument;
    private XPath xPath;
    public XPathReader(String xmlFile) {
    this.xmlFile = xmlFile;
    initObjects();
    private void initObjects(){       
    try {
    xmlDocument = DocumentBuilderFactory.
                   newInstance().newDocumentBuilder().
                   parse(xmlFile);
    xPath = XPathFactory.newInstance().
                   newXPath();
    } catch (IOException ex) {
    ex.printStackTrace();
    } catch (SAXException ex) {
    ex.printStackTrace();
    } catch (ParserConfigurationException ex) {
    ex.printStackTrace();
    public Object read(String expression,
                   QName returnType){
    try {
    XPathExpression xPathExpression =
                   xPath.compile(expression);
    return xPathExpression.evaluate
                   (xmlDocument, returnType);
    } catch (XPathExpressionException ex) {
    ex.printStackTrace();
    return null;
    XpathReaderTest.java
    /* it takes directory name as argument, this directory contains xml file*/
    package preprocess;
    import java.io.*;
    import javax.xml.xpath.XPathConstants;
    import org.w3c.dom.*;
    public class XPathReaderTest {
    public XPathReaderTest() {
    public static void main(String[] args) throws IOException{
         if (args.length <= 0) {
              System.out.println(
              "Usage: java PreProcess dir_name"
              return;
              String dir=null;
              if (args.length >= 1) dir = args[0];
              int indexno=0;
              File directory = new File(dir);
              File[] files = directory.listFiles();
              FileWriter fstream = new FileWriter("index"+indexno+".txt");
         BufferedWriter out = new BufferedWriter(fstream);
         XPathReaderTest xt=new XPathReaderTest();
              /*for (int index = 0; index < files.length; index++)
                   System.out.println(files[index].toString());
              for (int index = 0,i=1; index < files.length; index++)
                   /*if(index/100>indexno){
                        indexno++;
                        out.close();
                        fstream = new FileWriter("index"+indexno+".txt");
                   out = new BufferedWriter(fstream);
                   xt.extract(files[index].toString(),index,i,out);
                   System.gc();
              out.close();
    public void extract(String completepath,int index,int i,BufferedWriter out)
    throws IOException
         System.out.println(index+" "+completepath);
              XPathReader reader = new XPathReader(completepath);
              String separator = File.separator;
              int pos = completepath.lastIndexOf(separator);
              String temp_fname=completepath.substring(0,pos);
              pos=temp_fname.lastIndexOf(separator);
              String f_name= completepath.substring(pos+1);
              i=1;
              while(true)
              String expression = "/file/page["+i+"]/id";
              String id_value= (String) reader.read(expression, XPathConstants.STRING);
              if(id_value=="")
                   break;
              out.write( id_value + ":"+ f_name+ ":"+i+ "\n" );
    i++;
    Problem:
    This code works fine for xml files < 6MB, but its giving outOfMemory for 6MB and above file.
    I have tried with -Xms256m -Xmx512m option.
    Please suggest the work around , or any modification to code that will resolve my problem.
    I am new to java world , so problem root cause will be very helpful for me.
    Thanks

    Hi ,
    Requirement:
    I have thousands of xml files of variable size (mostly around 5MB), Total size is around 20GB .The structure of xml content is as follows.
    /*filename: xaaaa*/
    <file>
    <page>
        <title>AmericanSamoa</title>
        <id>6</id>
        <revision>
          <id>133452270</id>
          <timestamp>2007-05-25T17:12:06Z</timestamp>
          <contributor>
            <username>Gurch</username>
            <id>241822</id>
          </contributor>
          <minor />
          <comment>Revert edit(s) by [[Special:Contributions/Ngaiklin|Ngaiklin]] to last version by [[Special:Contributions/Docu|Docu]]</comment>
          <text xml:space="preserve">#REDIRECT [[American Samoa]]{{R from CamelCase}}</text>
        </revision>
      </page>
    </file>My task is to retrieve the ID , filename in which it exists and the position of node in the page, and i have to write it to a file.
    ex: 6:xaaaa:1
    My approach:
    I am using Xpath for this. The code is as follows.
    */*XPathReader.java*/*
    package preprocess;
    import java.io.IOException;
    import javax.xml.XMLConstants;
    import javax.xml.namespace.QName;
    import javax.xml.parsers.*;
    import javax.xml.xpath.*;
    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    public class XPathReader {
        private String xmlFile;
        private Document xmlDocument;
        private XPath xPath;
        public XPathReader(String xmlFile) {
            this.xmlFile = xmlFile;
            initObjects();
        private void initObjects(){       
            try {
                xmlDocument = DocumentBuilderFactory.
                   newInstance().newDocumentBuilder().
                   parse(xmlFile);           
                xPath =  XPathFactory.newInstance().
                   newXPath();
            } catch (IOException ex) {
                ex.printStackTrace();
            } catch (SAXException ex) {
                ex.printStackTrace();
            } catch (ParserConfigurationException ex) {
                ex.printStackTrace();
        public Object read(String expression,
                   QName returnType){
            try {
                XPathExpression xPathExpression =
                   xPath.compile(expression);
                return xPathExpression.evaluate
                   (xmlDocument, returnType);
            } catch (XPathExpressionException ex) {
                ex.printStackTrace();
                return null;
    XpathReaderTest.java
    /* *it takes directory name as argument, this directory contains xml file**/
    package preprocess;
    import java.io.*;
    import javax.xml.xpath.XPathConstants;
    import org.w3c.dom.*;
    public class XPathReaderTest {
        public XPathReaderTest() {
        public static void main(String[] args) throws IOException{
             if (args.length <= 0) {
                    System.out.println(
                     "Usage: java PreProcess dir_name"
                    return;
              String dir=null;
              if (args.length >= 1) dir = args[0];
              int indexno=0;
              File directory = new File(dir); 
              File[] files = directory.listFiles();
              FileWriter fstream = new FileWriter("index"+indexno+".txt");
             BufferedWriter out = new BufferedWriter(fstream);
             XPathReaderTest xt=new XPathReaderTest();
              /*for (int index = 0; index < files.length; index++)
                   System.out.println(files[index].toString()); 
              for (int index = 0,i=1; index < files.length; index++)
                   /*if(index/100>indexno){
                        indexno++;
                        out.close();
                        fstream = new FileWriter("index"+indexno+".txt");
                       out = new BufferedWriter(fstream);
                   xt.extract(files[index].toString(),index,i,out);
                   System.gc();
              out.close();
        public void extract(String completepath,int index,int i,BufferedWriter out)
        throws IOException
             System.out.println(index+" "+completepath);
              XPathReader reader = new XPathReader(completepath);
              String separator = File.separator;
              int pos = completepath.lastIndexOf(separator);
              String temp_fname=completepath.substring(0,pos);
              pos=temp_fname.lastIndexOf(separator);
              String f_name= completepath.substring(pos+1);
              i=1;
              while(true)
              String expression = "/file/page["+i+"]/id";
              String id_value= (String) reader.read(expression, XPathConstants.STRING);
              if(id_value=="")
                   break;
              out.write( id_value + ":"+ f_name+ ":"+i+ "\n" );
            i++;
    }Problem:
    This code works fine for xml files < 6MB, but its giving outOfMemory for 6MB and above file.
    I have tried with -Xms256m -Xmx512m option.
    Please suggest the work around , or any modification to code that will resolve my problem.
    I am new to java world , so problem root cause will be very helpful for me.
    Thanks

  • Restore factory settings while using Mail for Exch...

    To Whom It May Concern:
    I would like to restore my factory settings but I am concerned that my calendar, contacts and email will be removed from the server because I am using Mail for Exchange.  Is there a safe way to do it?
    Regards,

    djdvalentine wrote:
    To Whom It May Concern:
    I would like to restore my factory settings but I am concerned that my calendar, contacts and email will be removed from the server because I am using Mail for Exchange.  Is there a safe way to do it?
    Regards,
    Resetting the phone will remove MfE mailbox from the phone. When you recreate the account, you can choose what gets synced in the initial sync and which part is authoritative, device or server.
    Help spreading the knowledge — If you find my answer useful, please mark your question as Solved by selecting Accept this solution from the Options menu. Thank you!

  • Passing a login and password while using JNDI  for RT jobs

    Why can we not pass a user name and password when using JNDI for Real Time jobs?  Can it be passed in the URL line or somewhere else that I'm missing?  This is frustrating as we actually have to connect using Anonymous with no password which opens up so many security holes that we simply can't go to production with this.  Please advise.

    you can set the login using the JNDI properties file and create the file in the classpath, but again the password will be in plain text
    please file a case with Support I think this can be added to JMS adapter operation (user credentials)

  • Net Price showing zero while using BAPI_PO_CREATE1 for me21n

    Dear All,
    I am using BAPI_PO_CREATE1 for ME21N. The problem is, after execution of the program the error msg it shows-
    No instance of object type PurchaseOrder has been created. External reference:
    Purchase order still contains faulty items
    Net price must be greater than 0
    The values are coming from excel file.
    Please tell me where I am doing wrong.
    With regards,
    Rosaline.

    Hi,
    Symptom
    You create a purchase order with BAPI_PO_CREATE1 or you add an item to an existing purchase order with BAPI_PO_CHANGE. You assign a value in field POITEM-NET_PRICE. However, this value is not transferred. If it was not possible for you to determine any conditions, the system generated the error message 06218 'Net price must be greater than 0'.
    Other terms
    BAPI_PO_CREATE1, BAPI_PO_CHANGE, price, net price, gross price, conditions, price determination, condition type, 06218, EKPO-NETPR, NETPR, POITEM-NET_PRICE, NET_PRICE, PO_PRICE, BAPI_PO_PRICE, BUS2012, PurchaseOrder.CreateFromData1, CreateFromData1, PurchaeOrder.Change
    Reason and Prerequisites
    This function has not been available up to now. You could also assign conditions via the condition tables.
    Read also Notes 399791, 428621, 529287, 578253 and 539950 for this.
    Solution
    The present note adds field PO_PRICE to table POITEM. PO_PRICE can have the values ' ', '1' or '2' with the following meaning:
        PO_PRICE = ' ': The price determination is carried out as before.
        PO_PRICE = '1': The value assigned in field NET_PRICE is transferred as a gross price, that is it is set in the condition type that is defined as a base price in the calculation schema. All other condition types remain unchanged. No conditions are copied from the last document.
        PO_PRICE = '2': The value assigned in field NET_PRICE is transferred as a net price, that is it is set in the condition type that is defined as base price in the calculation scheme. All other condition types are deleted.
    Note the following
    The following restrictions apply to field PO_PRICE:
        If you assign conditions via the BAPI interface, these are always transferred. This is carried out independently of the value that you assign in field PO_PRICE.
        If you add a new item to a purchase order with BAPI_PO_CHANGE, it does not suffice to fill field POITEM-NET_PRICE on item level. The corresponding currency must be specified explicitly on header level.
        You can only use field PO_PRICE during the creation of a purchase order item. If you want to change the price of an already existing item, you can only do this via the conditions.
        If you fill field POITEM-PO_PRICE, you must enter an 'X' in POITEMX-PO_PRICE so that the value is transferred.
    Correction
    The correction is made available via R/3 support package. If you want to implement the note manually, proceed as follows:
        1. Make sure that your system contains Notes 494759, 552189 and 578253.
        2. Create data type BAPI_PO_PRICE with the following attributes:
                        Short text:
                           Price transfer indicator: 1  = gross, 2 = net
                        Package: ME
                        Domain: BPUEB
        3. Extend structure BAPIMEPOITEM (directly after NO_ROUNDING):
                        Component: PO_PRICE
                        Component type: BAPI_PO_PRICE
        4. Extend structure BAPIMEPOITEMX (directly after NO_ROUNDING):
                        Component: PO_PRICE
                        Component type: BAPIUPDATE
        5. Extend structure MEPOITEM_DATA (directly after NO_ROUNDING):
                        Component: PO_PRICE
                        Component type: BAPI_PO_PRICE
        6. Extend structure MEPOITEM_DATAX (directly after NO_ROUNDING):
                        Component: PO_PRICE
                        Component type: BAPIUPDATE
        7. Implement the correction instructions in your system.
    regards,
    Ravi
    Edited by: Parupelly on Dec 14, 2011 1:30 PM

  • Question - applet using JMF for playing .mov

    I develop an applet using JMF for playing .mov. It works fine, and the applet starts normally. Even my applet works fine from other computers in our LAN (The applet runs ok without JMF). But only on one PC it doesn't work and I get the following message
    Failed to configure: com.sun.media.PlaybackEngine@a7c45e
    Bad header in the media: moov atom not present
    Error: Unable to realize com.sun.media.PlaybackEngine@a7c45e
    FATAL ERROR: Failed to realize: failed to parse the input media.
    Exception in thread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" java.lang.Error: Failed to realize: failed to parse the input media.
    at PlayerApplet.Fatal(PlayerApplet.java:201)
    at PlayerApplet.controllerUpdate(PlayerApplet.java:191)
    at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
    at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
    at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
    at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)
    My html:
    <html>
    <head><title>PlayerApplet</title></head>
    <body>
    <applet code="PlayerApplet.class" archive="fobs4jmf.jar, customizer.jar, jmf.jar, mp3plugin.jar, sound.jar, multiplayer.jar, mediaplayer.jar" width=640 height=510>
    <param name=file value="safexmas.mov">
    </applet>
    </body>
    </html>
    Anyone can help me?
    Thanks for your time

    It started to work but I had to install fobs4jmf on the client computer.
    And put .dll to windows/system33 directory. But how can I play video using applet in browser without installing any software on the client machine?

  • Error while using RFBIBL00 for legacy master upload

    HI All,
    we are encountering following error in step 13 of LSMW using  RFBIBL00 for AP open item upload for document type RE
    Anybody knows what might be probable reason for it .
    Key entries are not defined ( notify system support )
    The error occurred in document 1 in session 1

    Hi Amogh,
    It looks like the error in the uploaded data. Check if the required enties are available in the upload file (e.g. In T. code OBA7, check if the fields are marked as required and they are missing in the file) or cost object is missing for a Gl acocunt line (defined as cost element) etc.
    Additionally, also check if there are some entries in the file which are not yet customized in the system.
    These two looks like th emost probable cause for the error.
    BR
    Amitash

  • Question about using numbers for an address spread sheet

    I am using numbers for a mailing address spread sheet. When I try to type in a Massachusetts zip code, once I hit "enter" the cell deletes the zero, which is the first number in the zip code.  How can I change this? Thank you

    to open the cell inspector use the menu item "View > Show Inspector" then select the "cells":

  • What are the advantages of using ENC for a datasource

    Other than eliminating a tight binding between a EJB and a datasource , what are
    the other considerations and/or advantages of using JNDI ENC to define a datasource
    reference vs a direct lookup of a Datasource in the EJB implmentation?
    For example, are their performance advantages by the datasource being cached in
    JNDI ENC?

    Hello Bryan,
    Basically the main advantage is to not have the tight coupling between the EJB
    and the particular JNDI name that it's bounded to. Please refer to a previous
    post where I addressed this issue (perhaps a few days ago on this newsgroup).
    In addition, you will always gain performance improvements by caching the remote/local
    home objects for your EJBs.
    Best regards,
    Ryan LeCompte
    [email protected]
    http://www.louisiana.edu/~rml7669
    "Bryan Boyer" <[email protected]> wrote:
    >
    Other than eliminating a tight binding between a EJB and a datasource
    , what are
    the other considerations and/or advantages of using JNDI ENC to define
    a datasource
    reference vs a direct lookup of a Datasource in the EJB implmentation?
    For example, are their performance advantages by the datasource being
    cached in
    JNDI ENC?

  • While using Status for Object button it is taking more than 15 mins to open

    Hi Gurus,
    We are trying to attach documents to ZBOS & OR types sales documents , while opening the Status for Object button of the sales order it is taking more than 15 mins to open , once it is opened it is working as normal.
    can you please let us know is it the system functionality because of which it is taking so much time to open or the problem  is with  something else.
    please let us also know whether it is  system impacting process.
    We are using 4.6C.
    Thank You,
    Boyeni.

    Hi Syed ,
    Greetings!!!...
    Thank you very much for your Swift response!.
    could you be so kind to let me know The Program that needs to be refreshed.
    Thank You once again for your Assistance.
    Boyeni.

  • Mirroring Disk Drive Question.  Using SVM for Disk Mirroring.

    Hello,
    I am trying to do mirror in solaris 9 using Solaris Volume Manager. I have total 0-7 disks
    4 5 6 7
    0 1 2 3
    Drive 0 and Drive 4 = Boot Drives
    Need to Mirror following drives.
    Drive 1 and Drive 5 = Need to mirror
    Drive 1 was mounted on: /prod1, /prod2, /prod3, /prod4, /prod5.
    Drive 5 was mounted on:/prod16-----/prod20
    Then i have umounted both drives and then using format command to equalize the parititions.
    Then
    I have done following steps.
    metadb -a -f /dev/dsk/c1t1d0s7
    metadb -a -f /dev/dsk/c1t5d0s7
    2)
    metainit -f d100 1 1 c1t1d0s0
    metainit -f d101 1 1 c1t5d0s0
    metainit d0 -m d100
    metattach d0 d101
    3)
    # newfs /dev/md/rdsk/d0
    newfs: /dev/md/rdsk/d0 last mounted as /prod16
    newfs: construct a new file system /dev/md/rdsk/d0: (y/n)? y
    4)
    # mount -F ufs /dev/md/dsk/d0 /prod16
    Now, target 5 is submirror with target 1 mirror. I was wanted to do /prod1 but some reason it showing /prod16. How can i change this to /prod1?
    OR
    2nd question: do i need to mirror each drive vice verse?
    for example:
    metainit -f d102 1 1 c1t5d0s0
    metainit -f d103 1 1 c1t1d0s0
    metainit d1 -m d102
    metattach d1 d103
    Let me know.
    Thanks
    Adeel

    I do it a little differently, as follows, which I gleaned from http://slacksite.com/solaris/disksuite/disksuite.html
    Create state replicas on slices 6 & 7 (any could be used but we usually use 6/7)
    metadb -a -f /dev/dsk/c1t0d0s6
    metadb -a /dev/dsk/c1t0d0s7
    metadb -a -f /dev/dsk/c1t1d0s6
    metadb -a /dev/dsk/c1t1d0s7
    Initialize submirrors for root slice 0 on both drives, and create one-way mirror between metadevice d0 & first sub-mirror
    metainit -f d10 1 1 c1t1d0s0
    metainit -f d20 1 1 c1t1d0s0
    metainit d0 -m d10
    update root entry in /etc/vfstab
    metaroot d0
    Initialize submirrors for swap slice on both drives, and create one-way mirror between metadevice d1 & first sub-mirror
    metainit -f d11 1 1 c1t0d0s1
    metainit -f d21 1 1 c1t1d0s1
    metainit d1 -m d11
    Initialize submirrors for /var slice5 on both drives, and create one-way mirror between metadevice d5 & first sub-mirror.
    metainit -f d15 1 1 c1t0d0s5
    metainit -f d20 1 1 c1t1d0s5
    metainit d5 -m d15
    Edit /etc/vfstab
    add these lines to /etc/vfstab
    /dev/md/dsk/d1 - - swap - no -
    /dev/md/dsk/d5 /dev/md/rdsk/d5 /var ufs 1 no logging
    REBOOT server
    Attach second half of mirrors to allow two drives to synchronize
    metattach d0 d20
    metattach d1 d21
    metattach d2 d25
    I hope this helps.
    Stephanie

  • Question about using onyx for maintenance.....

    after using this app to maintain, clean up, and clear cahes, log files etc, the applications used to open certain files as default was changed and as a result so were their icons...
    when i restarted my mac i noticed that some of my files (mainly .doc) where given the default icon picture instead of the microsoft word icon and i had to re set them all to open as default with microsoft word
    i know this is a result of something ive done in onyx but am unsure which
    any help apprecited, thanks

    Onyx is third-party software. If you need support or questions answered regarding its use you should contact the developer via his/her web site. These Discussions only provide support for Apple products.

Maybe you are looking for

  • [SOLVED] Conky: After 2.6.37 update, conky no longer shows temperature

    Well, the title is quite self-explanatory but I'd also like to add that: I noticed that conky reads correct values and after exactly 3 refreshes it just displays 0, no matter how long is the update interval. /sys/class/hwmon displays correct values,

  • Intelligent Agent Won't Run - Please Help!

    Hello, I have been able to install Oracle 8.0.5 on both Redhat 5.3 and Suse 6.1. Most everything seems to work correctly. I can connect to the databases from client software. But I can't get the Intelligent Agent to run in either case. When I check o

  • N97 Wifi+bluetooth Problems

    i have a 1-2 year old (original) n97 recently the wifi has gotten soooo weak i have to about 500cm close to the router to connect (other phones work perfectly with router) and also the bluetooth wont work anymore when i try to enable bluetooth it say

  • Change the View/Download option in Reader plugin

    I am using the Reader plugin in Firefox.  I made the mistake of checking the "Do this everytime" box when selecting to download a PDF file.  How do I undo this since I do want to have the option to read PDF files in the browser.  I have tried uninsta

  • Change Bex Analyzer Default Font

    Hi - does anyone know a way to change the default font for queries run in Bex Analyzer from Arial 16 to something else/smaller ? Registry entry perhaps ? Thanks