Explain two init variables

Can somebody explain in simple english what exaclty they do/are the following init variables.
DB_FILE_NAME_CONVERT
LOG_FILE_NAME_CONVERT
Thx

Oracle Documentation has them explained in English :)
LOG_FILE_NAME_CONVERT
Creating a Standby Database with a Different Directory Structure

Similar Messages

  • Why there are two init methods?

    I copied this code from netbeans for a JApplet.. and it has two init methods
    One is public void init() that calls another initComponents() method.
    And the initComponents() method has all the components defined in it, and it is private.
    I replaced private with public and changed initComponents to init, and then deleted all the init method, it worked that way.
    But why there two methods when you can put every thing in single init() method?
    The init() method has this code in it:
    public void init() {
            try {
                java.awt.EventQueue.invokeAndWait(new Runnable() {
                    public void run() {
                        initComponents();
            } catch (Exception ex) {
                ex.printStackTrace();
        }

    BDLH:
    WWJD? Probably code in Ruby, but I digress. No, he would define an abstract base for that boilerplate code:
    import java.awt.*;
    import java.lang.reflect.*;
    import javax.swing.*;
    public abstract class AbstractApplet extends JApplet {
         public void init() {
              try {
                   EventQueue.invokeAndWait(new Runnable() {
                        public void run() {
                             initComponents();
              } catch (InterruptedException ex) {
                   ex.printStackTrace();
              } catch (InvocationTargetException ex) {
                   ex.printStackTrace();
         protected abstract void initComponents();
         //ditto: start, stop, distroy
    }

  • Select One Choice attribute' LoV based on two bind variables, best practice

    Hello there,
    I am in the process of learning the ADF 11g, I have following requirement,
    A page must contain a list of school names which is needed to be fetched based on two parameters, the parameters are student information been inserted in the previous page.
    I have defined a read only view "SchoolNamesViewRO", it's query depends on two bind variables :stdDegree and stdCateg.
    added that RO View as a view accessor to the entity to which the name attribute belongs, and then add LoV for the name attribute using the ReadOnly view,
    added the name attribute as Select One Choice to page2,
    and now I need to pass the values of the bind variables of the ReadOnly view,
    the information needed to be passed as the bind variables is inserted in the previous page, I could have the data as bindings attribute values in the page2 definition
    I have implemented the next two appraoches but both resulted in an empty list :
    * added ExecuteWithParams Action to the bindings of the page and then defined an Invoke Action (set refresh condition) in the executable s, set the default values of the parameters to be the attributes values' input value,
    in the trace I code see that the binding fetches correct values as supposed , but the select list appears empty, does the this execution for the query considered to be connected to the list ?
    * added a method to the ReadOnly view Imp java class to set the bind variables, then I define it as a MethodAction in the bindings , and then create an Invoke action for it , also the select is empty,
    if the query been executed with the passed variables, then why the list is empty? is it reading data from another place than the page!
    and what is the best practice to implement that requirement?
    would the solution be : by setting the default value of the bind variables to be some kind of Expression!
    please notice that query execution had the bound variables ( I see in the trace) are set to the correct values.
    would you give some hints or redirect me to a useful link,
    Thanks in advance
    Regards,

    please give me any example using backing bean .for example
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:selectOneChoice label="Label 1" id="soc1" binding="#{Af.l1}"
    autoSubmit="true">
    <af:selectItem label="A" value="1" id="si1"/>
    <af:selectItem label="B" value="2" id="si2"/>
    </af:selectOneChoice>
    <af:selectOneChoice label="Label 2" id="soc2" disabled="#{Af.l1=='2'}"
    partialTriggers="soc1">
    <af:selectItem label="C" value="3" id="si3"/>
    <af:selectItem label="D" value="4" id="si4"/>
    </af:selectOneChoice>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    package a;
    import oracle.adf.view.rich.component.rich.input.RichSelectOneChoice;
    public class A {
    private RichSelectOneChoice l1;
    public A() {
    public void setL1(RichSelectOneChoice l1) {
    this.l1 = l1;
    public RichSelectOneChoice getL1() {
    return l1;
    is there any mistake

  • Variable type exit with two source variables

    I have a case where I should determine a variable (A) value according to two other variables (B) and (C). That is, e.g.
    - IF (B)=x AND (C)=y THEN (A)=z
    - IF (B)=i AND (C)=j THEN (A)=k
    It seems like I cannot call the user exit with more than one exported variable, the standard call below:
    call function m_user_exit
      exporting
        i_area      = m_area
        i_variable  = m_variable
        i_chanm     = l_chanm
        ito_chanm   = mto_chanm
      importing
        eto_charsel = rto_value
    Any suggestions?
    Regards, Aki

    Thanks to everyone especially to Natarajan,
    Both source variables are type exit, so I did the following:
    A-variable was the “standard source”
    B-variable was determined by function call (source below)
    C-variable then determined by combination of A and B
    I added this simple code in the beginning of “your own logic”  and I had source_var_B as a “B-variable”.
    DATA: source_var_B TYPE upc_yto_charsel.
    call function 'ZDETERMINE_B'
      exporting
        i_area      = 'AREA'
        i_variable  = 'VAR_B'
        i_chanm     = 'CHAR_B'
        ito_chanm   = ito_chanm
      importing
        eto_charsel = source_var_B.
    Do you see any risks or inconsistencies or whatever I should take into account?
    Aki

  • I cant add two byte variable

    I want to add two byte variable and store result in a byte variable but there is an error. Pls clarify me.

    And the error is? The first error is
    A.java:1: 'class' or 'interface' expected
    Class AAnd since I believe that that is caused by the OP hurriedly retyping code rather than pasting his real code I am not wanting to waste time guessing what the real problem is.

  • How to swap two string variables without using a 3rd variable?

    How to swap two string variables without using a 3rd variable?
    ex.
    A = "aa"
    B = "bb"
    Result required
    A = "bb"
    B = "aa"
    Thanks

    How to swap two string variables without using a 3rd
    variable?
    Something like this.
    Append A with B (so A equals "aabb")
    Set B equal to a substring of A starting with the first character and ending at A's length minus B's length. (So B equals "aa")
    Set A equal to a substring of A starting from B's length and ending at the end of A. (So A equals "bb")

  • Compare two dynamic variables

    Hello,
    I'm struggeling comparing two variables against each other as seen below. I have some AD-group names in a csv file, and I have a  variable($getGroup) with results from a Get-ADGrup-query.
    I'd like to filter out the groups of the csv-file from the variable, so "$getGroup" in this example should end up empty. 
    In the example below, the return is the two groups, so it doesn't get filtered out. How can I do that?
    Contents of exclude.csv:
    Name,Comment
    "AD,Group1","Some comment"
    "AD*Group2","Some comment"
    $excluded = Import-CSV 'C:\temp\exclude.csv'
    $getGroup = Get-ADGroup -Filter * | Where-Object {$_.Name -like '*,*' -or $_.Name -like '*#*' -or $_.Name -like '*+*' -or $_.Name -like '*"*' -or $_.Name -like '*\*' -or $_.Name -like '*<*' -or $_.Name -like '*>*' -or $_.Name -like '*;*'}
    #At this point $getGroup returns two groups; AD,Group1 and AD*Group2
    $getGroup = $getGroup | Where-Object {$_.Name -notlike $excluded.Name}
    $getGroup

    Hi,
    If you have actual group names in your input CSV, try this:
    $excludedGroups = Import-Csv .\excludeGroups.csv | Select -ExpandProperty Name
    Get-ADGroup -Filter * -SearchBase 'OU=Testing,DC=domain,DC=com' |
    Where { $excludedGroups -notcontains $_.Name }
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • BW 2.0B, info package selection, cant use two system variable for 0CALMONTH

    Hi Experts,
    I am working on BW 2.0B in APO system. There is an info package for which I want to supply two selection value for 0CALMONTH as equal to current month and last month. System variables 0CMONTH (for current month) and 0CMLMON (for last month) are available but I am not able to use them both.
    If I change the variable in one selection, it automatically changes the other one too, making both the selection as same variable.
    Can you suggest any solution/idea?
    Regards,
    Purvang

    any ideas to achieve this?

  • How do i do a forward and reverse sweep two independent variables

    Hi,
      So I was looking through the post on how to do a forward and reverse sweep with a real-time x-y plot. I have a similar situation except that instead of sweeping (forward and reverse) of one variable, but instead two variables (in my case, I call it gate voltage G-S Volt and source-drain voltage S-D Volt). I understand how to do it with one variable as provided in previous posts, but I am caught when I add another variable to reverse sweep. I have attached my vi to this post. Any suggesstions is greatly appreciated. Thank you. Also, a little more details on my plot, I am plotting current vs gate voltage which forward and reverse sweepeing (gate and source-drain voltage)..
    Attachments:
    FET_Isd - Vg measurement_Vg_201.vi ‏45 KB

    jasonct,
    It is very difficult to follow what your code is doing. It violates all of the style guide and good practice recommendation for LabVIEW code.
    The diagram should fit on one screen. SubVIs can help.  Generally dataflow eliminates the need for sequence structures.  Stacked sequence structures in particular obscure the code. Local variables are prone to race conditions, violate dataflow, and are not needed for the uses you are making of them.  Wiring should go right to left, with minimal numbers of bends.   Comments documenting what you are doing are helpful to others looking at your code and to you next month when you wonder why you did it that way.
    Lynn 

  • To use two presentation variables based on the period selection in OBIEE

    Dear All,
    I have period prompt in my report, based on the period prompt selection in my report I need to get the start and end dates of the period and apply in the report filter.
    For e.g. Period Name selected in the prompt is "2010 - Q1" (For this Period, Period Start Date = 01/01/2010 and Period End Date is 30/03/2010, which is not going to be displayed in the prompts).
    How can I get the start and end dates of the period into my report filter. I tried using the presentation variable for the period name, but unable to resolve the requirement.
    Your help is highly appreciated.
    Best Regards,
    Rajesh

    Hi Rajesh,
    Create a report A which will give you the period start date and end date and filter it using the period prompt.
    Then filter the main report using the report A start date and end date, using Filter -> Advanced ->Filter based on results of another request .
    Add the report A in separate section on the dashboard along with main report and hide report A section.
    Thanks,
    Vino

  • How can I format-table with two different variables

    I have a script who's purpose is to go through all the mailboxes in exchange and look for any with SG_ or Group listed in the Full Access Permissions.  The script works though I'm having trouble formatting the data in a way that I can use it in Excel.
    Ultimately I'd like it to report the Name of the mailbox and the name of the entry listed in the Full Access Permissions that has SG_ or Group in the name. Currently the output is the name of the mailbox and then on a separate line the full name of the security
    group.
    I'm trying to have it so that each part is in it's own column. That will make it easy to review in excel.
    $Grabmailbox = Get-Mailbox -Resultsize Unlimited
    foreach ($mailbox in $Grabmailbox){
    $Getpermission = Get-MailboxPermission $mailbox | where { ($_.User -like "corp\SG_*") -or ($_.User -like "corp\*_group") }
    if ($Getpermission -ne $null) {
    echo "$mailbox +  "$Getpermission | FT User |Out-File c:\Script\VerifiedSG.txt -Append
    else{
    echo "$mailbox + No SG detected" | Out-File c:\Script\VerifiedSG.txt -Append

    Hi Yan,
    Thanks for the response but what I am looking for is even simpler than that.  
    The script goes through every mailbox we have. 
    It checks the Full Access Permissions for anything with SG_ or group listed in the Full access permissions.
    It then should write out to a file the name of the mailbox and the entry in the Full access permissions that contains SG_ or _Group
    so something like this:
    Mailbox Name <---New ColumN--->Entry
    Mailbox1<---New ColumN--->SG_Mailbox1
    Ignore the <---New ColumN---> as I simply put that in to emphasize space between the two columns.

  • Compare two complex variables with BPEL ?

    Hi,
    I would like to compare 2 csv files with BPEL, with specific rules. For example, I would like to check that for each row : "Value of Field1 of File1" has less than a 10% difference with "Value of Field1 of File2"
    I can successfully retrieve the content of the files, thanks to the following thread : Help! Three questions about FileAdapater. . Now the files are in 2 variables.
    What is the right method to compare the variables, row by row with this kind of specific validation rules ? Should I handle it with a Java call ? Especially, where should be the loop on rows : in BPEL (if so : how ?) or Java ?
    Regards,
    Alexandre
    Message was edited by:
    Alexandre

    I suggest having a look at the Array sample (orabpel\samples\tutorials\112.Arrays)
    that shows how to loop through an array.
    Whether to do this in BPEL of Java depends on a lot of circumstances, but I suggest giving this a try first.

  • Init variable

    Hi experts!
    I have a web template with a table and a dropdown box to set variable values.
    when I run it, it requires me a value for the query variable. I need set value automaticaly with the current month and year. it´s possible?
    thanks.

    You can create a new variable “zcurperiod” of the type customer exit.
    When creating this, select “can be changed in query navigation”.
    Deselect “ready for input”.
    When you create coding for this in CMOD, you need to get the current period.
    You can do the same for fiscal year, or calendar month year.
    When zcurmonth.
        if i_step = 2.
          clear l_s_range.
          clear h_datum.
          h_datum = sy-datum.
          CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
            EXPORTING
              I_DATE  = h_datum
              I_PERIV = 'Z1'
            IMPORTING
              E_BUPER = h_buper
              E_GJAHR = h_gjahr.
          l_s_range-low+0(4) = h_gjahr.
          l_s_range-low+4(3) = h_buper.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          append l_s_range to e_t_range.
        endif.

  • Need this explained: Two objects reporting back same values...

    Hello,
    I have a datagrid and a form binded to the selectedItem record of the datagrid.  I need to update the values according to whatever is typed into the form fields.
    I use a CFC to handle the update.  I have a newBean class which holds the new values from the form and also an oldBean object which holds old values to verify I'm updating the correct record.
    In my actionscript I have two objects, newObj and oldObj.  Here is how I set them up in my update function.
    var oldObj:Object = new Object;
    oldObj = dg.selectedItem;
    var newObj:Object = newObject;
    newObj = dg.selectedItem;
    newObj.value1 = field1.text;
    newObj.value2 = field2.text;
    newObj.value3 = field3.text;
    remoteObject.update(oldObj, newObj);
    So, I set the oldObj to the selectedItem and then I set the newObj to that same item, which initially should give them the current values of the selectedItem in the datagrid.  Then I set the values of newObj to match the form fields.  Lastly I have a remoteObject method "update()" send the two objects to the CFC I mentioned above.  When I found out it wasn't updating properly, I set up a cfdump to my email to list the values for both oldObj and newObj.
    Results:
    newObj properly takes all the new values as intended.  oldObj strangely also takes on the new values, yet I never assigned oldObj to accept the new values.  So why is oldObj also accepting the values in the form fields when there's no visible connection between oldObj and any of the fields?

    I don't have an external site I can load this on.  It's a component of an application as well, so I'd have to publish the whole thing.  Instead, I'll just post all relevent code.  Notes: cfc is generated from the ColdFusion wizard.  apptTable is a valueObject that contains the structure of the record data.
    The Remote Object:
        <mx:RemoteObject id="apptRO" endpoint="http://10.118.40.100:85/flex2gateway/"
            destination="ColdFusion" source="cms.cfc.apptTableDAO" showBusyCursor="true" fault="Alert.show(event.fault.faultString, 'Error')">
            <mx:method name="read" result="apptsReceived(event)"/>
            <mx:method name="create" result="apptCreated(event)"/>
            <mx:method name="update" result="apptUpdated(event)"/>
            <mx:method name="deleted" result="apptDeleted(event)"/>
        </mx:RemoteObject>
    The original update function in Flex:
        private var upObj:apptTable;
        private var oldObj:Object;
        private function updateAppt():void{
            oldObj = new Object;
            oldObj = dg.selectedItem;
            upObj = new apptTable;
            upObj = apptTable(dg.selectedItem);
            upObj.clientName = clientNameInput.text;
            upObj.topic = topicInput.text;
            upObj.info = infoInput.text;
            upObj.apptDate = dateInput.text;
            upObj.apptTime = timeInput.text + ' ' + ampmCbx.value.toString();
            apptRO.update(oldObj,upObj);
    The UPDATE function in the CFC:
        <cffunction name="update" output="false" access="public">
            <cfargument name="oldBean" required="true" type="cms.cfc.apptTable">
            <cfargument name="newBean" required="true" type="cms.cfc.apptTable">
            <cfset var qUpdate="">
            <cfquery name="qUpdate" datasource="cmsdb" result="status">
                update dbo.apptTable
                set clientName = <cfqueryparam value="#arguments.newBean.getclientName()#" cfsqltype="CF_SQL_VARCHAR" />,
                    topic = <cfqueryparam value="#arguments.newBean.gettopic()#" cfsqltype="CF_SQL_VARCHAR" />,
                    info = <cfqueryparam value="#arguments.newBean.getinfo()#" cfsqltype="CF_SQL_VARCHAR" />,
                    dateSubmitted = <cfqueryparam value="#arguments.newBean.getdateSubmitted()#" cfsqltype="CF_SQL_VARCHAR" />,
                    apptDate = <cfqueryparam value="#arguments.newBean.getapptDate()#" cfsqltype="CF_SQL_VARCHAR" />,
                    apptTime = <cfqueryparam value="#arguments.newBean.getapptTime()#" cfsqltype="CF_SQL_VARCHAR" />,
                    userID = <cfqueryparam value="#arguments.newBean.getuserID()#" cfsqltype="CF_SQL_BIGINT" null="#iif((arguments.newBean.getuserID() eq ""), de("yes"), de("no"))#" />,
                    userName = <cfqueryparam value="#arguments.newBean.getuserName()#" cfsqltype="CF_SQL_VARCHAR" />
                where apptID = <cfqueryparam value="#arguments.oldBean.getapptID()#" cfsqltype="CF_SQL_BIGINT" />
                  and clientName = <cfqueryparam value="#arguments.oldBean.getclientName()#" cfsqltype="CF_SQL_VARCHAR" />
                  and topic = <cfqueryparam value="#arguments.oldBean.gettopic()#" cfsqltype="CF_SQL_VARCHAR" />
                  and info = <cfqueryparam value="#arguments.oldBean.getinfo()#" cfsqltype="CF_SQL_VARCHAR" />
                  and dateSubmitted = <cfqueryparam value="#arguments.oldBean.getdateSubmitted()#" cfsqltype="CF_SQL_VARCHAR" />
                  and apptDate = <cfqueryparam value="#arguments.oldBean.getapptDate()#" cfsqltype="CF_SQL_VARCHAR" />
                  and apptTime = <cfqueryparam value="#arguments.oldBean.getapptTime()#" cfsqltype="CF_SQL_VARCHAR" />
                  and userID = <cfqueryparam value="#arguments.oldBean.getuserID()#" cfsqltype="CF_SQL_BIGINT" />
                  and userName = <cfqueryparam value="#arguments.oldBean.getuserName()#" cfsqltype="CF_SQL_VARCHAR" />
            </cfquery>
            <!--- if we didn't affect a single record, the update failed --->
            <cfquery name="qUpdateResult" datasource="cmsdb"  result="status">
                select apptID
                from dbo.apptTable
                where apptID = <cfqueryparam value="#arguments.newBean.getapptID()#" cfsqltype="CF_SQL_BIGINT" />
                  and clientName = <cfqueryparam value="#arguments.newBean.getclientName()#" cfsqltype="CF_SQL_VARCHAR" />
                  and topic = <cfqueryparam value="#arguments.newBean.gettopic()#" cfsqltype="CF_SQL_VARCHAR" />
                  and info = <cfqueryparam value="#arguments.newBean.getinfo()#" cfsqltype="CF_SQL_VARCHAR" />
                  and dateSubmitted = <cfqueryparam value="#arguments.newBean.getdateSubmitted()#" cfsqltype="CF_SQL_VARCHAR" />
                  and apptDate = <cfqueryparam value="#arguments.newBean.getapptDate()#" cfsqltype="CF_SQL_VARCHAR" />
                  and apptTime = <cfqueryparam value="#arguments.newBean.getapptTime()#" cfsqltype="CF_SQL_VARCHAR" />
                  and userID = <cfqueryparam value="#arguments.newBean.getuserID()#" cfsqltype="CF_SQL_BIGINT" />
                  and userName = <cfqueryparam value="#arguments.newBean.getuserName()#" cfsqltype="CF_SQL_VARCHAR" />
            </cfquery>
            <cfif status.recordcount EQ 0>
                <cfthrow type="conflict" message="Unable to update record">
            </cfif>
            <cfreturn arguments.newBean />
        </cffunction>
    If you look at the update code from the CFC, you can see all my table columns, some of which are not present in my form fields because they should never change.
    Fields in form: clientNameInput, topicInput, infoInput, dateInput, timeInput, and a combo box for am/pm.
    Columns not in form: apptID, dateSubmitted, userID, userName
    Working code:
    private function updateAppt():void{
            oldObj = new Object;
            oldObj = dg.selectedItem;
            upObj = new apptTable;
            upObj.apptID = dg.selectedItem.apptID;
            upObj.clientName = clientNameInput.text;
            upObj.topic = topicInput.text;
            upObj.info = infoInput.text;
            upObj.dateSubmitted = dg.selectedItem.dateSubmitted;
            upObj.apptDate = dateInput.text;
            upObj.apptTime = timeInput.text + ' ' + ampmCbx.value.toString();
            upObj.userID = dg.selectedItem.userID;
            upObj.userName = dg.selectedItem.userName;
            apptRO.update(oldObj,upObj);
    This code does not set upObj to the selectedItem record of the dg.  Instead it just accepts the values of the form fields and any values in the datagrid that do not change.

  • How to roundoff addition of two double variables

    class Example
         public static void main(String args[])
              double k=1.236+2.138;
              System.out.println(k);
    }output of program:
    3.3739999999999997
    so how will i get the exact value of the addition

    etgohomeok wrote:
    If you know it's going to be 3 decimal places every time, you could always do:
    double d1 = 1.236;
    double d2 = 2.138;
    int i1 = (int) d1 * 1000;
    int i2 = (int) d2 * 1000;
    int iResult = i1 + i2;
    double dResult = ((double) iResult) / 1000;You could collapse that into a couple of lines and eliminate alot of the variables, but that's the general point...Unfortunately, that gives the wrong answer. Try running it and see.

Maybe you are looking for

  • Partitioning a disc already in use - for use with Time Machine

    I just bought the upgrade to 10.5 Leopard, and I want to use my external disc (LaCie 500GB - a couple of months old) to back up using time-machine. The thing is, I've already been using it to backup manually, and to be sure, I want to keep that possi

  • Play a flash file inside a container or component like jframe or jpanel

    sir , i want to embed a flash file inside a jframe or jpanel, is it possible ,please give me related reference of URL providing plugin for this. i will be very thankful for this great help. it is very importent for me. bye

  • Write NULL value in 2D array

    Hi, I use LabVIEW 6.1 for some speed measurements. Sometimes it happens that my software was not able to calculate a speed or it finds the found value not worth mentioning, and that is OK. And after the measurements I write the results to Excel in a

  • Actual costs and Planned Costs

    HI Friends   I want to know the Main Tables from which i can get the <b>Actual costs and Planned    Costs</b>     for the given Cost element or object number      I tried with table COEP and i got actual costs up to all cost elements in the given con

  • TS4268 I can't get my Apple ID to activate

    The website won't work for me, so I can't send any iMessages without them being emails. Anyone who can help?