Possibe to query for pattern when creating view?

Hi all,
As title, I would like to know if it is possible to screen out some patterns from typing queries in View?
Since I get no result even I use "LIKE 'pattern'"
Thanks.

Hey! Thank you for the quick responds from you guys!! Impressed =]
Hmmmm.. I think I am not familiar with database/SQL, forgive me on asking silly questions.
The prob was like the post last time, that is, I have fields for users to entry text descriptions, what I have to do is to find out all text having that sequence and list it out by creating a view.
Last time I got the TRANSLATE method works, however, we are not able to control users' input and there are always some exceptions to be handled.
Say, last time, I have to find out pattern of alphanumeric with digit first followed with a character. I discover that there are users which might input them, for example, having a space between them. (e.g. 99A (ideally) -> 99 A 79 B)
when I try to use the TRANSLATE scheme to include this situation, the result contains many unrelated records.
I am just not sure if I am able to create that view in TOAD in the VIEW page by entering a query, as it seems that whenever I use "[]" or "REGEXP_LIKE ''", I was warned of the use of operators.
I am just wondering if I could just use those operators in functions / procedures, or if there is some way that I am able to use those operators in the query of VIEW..?? Currently in my mind, if those functions don't work, I think substring of substrings would be able to handle some of the case, but the query would be very very very very long tho.
THANKS!!
I have some info to update here!
The version of ORACLE I use is 9i (9.2.0.5.0), ty =]
Edited by: user8644821 on Jul 21, 2009 11:12 PM

Similar Messages

  • How significant is the yellow hazard warning for pictures when creating an album using IPhoto?

    How significant is the yellow hazard warning message for pictures when creating an album using IPhoto?

    Are you talking about making a Book?
    How siginificant depends on how low resolution the photo is and how sensative you are to poor prints - it displays when a -photo will print below 180 dpi - what is the DPI of the photos that is givingyou the warning (the photo size divided byt the pixel size)
    LN

  • How to display international version infor for customer when creating SO?

    Hi Gurus:
                Is there any possibility to display the international version information for customer when creating the SO.like customer name / address etc.
    thanks!

    See notes 598197 and 610289

  • Bex 2004s - Disabling Selection Sreen of a Query for the purpose of Views

    Hi,
    Is there possibility in Bex 2004s, where in we can disable Selection Sreen of a Query for the purpose of creating multiple Views.
    Thanks
    Praveen

    Hi,
    There is no posibility to disable the selection secren if there are any variables defined on a query. it can be done on the web applications side by inserting the command VARIABLESCREEN=" ". in this also it is only possible if there are no mandatory variables defined on the query.
    thanks

  • Problem with default value for Billing when creating Business Partner

    In Sales Area data - Billing screen we want to default a value for Price List Type when creating a Busines Partner.
    We implemented  BADI 'BUPA_FRG0030_UPDATE'  and followed suggestions from another thread :
    Defaulting Currency Value to 'USD' during BP Creation.
    But This only seems to work when you change an existing BP.
    If we use FUNCTION 'CRM_BUPA_FRG0030_SAVE' in the BADI this function is called again by the system when saving the BP and causes a dump.
    Also the UPDATE functions only seem to work when you change an existing BP and not when creating one.
    Any suggestions if we can use another BADI or other function modules/methods ?
    Or some sample coding for implementing BUPAFRG0030_SAVE'  the correct way ?
    Thanks for the help,
    Steve

    Brent,
    When I use the latest build 10.1.3.3.81, this gets generated:
    <managed-property>
    <property-name>defaultValues</property-name>
    <map-entries>
    <map-entry>
    <key>ManagerId</key>
    <value>#{'#{jhsTypeConverter.stringToNumber['100']}'}</value>
    </map-entry>
    </map-entries>
    </managed-property>
    Which is slightly better, but still failing because the single quotes get mixed up.
    This should be generated:
    <managed-property>
    <property-name>defaultValues</property-name>
    <map-entries>
    <map-entry>
    <key>ManagerId</key>
    <value>#{"#{jhsTypeConverter.stringToNumber['100']}"}</value>
    </map-entry>
    </map-entries>
    </managed-property>
    which can be achieved by changing the defaultValuesBean.vm template like this:
    <managed-property>
    <property-name>defaultValues</property-name>
    <map-entries>
    #foreach ($defaultValue in $group.defaultValues.keySet())
    <map-entry>
    <key>$defaultValue</key>
    #if ($group.defaultValues.get($defaultValue).startsWith("#{"))
    <value>#{"$group.defaultValues.get($defaultValue)"}</value>
    #else <value>$group.defaultValues.get($defaultValue)</value> #end
    </map-entry>
    #end
    </map-entries>
    </managed-property>
    Steven Davelaar,
    JHeadstart team.

  • Is there a switch for 'FORCE' when creating object type?

    Where is the property to indicate whether or not to include the keyword FORCE when creating an object type?

    Thanks, the support that SDDM provides for Object Types is much better than Oracle Designer. I am looking forward to the release where we can flag a method's parameter as 'DEFAULT NULL' and especially the ability to include an inherited or included attribute as part of the primary key or the primary key. With the last release where the method body is stubbed out with 'BEGIN NULL; END;' really provided the basic ability for rapid prototyping. Once the key 'FORCE' is in place, the ability to rapid prototype will become even more functional.

  • Which BW Variable to be used for date when creating service in portal

    Hi,
    Can any one please let me know which BW variable is to be used for date(range) when creating a portal service for searching  based on dates.
    Thanks
    Abhai
    Message was edited by:
            Abhai

    Hi Arun,
    its just a portal service which would be called when  searching a document created on a particular date or betwwen a range of date.so what i require is which BW variable to be used when handling range.As for variable technical name we use VAR_NAME_I  and for single value variable we VAR_VALUE_EXT_I
    in the similar manner i want BW variable to be used for range of values.
    Thanks
    Abhai

  • How to pass parameter when create view link

    Hi,
    I used R12 to implement OAF. I create a VO with paramenter such as SELECT item_code,parent_item_code,month_budget_id
    FROM cux_ce_month_budget_lines_t
    where month_budget_id=:1
    But when I create VL for this VO. It seems the parameter :1 can not be passed.
    Could some one to help lookinto this?
    Best Regards,
    Eileen

    You donot need to pass parameter while creating the View Link. Once the view link is created then you assign the bind parameter to the master VO and execute the View link. The Child VO would automatically be executed.

  • ORA-03001 "unimplemented feature" error for SQL when using view

    Our ERP allows us (IT staff) to create Information Access Layers which are basically views. These can be "live" where the view is like your tradiitonal one or non-live, where a table of data is replicated on a schedule and a view is available over that table.
    The following SQL runs fine with a non-live IAL but gives an ORA-03001 error when using a live one.
    Any ideas why please? We are using 9.2.0.6
    Thanks
    with
    d_list as
    select territory, customer_name, order_no, sum(buy_qty_due) || ' x ' || catalog_desc d, sum(total_line_price_less_disc) v
    from
    ifsinfo.cust_ord_salescodes
    where
    site LIKE 'OKM' || '%'
    and
    line_date_entered >=TO_DATE ('01/06/2007','DD/MM/YYYY')
    AND
    line_date_entered <ADD_MONTHS (TO_DATE ('01/06/2007','DD/MM/YYYY'),2)+(1-1/(60*60*24))
    AND
    sub_division = 'GAS'
    AND
    line_item_no <= 0
    AND
    line_status != 'Cancelled'
    group by
    territory, customer_name, order_no, catalog_desc
    select
    d_list.territory,
    d_list.customer_name,
    d_list.order_no,
    d,
    0 as sum_value,
    d_list.v
    from
    (select d_list.order_no, sum(V) sv from d_list having sum(V) > max(3000) group by d_list.order_no) s_list,
    d_list
    where
    s_list.order_no=d_list.order_no
    order by
    d_list.territory, d_list.customer_name, d_list.order_no,d
    /Note: If I run the following it is fine, but obviously does not provide what I want:
    with
    d_list as
    select territory, customer_name, order_no, sum(buy_qty_due) || ' x ' || catalog_desc d, sum(total_line_price_less_disc) v
    from
    ifsinfo.cust_ord_salescodes
    where
    site LIKE 'OKM' || '%'
    and
    line_date_entered >=TO_DATE ('01/06/2007','DD/MM/YYYY')
    AND
    line_date_entered <ADD_MONTHS (TO_DATE ('01/06/2007','DD/MM/YYYY'),2)+(1-1/(60*60*24))
    AND
    sub_division = 'GAS'
    AND
    line_item_no <= 0
    AND
    line_status != 'Cancelled'
    group by
    territory, customer_name, order_no, catalog_desc
    select
    d_list.territory,
    d_list.customer_name,
    d_list.order_no,
    d,
    0 as sum_value,
    d_list.v
    from
    --(select d_list.order_no, sum(V) sv from d_list having sum(V) > max(3000) group by d_list.order_no) s_list,
    d_list
    --where
    --s_list.order_no=d_list.order_no
    order by
    d_list.territory, d_list.customer_name, d_list.order_no,d
    /

    Thanks David. The actual SQL is as follows:
    with
    p_list as
    (select * from
    (select 'OKM'     p_company,
         'GAS'     p_subdiv,
         '01/06/2007' p_startdate,
         2     p_months,
         3000     p_minval,
         DECODE(UPPER('OKM'),'OKM','DD/MM/YYYY','KMI','DD/MM/YYYY','OIA','MM/DD/YYYY') p_datefmt
    from dual)
    d_list as
    select territory, customer_name, order_no, sum(buy_qty_due) || ' x ' || catalog_desc d, sum(total_line_price_less_disc) v
    from
    ifsinfo.cust_ord_salescodes,
    p_list
    where
    site LIKE p_company || '%'
    and
    line_date_entered >=TO_DATE (p_startdate,p_datefmt)
    AND
    line_date_entered <ADD_MONTHS (TO_DATE (p_startdate,p_datefmt),p_months)+(1-1/(60*60*24))
    AND
    sub_division = p_subdiv
    AND
    line_item_no <= 0
    AND
    line_status != 'Cancelled'
    group by
    territory, customer_name, order_no, catalog_desc
    select d_list.territory, d_list.customer_name, d_list.order_no, d, decode(lag(d_list.order_no) over (order by d_list.territory, d_list.customer_name, d_list.order_no),d_list.order_no,0,s_list.sv) as sum_value, d_list.v  from
    (select d_list.order_no, sum(V) sv from d_list, p_list having sum(V) > max(p_minval) group by d_list.order_no) s_list,
    d_list
    where
    s_list.order_no=d_list.order_no
    order by
    d_list.territory, d_list.customer_name, d_list.order_no,d
    /the mystery is why it works for a view over a table (created by SQL A) but not a view (which is SQL A).
    The actual VIEW is:
    SELECT
         SUBSTR(co.contract,1,3)                         company,
         co.contract                               site,
         co.order_no                              order_no, 
         co.order_id                              order_type_code,
         co.currency_code                         currency_code,
         ROUND(1/col.currency_rate,x_curr_rounding_dp)          currency_rate,
         co.customer_po_no                         customer_po_no,
         co.date_entered                              head_date_entered,
         co.authorize_code                         coordinator,
         NVL(co.market_code,coc.market_code)               customer_market_code,
         NVL(co.district_code,x_def_district_code)          customer_district_code,
         co.customer_no                              customer_no,
         ifsapp.cust_ord_customer_api.get_name(co.customer_no)     customer_name,
         co.state                              head_status,
         decode(co.state,'Cancelled','N','Invoiced/Closed','N','Y')
    head_open_status,
         ROUND     (
              ifsapp.customer_order_api.get_total_base_price(co.order_no)
              ,x_rounding_dp)                         total_order_value,
    -------     co.salesman_code                         head_salesman_code,
         col.line_no                              line_no,
         col.rel_no                              rel_no,
         col.line_item_no                         line_item_no,
         NVL(col.part_no,x_def_inv_part)                    inventory_part_no,
         col.catalog_no                              sales_part_no,
         col.catalog_desc                         catalog_desc,
         col.date_entered                         line_date_entered,
         col.catalog_type                         sales_part_type,
         col.planned_ship_date                         line_planned_ship_date,
         col.planned_delivery_date                         line_planned_delivery_date,
         col.promised_delivery_date                         line_promised_delivery_date,
         col.real_ship_date,
    -------     col.ref_id                              line_salesman_code,
         col.state                              line_status,
         decode(col.state,'Cancelled','N','Invoiced/Closed','N','Y')
    line_open_status,
         nvl(col.ref_id,co.salesman_code)               salesman_code,
         nvl(col.C_Salesman_Region_Code,sps.region_code)          region_code,
         nvl(col.C_Salesman_Division,sps.division)          division,
         nvl(col.C_Salesman_Sub_Division,sps.sub_division)     sub_division,
         nvl(col.C_Salesman_Territory,sps.territory)          territory,
         NVL2     (
              ifsapp.customer_group_api.get_description(co.priority),co.priority,coc.cust_grp
              )                              customer_group_code,
         NVL(col.discount,0)                          discount_percentage,
         NVL(col.order_discount,0)                     order_discount_percentage,
         (1-NVL(col.discount,0)/100) *
         (1-NVL(col.order_discount,0)/100)               discount_factor,
         1-(1-NVL(col.discount,0)/100) *
         (1-NVL(col.order_discount,0)/100)               less_discount_factor,
         ROUND     (
              (DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
              ,x_rounding_dp)                         line_discount_amount,
         ROUND     (
              greatest(col.buy_qty_due-col.qty_invoiced,0)*(DECODE(SIGN(col.line_item_no),1,0,col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
              ,x_rounding_dp)                         rem_line_discount_amount,
         col.buy_qty_due                              buy_qty_due,
         col.qty_invoiced                         qty_invoiced,
         greatest(
              col.buy_qty_due-col.qty_invoiced,0
              )                              qty_remaining,
    qty_shipped,
         greatest(
              col.buy_qty_due-col.qty_shipped,0
              )                              qty_not_shipped,
         ROUND     (
              DECODE(SIGN(col.line_item_no),1,0,col.base_sale_unit_price*col.price_conv_factor)
              ,x_rounding_dp)                         unit_line_price,
         ROUND     (
              DECODE(SIGN(col.line_item_no),1,0,col.base_sale_unit_price*col.price_conv_factor)-
              ROUND     (
                   (DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
                   ,x_rounding_dp)     
              ,x_rounding_dp)                         unit_line_price_less_disc,
         ROUND     (
              DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)
              ,x_rounding_dp)                         total_line_price,
         ROUND     (
              DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)-
              ROUND     (
                   (DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
                   ,x_rounding_dp)     
              ,x_rounding_dp)                         total_line_price_less_disc,
         ROUND     (
              DECODE(SIGN(col.line_item_no),1,0,greatest(col.buy_qty_due-col.qty_invoiced,0)*col.base_sale_unit_price*col.price_conv_factor)
              ,x_rounding_dp)                         rem_total_line_price,
         ROUND     (
              DECODE(SIGN(col.line_item_no),1,0,greatest(col.buy_qty_due-col.qty_invoiced,0)*col.base_sale_unit_price*col.price_conv_factor)-
              ROUND     (
                   greatest(col.buy_qty_due-col.qty_invoiced,0)*(DECODE(SIGN(col.line_item_no),1,0,col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
                   ,x_rounding_dp)
              ,x_rounding_dp)                         rem_total_line_price_less_disc,
         NVL(co.commission_percentage,0)                    commission_percent,
         1-NVL(co.commission_percentage,0)/100               commission_factor,
         NVL(co.commission_percentage,0)/100               less_commission_factor,
    col.cost
    FROM
         ifsapp.customer_order_line                    col,
         ifsapp.customer_order                         co,
         ifsapp.sales_part_salesman                    sps,
         ifsapp.cust_ord_customer                    coc,
         (select
              2                               x_rounding_dp,
              6                               x_curr_rounding_dp,
              '9999999'                         x_def_inv_part,
              'Domestic'                         x_def_district_code
          from
          dual)                                   constants
    WHERE
         col.order_no=co.order_no
    AND
         co.customer_no = coc.customer_no
    AND
         (NVL(col.ref_id,co.salesman_code) = sps.salesman_code or sps.salesman_code is null)
    ------AND
    ------     co.state != 'Cancelled'
    ------AND
    ------     col.state !='Cancelled'
    ------AND
    ------     col.line_item_no <=0I suspect it is the level of complexity that Oracle cannot handle. I have seen notes about Oracle errors with views generating that ORA 03001, maybe I should log it with Oracle...

  • Viewc32 is changing long to int when creating view.java

    I have copied the view and the java code generated from the view by viewc32. In the view field <b>oszStartTime </b>is a long. In java it is represented as a int. The .h file is a long. Is this the way it is suppose to work? I thought the .java file would represent the field as a long. I have created about 4 views and this is consistent for all of them. All longs are changed to ints in the .java programs.
    Thanks for the help...
    Here is my view
    VIEW GetEqmhistView
    #type     cname     fbname     count     flag     size     null
    string     iReqName     -     1     -     30     -
    string     iMsgName     -     1     -     30     -
    short     iMsgVersion     -     1     -     -     0
    string     iszTrainSection     -     1     -     2     -
    string     iszTrainSymbol     -     1     -     8     -
    string     iszTrainDay     -     1     -     3     -
    short     onSiteNumber     -     100     -     -     0
    long     <b>oszStartTime     </b>-     100     -     -     0
    char     ocSiteKind     -     100     -     -     \0
    char     oReserved     -     100     -     -     \0
    long     omdwReturnStatus     -     1     -     -     0
    long     omdwErrorCode     -     1     -     -     0
    string     omszErrorMessage     -     1     -     256     -
    END
    Here is the Java Generated:
    package com.nscorp.apps.util;
    import java.io.*;
    import java.lang.*;
    import weblogic.wtc.jatmi.*;
    import weblogic.wtc.jatmi.Utilities;
    public class GetEqmhistView extends TypedView32 implements Serializable {
    private String iReqName = null;
    private String iMsgName = null;
    private short iMsgVersion = 0;
    private String iszTrainSection = null;
    private String iszTrainSymbol = null;
    private String iszTrainDay = null;
    private short[] onSiteNumber = null;
    private int[] <b>oszStartTime </b>= null;
    private char[] ocSiteKind = null;
    private char[] oReserved = null;
    private int omdwReturnStatus = 0;
    private int omdwErrorCode = 0;
    private String omszErrorMessage = null;
    private boolean _associatedFieldHandling = false;
    public GetEqmhistView() {
    super("GetEqmhistView");
    this.onSiteNumber = new short[100];
    this.oszStartTime = new int[100];
    this.ocSiteKind = new char[100];
    this.oReserved = new char[100];
    return;
    * Gets the current state of associated field handling.
    * @return the current state (true=on, false=off)
    public boolean getAssociatedFieldHandling()
    return _associatedFieldHandling;
    * Sets the state of associated field handling.
    * @param state the desired state (true=on, false=off)
    public void setAssociatedFieldHandling(boolean state)
    _associatedFieldHandling = state;
    * Gets the value of the iReqName element of this view
    * @return The value which this element has
    public String getiReqName()
    return(this.iReqName);
    * Sets the value of the iReqName element of this view
    * @param value The value to set the element to
    * @throws IllegalArgumentException if the value is too long
    public void setiReqName(String value)
    if (value.length() > 30)
    throw new IllegalArgumentException("Data too large for iReqName");
    this.iReqName = value;
    * Gets the value of the iMsgName element of this view
    * @return The value which this element has
    public String getiMsgName()
    return(this.iMsgName);
    * Sets the value of the iMsgName element of this view
    * @param value The value to set the element to
    * @throws IllegalArgumentException if the value is too long
    public void setiMsgName(String value)
    if (value.length() > 30)
    throw new IllegalArgumentException("Data too large for iMsgName");
    this.iMsgName = value;
    * Gets the value of the iMsgVersion element of this view
    * @return The value which this element has
    public short getiMsgVersion()
    return(this.iMsgVersion);
    * Sets the value of the iMsgVersion element of this view
    * @param value The value to set the element to
    public void setiMsgVersion(short value)
    this.iMsgVersion = value;
    * Gets the value of the iszTrainSection element of this view
    * @return The value which this element has
    public String getiszTrainSection()
    return(this.iszTrainSection);
    * Sets the value of the iszTrainSection element of this view
    * @param value The value to set the element to
    * @throws IllegalArgumentException if the value is too long
    public void setiszTrainSection(String value)
    if (value.length() > 2)
    throw new IllegalArgumentException("Data too large for iszTrainSection");
    this.iszTrainSection = value;
    * Gets the value of the iszTrainSymbol element of this view
    * @return The value which this element has
    public String getiszTrainSymbol()
    return(this.iszTrainSymbol);
    * Sets the value of the iszTrainSymbol element of this view
    * @param value The value to set the element to
    * @throws IllegalArgumentException if the value is too long
    public void setiszTrainSymbol(String value)
    if (value.length() > 8)
    throw new IllegalArgumentException("Data too large for iszTrainSymbol");
    this.iszTrainSymbol = value;
    * Gets the value of the iszTrainDay element of this view
    * @return The value which this element has
    public String getiszTrainDay()
    return(this.iszTrainDay);
    * Sets the value of the iszTrainDay element of this view
    * @param value The value to set the element to
    * @throws IllegalArgumentException if the value is too long
    public void setiszTrainDay(String value)
    if (value.length() > 3)
    throw new IllegalArgumentException("Data too large for iszTrainDay");
    this.iszTrainDay = value;
    * Gets the value of the onSiteNumber element of this view
    * @return The value which this element has
    public short[] getonSiteNumber()
    return(this.onSiteNumber);
    * Gets the value of the onSiteNumber element of this view
    * @param index The element in the array to return
    * @return The value which this element has
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public short getonSiteNumber(int index)
    return(this.onSiteNumber[index]);
    * Sets the value of the onSiteNumber element of this view
    * @param value The value to set the element to
    * @throws ArrayIndexOutOfBounds if the array given is too large
    public void setonSiteNumber(short[] value)
    if (value.length > 100)
    throw new ArrayIndexOutOfBoundsException("Array too large for onSiteNumber");
    if (value.length < onSiteNumber.length)
    for(int i = 0; i < value.length; i++)
    onSiteNumber[i] = value;
    else
    this.onSiteNumber = value;
    * Sets the value of the onSiteNumber element of this view
    * @param value The value to set the element to
    * @param index The element in the array to set
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public void setonSiteNumber(short value, int index)
    this.onSiteNumber[index] = value;
    * Gets the value of the oszStartTime element of this view
    * @return The value which this element has
    public int[] getoszStartTime()
    return(this.oszStartTime);
    * Gets the value of the oszStartTime element of this view
    * @param index The element in the array to return
    * @return The value which this element has
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public int getoszStartTime(int index)
    return(this.oszStartTime[index]);
    * Sets the value of the oszStartTime element of this view
    * @param value The value to set the element to
    * @throws ArrayIndexOutOfBounds if the array given is too large
    public void setoszStartTime(int[] value)
    if (value.length > 100)
    throw new ArrayIndexOutOfBoundsException("Array too large for oszStartTime");
    if (value.length < oszStartTime.length)
    for(int i = 0; i < value.length; i++)
    oszStartTime[i] = value[i];
    else
    this.oszStartTime = value;
    * Sets the value of the oszStartTime element of this view
    * @param value The value to set the element to
    * @param index The element in the array to set
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public void setoszStartTime(int value, int index)
    this.oszStartTime[index] = value;
    * Gets the value of the ocSiteKind element of this view
    * @return The value which this element has
    public char[] getocSiteKind()
    return(this.ocSiteKind);
    * Gets the value of the ocSiteKind element of this view
    * @param index The element in the array to return
    * @return The value which this element has
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public char getocSiteKind(int index)
    return(this.ocSiteKind[index]);
    * Sets the value of the ocSiteKind element of this view
    * @param value The value to set the element to
    * @throws ArrayIndexOutOfBounds if the array given is too large
    public void setocSiteKind(char[] value)
    if (value.length > 100)
    throw new ArrayIndexOutOfBoundsException("Array too large for ocSiteKind");
    if (value.length < ocSiteKind.length)
    for(int i = 0; i < value.length; i++)
    ocSiteKind[i] = value[i];
    else
    this.ocSiteKind = value;
    * Sets the value of the ocSiteKind element of this view
    * @param value The value to set the element to
    * @param index The element in the array to set
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public void setocSiteKind(char value, int index)
    this.ocSiteKind[index] = value;
    * Gets the value of the oReserved element of this view
    * @return The value which this element has
    public char[] getoReserved()
    return(this.oReserved);
    * Gets the value of the oReserved element of this view
    * @param index The element in the array to return
    * @return The value which this element has
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public char getoReserved(int index)
    return(this.oReserved[index]);
    * Sets the value of the oReserved element of this view
    * @param value The value to set the element to
    * @throws ArrayIndexOutOfBounds if the array given is too large
    public void setoReserved(char[] value)
    if (value.length > 100)
    throw new ArrayIndexOutOfBoundsException("Array too large for oReserved");
    if (value.length < oReserved.length)
    for(int i = 0; i < value.length; i++)
    oReserved[i] = value[i];
    else
    this.oReserved = value;
    * Sets the value of the oReserved element of this view
    * @param value The value to set the element to
    * @param index The element in the array to set
    * @throws ArrayIndexOutOfBounds if the array index is out of bounds
    public void setoReserved(char value, int index)
    this.oReserved[index] = value;
    * Gets the value of the omdwReturnStatus element of this view
    * @return The value which this element has
    public int getomdwReturnStatus()
    return(this.omdwReturnStatus);
    * Sets the value of the omdwReturnStatus element of this view
    * @param value The value to set the element to
    public void setomdwReturnStatus(int value)
    this.omdwReturnStatus = value;
    * Gets the value of the omdwErrorCode element of this view
    * @return The value which this element has
    public int getomdwErrorCode()
    return(this.omdwErrorCode);
    * Sets the value of the omdwErrorCode element of this view
    * @param value The value to set the element to
    public void setomdwErrorCode(int value)
    this.omdwErrorCode = value;
    * Gets the value of the omszErrorMessage element of this view
    * @return The value which this element has
    public String getomszErrorMessage()
    return(this.omszErrorMessage);
    * Sets the value of the omszErrorMessage element of this view
    * @param value The value to set the element to
    * @throws IllegalArgumentException if the value is too long
    public void setomszErrorMessage(String value)
    if (value.length() > 256)
    throw new IllegalArgumentException("Data too large for omszErrorMessage");
    this.omszErrorMessage = value;
    public void _tmpresend(DataOutputStream encoder)
    throws TPException, IOException {
    int lcv;
    try {
    Utilities.xdr_encode_string_length(encoder,iReqName, 30);
    Utilities.xdr_encode_string_length(encoder,iMsgName, 30);
    encoder.writeInt(iMsgVersion);
    Utilities.xdr_encode_string_length(encoder,iszTrainSection, 2);
    Utilities.xdr_encode_string_length(encoder,iszTrainSymbol, 8);
    Utilities.xdr_encode_string_length(encoder,iszTrainDay, 3);
    for (lcv = 0; lcv < 100; lcv++) {
    encoder.writeInt(onSiteNumber[lcv]);
    for (lcv = 0; lcv < 100; lcv++) {
    encoder.writeInt(oszStartTime[lcv]);
    for (lcv = 0; lcv < 100; lcv++) {
    encoder.writeInt((int)ocSiteKind[lcv]);
    for (lcv = 0; lcv < 100; lcv++) {
    encoder.writeInt((int)oReserved[lcv]);
    encoder.writeInt(omdwReturnStatus);
    encoder.writeInt(omdwErrorCode);
    Utilities.xdr_encode_string_length(encoder,omszErrorMessage, 256);
    catch (IOException ie) {
    System.out.println("Error encoding view buffer: " + ie);
    return;
    public void tmpostrecv(DataInputStream decoder, int recvsize)
    throws TPException, IOException {
    int lcv;
    iReqName = Utilities.xdr_decode_string(decoder, null);
    iMsgName = Utilities.xdr_decode_string(decoder, null);
    iMsgVersion = (short)decoder.readInt();
    iszTrainSection = Utilities.xdr_decode_string(decoder, null);
    iszTrainSymbol = Utilities.xdr_decode_string(decoder, null);
    iszTrainDay = Utilities.xdr_decode_string(decoder, null);
    for (lcv = 0; lcv < 100; lcv++) {
    onSiteNumber[lcv] = (short)decoder.readInt();
    for (lcv = 0; lcv < 100; lcv++) {
    oszStartTime[lcv] = decoder.readInt();
    for (lcv = 0; lcv < 100; lcv++) {
    ocSiteKind[lcv] = (char)decoder.readInt();
    for (lcv = 0; lcv < 100; lcv++) {
    oReserved[lcv] = (char)decoder.readInt();
    omdwReturnStatus = decoder.readInt();
    omdwErrorCode = decoder.readInt();
    omszErrorMessage = Utilities.xdr_decode_string(decoder, null);
    return;

    Hi Corey,
    The behavior you are seeing is expected. A long in Tuxedo is a 32 bit value. That maps to a Java int data type which is also a 32 bit value.
    Regards,
    Todd Little
    BEA Tuxedo Engineering

  • What to give for CLSID when creating an instance of cl_gui_container?

    Hello all,
    There is a non-optional field in the interface (importing section) of the constructor (a method) of the class cl_gui_container called clsid. What should I pass to this parameter clsid when I call this method to create an instance of this class for creating an ALV grid?
    Could you please email me the documentation of this class at [email protected], I am getting the documentation only in German.
    Thanks,
    Charles.

    Please use its subclass instead CL_GUI_CUSTOM_CONTAINER, this classes constructor needs no CLSID.
    http://help.sap.com/saphelp_nw70/helpdata/en/bf/3bd1369f2d280ee10000009b38f889/frameset.htm
    Regards,
    Rich Heilman

  • What is the ideal resolution for photos when creating a photo book in iphoto?

    Can you tell me what is the ideal resolution for photos I use to create a photo book from my iphoto library? 

    The DPI depends on the size of the image to be printed by the image file.  A 639 x 960 image could print a 3.5  x  5 photo at 180 DPI.  This website explains it further: The Myth of DPI.  
    So use the smaller photos only in the smaller frames on multiple photo layouts for best results.
    OT

  • Disk utility asks for password for authopen when creating images

    I just upgraded to Mountain Lion from Lion 10.7.4.
    Now, whenever I use disk utility to create a image from a CD/DVD, I get a dialog window saying that :
    authopen is trying to open the chosen file.
    Type your password to allow this.
    I never saw this dialog in Lion. Why am I getting this message?
    Also, after upgrading to ML I cannot eject the CD/DVD after my cdr or dmg file is created. I have to wait a few minutes. In Lion I only had to wait a few seconds.
    I tried the usual permissions repair, reboot, etc.
    *By the way I have been using Macs since the good old days of G3, before the iPod was invented, so I am not totally clueless here. My forum ID got messged up so I had to create a new Apple ID.

    To get around this issue, the group name needs to be changed to 'everyone' in the sys.openfile section of /etc/authorization. You will still need to authenticate, but you do not need to have admin credentials:
    <key>sys.openfile.</key>
            <dict>
                <key>class</key>
                <string>user</string>
                <key>comment</key>
                <string>See authopen(1) for information on the use of this right.</string>
                <key>default-button</key>
                <dict>
                    <key>ar</key>
                    <string>فتح</string>
                    <key>ca</key>
                    <string>Obrir</string>
                    <key>cs</key>
                    <string>Otevřít</string>
                    <key>da</key>
                    <string>Åben</string>
                    <key>de</key>
                    <string>Öffnen</string>
                    <key>el</key>
                    <string>Άνοιγμα</string>
                    <key>en</key>
                    <string>Open</string>
                    <key>es</key>
                    <string>Abrir</string>
                    <key>fi</key>
                    <string>Avaa</string>
                    <key>fr</key>
                    <string>Ouvrir</string>
                    <key>he</key>
                    <string>פתח</string>
                    <key>hr</key>
                    <string>Otvori</string>
                    <key>hu</key>
                    <string>Megnyitás</string>
                    <key>it</key>
                    <string>Apri</string>
                    <key>ja</key>
                    <string>開く</string>
                    <key>ko</key>
                    <string>열기</string>
                    <key>nb</key>
                    <string>Åpne</string>
                    <key>nl</key>
                    <string>Open</string>
                    <key>pl</key>
                    <string>Otwórz</string>
                    <key>pt</key>
                    <string>Abrir</string>
                    <key>pt-PT</key>
                    <string>Abrir</string>
                    <key>ro</key>
                    <string>Deschide</string>
                    <key>ru</key>
                    <string>Открыть</string>
                    <key>sk</key>
                    <string>Otvoriť</string>
                    <key>sv</key>
                    <string>Öppna</string>
                    <key>th</key>
                    <string>เปิด</string>
                    <key>tr</key>
                    <string>Aç</string>
                    <key>uk</key>
                    <string>Відкрити</string>
                    <key>zh-Hans</key>
                    <string>打开</string>
                    <key>zh-Hant</key>
                    <string>打開</string>
                </dict>
                <key>default-prompt</key>
                <dict>
                    <key>ar</key>
                    <string>يحاول __APPNAME__ فتح الملف الذي تم اختياره.</string>
                    <key>ca</key>
                    <string>__APPNAME__ està intentant obrir l’arxiu seleccionat.</string>
                    <key>cs</key>
                    <string>__APPNAME__ se pokouší otevřít vybraný soubor.</string>
                    <key>da</key>
                    <string>__APPNAME__ forsøger at åbne det valgte arkiv.</string>
                    <key>de</key>
                    <string>__APPNAME__ versucht, die gewählte Datei zu öffnen.</string>
                    <key>el</key>
                    <string>Η εφαρμογή __APPNAME__ προσπαθεί να ανοίξει το επιλεγμένο αρχείο.</string>
                    <key>en</key>
                    <string>__APPNAME__ is trying to open the chosen file.</string>
                    <key>es</key>
                    <string>__APPNAME__ está intentando abrir el archivo seleccionado.</string>
                    <key>fi</key>
                    <string>__APPNAME__ yrittää avata valittua tiedostoa.</string>
                    <key>fr</key>
                    <string>__APPNAME__ essaye d'ouvrir le fichier sélectionné.</string>
                    <key>he</key>
                    <string>״ __APPNAME__״ מבקש לפתוח את הקובץ הנבחר.</string>
                    <key>hr</key>
                    <string>__APPNAME__ pokušava otvoriti odabranu datoteku.</string>
                    <key>hu</key>
                    <string>A(z) __APPNAME__ megpróbálja megnyitni a kiválasztott fájlt.</string>
                    <key>it</key>
                    <string>__APPNAME__ sta cercando di aprire il documento prescelto.</string>
                    <key>ja</key>
                    <string>__APPNAME__ は、選択中のファイルを開こうとしています。</string>
                    <key>ko</key>
                    <string>__APPNAME__이(가) 선택된 파일을 열려고 합니다.</string>
                    <key>nb</key>
                    <string>__APPNAME__ prøver å åpne den valgte filen.</string>
                    <key>nl</key>
                    <string>__APPNAME__ probeert het gekozen bestand te openen.</string>
                    <key>pl</key>
                    <string>__APPNAME__ próbuje otworzyć wybrany plik.</string>
                    <key>pt</key>
                    <string>__APPNAME__ está tentando abrir o arquivo escolhido.</string>
                    <key>pt-PT</key>
                    <string>O __APPNAME__ está a tentar abrir o ficheiro escolhido.</string>
                    <key>ro</key>
                    <string>__APPNAME__ încearcă să deschidă fișierul ales.</string>
                    <key>ru</key>
                    <string>Программа «__APPNAME__» пытается открыть новый файл.</string>
                    <key>sk</key>
                    <string>__APPNAME__ sa pokúša otvoriť vybraný súbor.</string>
                    <key>sv</key>
                    <string>__APPNAME__ försöker öppna den valda filen.</string>
                    <key>th</key>
                    <string>__APPNAME__ กำลังพยายามเปิดไฟล์ที่เลือก</string>
                    <key>tr</key>
                    <string>__APPNAME__, seçilen dosyayı açmaya çalışıyor.</string>
                    <key>uk</key>
                    <string>Програма «__APPNAME__» намагається відкрити вибраний файл.</string>
                    <key>zh-Hans</key>
                    <string>“__APPNAME__”正试图打开所选文件。</string>
                    <key>zh-Hant</key>
                    <string>“__APPNAME__”正在嘗試打開所選檔案。</string>
                </dict>
                <key>group</key>
                <string>everyone</string>
                <key>shared</key>
                <false/>
                <key>timeout</key>
                <integer>300</integer>

  • Possible bug when creating multiple detail view objects

    using jdev 11.1.1.0.0 to build jsf/adf applications. I wanted to report what seems like a bug in 11g. I have a parent table which has two child tables. After creating the appropriate entities, associations, views, and view links, the app module looks like this:
    MasterView
    --DetailView1
    --DetailView2
    The two detail view objects are on the same level, they are both direct children of the Master view.
    Here's what's happening:
    1) I create the master entity/view objects (MasterView)
    2) I create one of the detail entity/view objects (DetailView1).
    3) I create the association and view link to establish relationship between MasterView and DetailView1. Everything works fine.
    4) I create the entity/view objects for second detail view (DetailView2)
    5) When I attempt to create a second view link (based off an association) to establish the relationship between MasterView and DetailView2, the query clauses of the Create View Link wizard (screens 4 and 5) do not get created properly. I finish the wizard and save. Not only does this view link not get created properly, but in the process the query clauses that were defined in the first view link between MasterView and DetailView1 are wiped out. This will break any coordination between master and detail views in both the app module tester and runtime. Has anyone seen this problem?

    fyi, it looks like this issue has been resolved with jdev 11.1.1.0.2 (Update 2)

  • "Create View" Long time

    Hi All,
    When I run "create view" command, it takes long time on Oracle 10.2.0.5 and Db mode is Physical Standby (Read-Write). I tried some configuration for tuning but didn't reach to solution.
    What can be reasons of this latency ? Have you any ideas ?
    B.R.
    Edited by: ozgurumut on Mar 6, 2013 1:03 AM

    Everyday, We create flashback point then activate Standby DB, finally Open DB for internal user. End of day DB returns to flashback point (flasback restore) to morning. So Read write :) That you haven't mentioned earlier ;)
    You can find ASH report on this link http://www.2shared.com/document/VwEVound/ASH_Rpt_-_mngdb1.html
    Reviewed ASH report, Am not sure when you took the ASH report. Lets suppose you have given "Create view" command around 9:10 AM and completed by 9:20 AM, Take ASH report only from start date and time of 9:10 AM to 9:20 AM. If you took based on the same then i cannot see any query which is executing "create view",
    Or else you can try again as below.
    1) Connect to the session where you are going to give command "create view"
    2) Gather sid from v$session
    3) from the other session check
    SQL> select event, total_waits, Total_timeouts, time_waited, max_wait from v$session where sid=<>;
    Here you have to mention sid you gathered from the step 2.
    Then you can see where it is waiting exactly, Moreover i dont think it is issue with Standby database[read-write]

Maybe you are looking for

  • Airport Express works with every device except base PC

    I recently purchased an Airport Express to replace my dead Netgear wireless router. After installing the software on my laptop (which is also new, but worked with the old Netgear router), I was unable to connect to the network. My iPad, our iPhones,

  • LIKE Operator not supported from CMIS Search on Foundation Server

    I am running a CMIS query against Sharepoint foundation server. The app is returning the following error: One or more of the input parameters to the service method is missing or invalid The log files report the following:  CMIS Repository Interfaces 

  • Report or ways to find who removed portal roles for an user id ?

    Hi Experts, Scenario: if admin removes super admin role or any other portal role for my id. is there any possibility to see who exactly deleted the roles for my id? Many Thanks Sekhar

  • Database best practices (concurreny)?

    Hey all, i'm new to servlets and am worried about concurrency. As far as I can tell as long as variables are local to you doGet/doPost then there should be any issues. That being said, i've noticed alot of sample code creating a database connection i

  • IOS 5.0.1 will not download

    I keep trying to download and update my iphone 4 through iTunes to incorporate the iOS 5.0.1.  Every time I do try to do this an error comes up stating that I need to check the network because the network failed.  I tried to find a link for the iOS 5