\n parameter is not working

Hello Buddies
iM having a problem in a TEXTAREA that has a bindable
variable, named desc
<mx:TextArea text="{desc}" />
following code works well and text Area detects [\n] as a NEW
LINE Parameter.
private var sDes:String = "CorelDraw\nIllustrator";
and shows it
[output]
CorelDraw
Illustrator
But when i capture abv String from a xmlfile`s tag
<desc>CorelDraw\nIllustrator</desc>
it doesnt detect it as a newline parameter and simply shows
it as
[output]
CorelDraw\nIllustrator
How can i make him understand \n parameter when it reads from
an xml file?

You can find info on special characters at xml.org and
unicode.org. Do a search for 'xml and html characters'. An example
would be for the copyright symbol... the Unicode code is 00A9, so
within an XML element you'd write &#00A9;
As far as using AS to add the newline... it will give you
greater control if the XML elements are represented as separate
values in the database field (of course assuming the XML is
dynamically assembled during a service call). However, using your
approach of directly embedding the newline character in your XML
data would be faster, especially if the data is only going to be
used by you for your specific application.
Here's a sample of how it could be handled if the XML data is
dynamically assembled with the following format and returned in e4x
resultFormat from the service call:
<servicestart>
<category>Design</category>
<imagelink>images/des.jpg</imagelink>
<tech>
<app>Photoshop</app>
<app>CorelDraw</app>
<app>Illustrator</app>
</tech>
</servicestart>
function handleResultEvent(event:ResultEvent):void
var apps:XMLList = event.result.tech.app;
var tmpStr:String = "";
if (apps.length() > 1)
for (var a:int = 0; a < apps.length() - 1; a++)
tmpStr += apps[a] + "\n";
tmpStr += apps[apps.length() - 1];
else
tmpStr += apps[0];
Technologies.text = tmpStr;
You can see how you have greater control over what you want
to do with the data. If you're the only one who will ever use this
data and only for your specific application, then the AS route is
probably overkill, but it may come in handy to know how to do it.
TS

Similar Messages

  • Why Dynamic Parameter is not working, when i create report using stored procedure ?

    Post Author: Shashi Kant
    CA Forum: General
    Hi all
    Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
    Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
    is not shown to me when i referesh the report for viewing the results.
    I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
    ============================================================================================
    1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
    Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
    Dynamic Parameters in Action
    My question is that whether dynamic parameter is working with storedprocedure or not.
    When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
    One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
    Please reply soon , it's urgent
    Regards
    shashi kant

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Date parameter does not work in SharePoint 2010 report using SQL 2008 Server Reporting Service

    Here is the settings:
    SharePoint 2010 with SQL server 2008 reporting services configured
    When create a report for a SP list using SQL server report builder (3.0) the date parameter does not work.
    The data parameter is set as "date and time" type and field name equals the col name in the SP list
    When run the report, the whatever dates I select, the result is always the same, so the parameters do not take any effect.
    Is any step missing?
    Thanks for any advice !

    Hi ,
    How did you configure you "date and time" type parameter and field name equals the col name in the SP list?
    Have you tested if other type parameter worked?
    Have you tried typing the date format as 20140722 in your date parameter filed before run the report?
    http://whitepages.unlimitedviz.com/2012/02/using-sharepoint-filters-with-reporting-services-parameters-for-personalized-reports/
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Oracle date parameter query not working?

    http://stackoverflow.com/questions/14539489/oracle-date-parameter-query-not-working
    Trying to run the below query, but always fails even though the parameter values matches. I'm thinking there is a precision issue for :xRowVersion_prev parameter. I want too keep as much precision as possible.
    Delete
    from CONCURRENCYTESTITEMS
    where ITEMID = :xItemId
    and ROWVERSION = :xRowVersion_prev
    The Oracle Rowversion is a TimestampLTZ and so is the oracle parameter type.
    The same code & query works in Sql Server, but not Oracle.
    Public Function CreateConnection() As IDbConnection
    Dim sl As New SettingsLoader
    Dim cs As String = sl.ObtainConnectionString
    Dim cn As OracleConnection = New OracleConnection(cs)
    cn.Open()
    Return cn
    End Function
    Public Function CreateCommand(connection As IDbConnection) As IDbCommand
    Dim cmd As OracleCommand = DirectCast(connection.CreateCommand, OracleCommand)
    cmd.BindByName = True
    Return cmd
    End Function
    <TestMethod()>
    <TestCategory("Oracle")> _
    Public Sub Test_POC_Delete()
    Dim connection As IDbConnection = CreateConnection()
    Dim rowver As DateTime = DateTime.Now
    Dim id As Decimal
    Using cmd As IDbCommand = CreateCommand(connection)
    cmd.CommandText = "insert into CONCURRENCYTESTITEMS values(SEQ_CONCURRENCYTESTITEMS.nextval,'bla bla bla',:xRowVersion) returning ITEMID into :myOutputParameter"
    Dim p As OracleParameter = New OracleParameter
    p.Direction = ParameterDirection.ReturnValue
    p.DbType = DbType.Decimal
    p.ParameterName = "myOutputParameter"
    cmd.Parameters.Add(p)
    Dim v As OracleParameter = New OracleParameter
    v.Direction = ParameterDirection.Input
    v.OracleDbType = OracleDbType.TimeStampLTZ
    v.ParameterName = "xRowVersion"
    v.Value = rowver
    cmd.Parameters.Add(v)
    cmd.ExecuteNonQuery()
    id = CType(p.Value, Decimal)
    End Using
    Using cmd As IDbCommand = m_DBTypesFactory.CreateCommand(connection)
    cmd.CommandText = " Delete from CONCURRENCYTESTITEMS where ITEMID = :xItemId and ROWVERSION = :xRowVersion_prev"
    Dim p As OracleParameter = New OracleParameter
    p.Direction = ParameterDirection.Input
    p.DbType = DbType.Decimal
    p.ParameterName = "xItemId"
    p.Value = id
    cmd.Parameters.Add(p)
    Dim v As OracleParameter = New OracleParameter
    v.Direction = ParameterDirection.Input
    v.OracleDbType = OracleDbType.TimeStampLTZ
    v.ParameterName = "xRowVersion_prev"
    v.Value = rowver
    v.Precision = 6 '????
    cmd.Parameters.Add(v)
    Dim cnt As Integer = cmd.ExecuteNonQuery()
    If cnt = 0 Then Assert.Fail() 'should delete
    End Using
    connection.Close()
    End Sub
    Schema:
    -- ****** Object: Table SYSTEM.CONCURRENCYTESTITEMS Script Date: 1/26/2013 11:56:50 AM ******
    CREATE TABLE "CONCURRENCYTESTITEMS" (
    "ITEMID" NUMBER(19,0) NOT NULL,
    "NOTES" NCHAR(200) NOT NULL,
    "ROWVERSION" TIMESTAMP(6) WITH LOCAL TIME ZONE NOT NULL)
    STORAGE (
    NEXT 1048576 )
    Sequence:
    -- ****** Object: Sequence SYSTEM.SEQ_CONCURRENCYTESTITEMS Script Date: 1/26/2013 12:12:48 PM ******
    CREATE SEQUENCE "SEQ_CONCURRENCYTESTITEMS"
    START WITH 1
    CACHE 20
    MAXVALUE 9999999999999999999999999999

    still not comming...
    i have one table each entry is having only one fromdata and one todate only
    i am running below in sql it is showing two rows. ok.
      select t1.U_frmdate,t1.U_todate  ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID  AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf 
       from  [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
       on t0.DocEntry = t1.DocEntry
       inner join ohem t2
       on t2.empID = t0.U_empid  where  t0.U_empid between  '830' and  '850'  and t1.U_frmdate ='20160801'  and  t1.u_todate='20160830'
    in commond promt
      select t1.U_frmdate,t1.U_todate  ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID  AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf 
       from  [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
       on t0.DocEntry = t1.DocEntry
       inner join ohem t2
       on t2.empID = t0.U_empid  where  t0.U_empid between  {?FromEmid} and  {?ToEmid} and t1.U_frmdate ={?FDate} and  t1.u_todate={?TDate}
    still not showing any results..

  • CR2008 . Net App - Parameters and Parameter Panel Not working

    Post Author: cehowski
    CA Forum: Crystal Reports
    I have a CR2008 report with one parameter, which works fine when running it in CR2008.  I have an app developed in VS2005 (which should have been updated when I installed Crystal and re-built the app).  The new "Sort Labels" work fine, so the Viewer should be OK (the right version).  When I open the report in the app, the parameter does not modify the report in anyway, whether a new value is added when it first opens, or I try to change the value using the Parameter panel after it is opened.  I've tried Saving with and without data, discarding saved data on refresh, and one or two other properties that seemed like they might have an effect.  None of them did.  Everything works fine within CR2008 - it is only in VS2005, using the Version 12 viewer, that the parameter does not work (all records are returned by the way).
    Any ideas will be appreciated.
    John

    Carolyn,
    Firewall is off. No antivirus. Switching Little snitch on an off makes no difference.
    Just tried ot connect to the App Store again, and it says no connection, connect anyway.....I click connect, and the entire window flashes balck and white and I can see data traffic to and from the app via little snitch.....the black screen is it trying to load the page but not getting through.
    Strange.
    Dominic

  • Parameter is not working in HTTP( XML FEED) dataset in bi publisher 11g

    Hi,
    I have used parameter in BI Publisher 10g for HTTP(XML Feed) dataset to have dynamic url which worked by using ${p_url} where p_url is the parameter.
    The same procedure when I use in BI Publisher 11g is not working.It does not consider the parameter ${p_url} and throws the following exception
    *oracle.xdo.dataengine.datasource.plugin.DataAccessException: java.lang.Exception: java.net.MalformedURLException: no protocol: ${p_url}*
    Has anyone faced this issue?
    Please let me know if am doing something incorrect here.
    Thanks &Regards,
    Balaji

    Thanks for your reply.
    In BI Publisher 10 g we are using it this way ${p_url}.
    p_url is the parameter which gives us the entire URL for the XML feed.
    e.g. p_url=http://rss.news.yahoo.com/rss/topstories
    The p_url takes the entire url.
    Please let me know if this can be done the same way in 11g.
    Thanks,
    Balaji

  • Sorting based on a parameter does not work

    Hi All
    I am using BI Publisher Reports with Siebel CRM 8.1.1.6. I have declared a parameter called "inputsort" in the CRM application as well as in the template by using <?param@begin:inputsort?> within the template. I can display the current value of the parameter using <?$inputsort?> without issues.
    However, when I try using this parameter for sorting, it doesn work:
    The report is created for a list of event attendees. When I do this, sorting works:
    <?for-each:EeventsEventCheckAttendee?><?sort:ContactLastName?>
    BUT when I do this, sorting does not work:
    <?for-each:EeventsEventCheckAttendee?><?sort:$inputsort?>
    although the parameter $inputsort does have a value of "ContactLastName".
    What could be the reason??

    never mind, I found the solution myself. For some reason, the correct way is:
    <?for-each:EeventsEventCheckAttendee?><?sort:./*[name(.) = $inputsort]?>
    I don't know why, but it works.

  • ORDS Template with parameter does not work

    Hello everybody,
    I can not get working a RESTful Service using the ORDS_SERVICES -API (ORDS version 3.0.0.343.07.58), same Query without parameter (hardcoded product_id) works fine.
    declare
    l_module_id number;
    l_template_id number;
    l_handler_id  number;
    l_parameter_id number;
    begin
    ORDS_SERVICES.delete_module(p_name => 'test_parameter');
    l_module_id := ORDS_SERVICES.create_module(p_name => 'test_parameter',
                                p_uri_prefix => '/test_parameter',
                                p_items_per_page => 10,
                                p_status => 'PUBLISHED',
                                p_comments => null);
    l_template_id := ORDS_SERVICES.add_template(p_module_id => l_module_id,
                               p_uri_template => '/demo_product_info_10/',
                               p_priority => 0,
                               p_etag_type => 'HASH',
                               p_etag_query => null,
                               p_comments => null);
    l_handler_id := ORDS_SERVICES.add_handler(p_template_id => l_template_id,
                               p_source_type => 'MEDIA', -- source_type IN ('COLLECTION_FEED', 'COLLECTION_ITEM', 'FEED', 'MEDIA', 'PLSQL', 'QUERY', 'QUERY_1_ROW')
             p_source => 'select mimetype, product_image from demo_product_info where product_id = 2',
             p_format => 'DEFAULT',
             p_method => 'GET',
             p_items_per_page => null,
             p_mimes_allowed => null,
             p_comments => null);
    /* now same result but with parameter */
    l_template_id := ORDS_SERVICES.add_template(p_module_id => l_module_id,
                               p_uri_template => '/demo_product_info/{product_id}',
                               p_priority => 0,
                               p_etag_type => 'HASH',
                               p_etag_query => null,
                               p_comments => null);
    l_handler_id := ORDS_SERVICES.add_handler(p_template_id => l_template_id,
                               p_source_type => 'MEDIA', -- source_type IN ('COLLECTION_FEED', 'COLLECTION_ITEM', 'FEED', 'MEDIA', 'PLSQL', 'QUERY', 'QUERY_1_ROW')
             p_source => 'select mimetype, product_image from demo_product_info where product_id = :product_id',
             p_format => 'DEFAULT',
             p_method => 'GET',
             p_items_per_page => null,
             p_mimes_allowed => null,
             p_comments => null);
    l_parameter_id := ORDS_SERVICES.add_parameter(p_handler_id => l_handler_id,
                               p_name =>  'product_id',
             p_bind_variable_name => 'product_id',
             p_source_type => 'URI',
             p_param_type => 'INT',
             p_access_method => 'IN',
             p_comments => null);
    commit;
    end;
    The first template works fine:
    http://localhost:8080/ords/xxx/test_parameter/demo_product_info_10/
    shows a jpeg image of a wallet.
    The second template does not work:
    http://localhost:8080/ords/xxx/test_parameter/demo_product_info/10/
    fails with error:
    mapped request using: BasePathMapper [basePath=/xxx/] to: SCHEMA:apex|XXX
    Choosing: oracle.dbtools.http.dispatch.DispatchMetaData as current candidate with score: MetaDataScore [score=0, matchedMethod=  GET: {10299, false}
      common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=10, pagination=NONE, requiresPrivilege=null, transport=null]
    , matchedPattern= /test_parameter/demo_product_info/{product_id}
    common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=null, pagination=null, requiresPrivilege=null, transport=null]
    methods:
      GET: {10299, false}
      common: CommonMetaData [accepts=[], cors=null, documentation=null, frameOptions=null, pageSize=10, pagination=NONE, requiresPrivilege=null, transport=null]
    stack trace:
    oracle.dbtools.http.errors.InternalServerException: java.lang.IllegalArgumentException: INT
    at oracle.dbtools.http.errors.ErrorPageFilter.internalError(ErrorPageFilter.java:165)
    at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:113)
    at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:44)
    at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:51)
    at oracle.dbtools.http.cors.CORSFilter.doFilter(CORSFilter.java:35)
    at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:44)
    I changed the add_parameter-call p_param_type => 'INT' to be  p_param_type => 'STRING'
    then error remains the same and strack trace says
    oracle.dbtools.http.errors.InternalServerException: java.lang.IllegalArgumentException: STRING
    at oracle.dbtools.http.errors.ErrorPageFilter.internalError(ErrorPageFilter.java:165)
    at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:113)
    Could you please confirm and fix,
    kind regards,
    Tom

    This is a guess, but I suspect that ords_services.add_parameter() is not required at all.
    Also, your URL /demo_product_info/10/ should not have the trailing slash (according to your template URI).
    For more information, I suggest you look here:
    ords.3.0.0.343.07.58.zip\ords.war\scripts\migrate\core\ords_migrate.plb
    The migration package will show what is usually done for templates that already exist within APEX 4.2. I checked my templates and the ones with URI variables {in-curly-brackets} contain no records in apex_040200.wwv_flow_rt$parameters.
    -Kris

  • Crystal Reports dynamic parameter does not work in InfoView

    Hello,
    We have developed Crystal Reports in CR2008 on top of SAP infoset and we have one of our selection parameter as dynamic parameter. It works fine in the CR Dev tool but when i upload the report in the InfoView, report does not show any value in the "Available Values"
    Any input will be much appreciated.
    Thanks.

    I did found the solution for this, i had to go into Business View Manger (BO Client Tools) and Schedule the LOV (List of Values). This is odd setting! but it works....

  • Application Parameter does not work on migrating

    We have encountered this various times.
    When we add an application parameter to an existing application, it does not work on migrating.
    We have to make a new service (application) and then attach the parameter to it, then it works.
    What is the reason for this behavior?
    Eg: I added the parameter WDDISABLEUSERPERSONALIZATION and set it to X in development. Works fine there. On migrating to UAT, it does not work. What's amiss?
    Thanks in adv.

    Hi Aishi,
    maybe SAP Note [1332644|https://service.sap.com/sap/support/notes/1332644] "WDA Application Parameters are not changed in all clients" might be helpful in your case.
    Best regards,
      Andreas

  • Javascript-based multi-parameter bookmarks not working in firefox 13

    I have a [http://lifehacker.com/240552/firefox-tip--how-to-set-up-multi+parameter-keyword-searches javascript-based multiparameter bookmark]. Think of it like this: use a keyword to call in the search, then put in two parameters (say, zip code and type of forecast) and it goes straight to the page (my zip code, 7-day. or parents' zip code, hourly) in one shot.
    It's sometimes stopped working recently, and I think it's been since I upgraded to FF13. By 'not working' i mean I can restore the bookmark;s "location" to what used to work, and then the shortcut works just fine until .... I don't know. Usually closing firefox and reopening it again and then trying to use the bookmark will cause the browser to just sit there with the entire javascript string in the subject bar.

    From my observations, it seems that it doesn't work on newly opened tabs, tabs where you didn't visited a single site. After I visited one random site on that tab, and entered the search keyword and parameters, it worked. It also works on the initial start page, because it's about:blank I guess.
    (firefox 13.0.1, linux)

  • Expression parameter does not work in 3.1

    When I turn the expression parameter down on an audio channel strip it has no effect. This is not a mapping issue. I mapped the controller to the volume parameter and it worked just fine. I go to the channel strip and change it and it still doesn't work. This concert worked fine before the update last week. Any suggestions?https://onedrive.live.com/redir?resid=682736C1014FB3D0!103933&authkey=!ANAkht1OO pBuaN8&ithint=video%2cmp4

    Have you tried uninstalling and reinstalling?  You won't lose any downloaded sample content, so the pain of of reinstalling should be pretty minimal. 
    I played around with my test installation of MS3.1 and I don't seem to be affected by this bug so maybe something went awry in the update process for you. 
    Keep us posted.  I won't be updating my computers until after I finish a pit orchestra gig at the end of February and if there are bugs in this version, I'll hold off until 3.1.1.

  • DBMS_DATAPUMP parallel parameter did not work

    Hi, I am using DBMS_DATADUMP with network link to load large table directly from one database to another database. I used parallel parameter to improve the performance. But looks the parallel did not work. Still only one worker to handle the import.
    The status is
    Job: LOADING
    Owner: TRI
    Operation: IMPORT
    Creator Privs: TRUE
    GUID: 25DB4B2BE420406B82A7AE159CF1E626
    Start Time: Wednesday, 22 April, 2009 15:37:04
    Mode: TABLE
    Instance: orcl
    Max Parallelism: 4
    EXPORT Job Parameters:
    IMPORT Job Parameters:
    Parameter Name Parameter Value:
    INCLUDE_METADATA 0
    TABLE_EXISTS_ACTION TRUNCATE
    State: EXECUTING
    Bytes Processed: 0
    Current Parallelism: 4
    Job Error Count: 0
    Worker 1 Status:
    Process Name: DW01
    State: EXECUTING
    Object Schema: TRI
    Object Name: ORDER_LINES
    Object Type: TABLE_EXPORT/TABLE/TABLE_DATA
    Completed Objects: 1
    Total Objects: 1
    Worker Parallelism: 1
    Worker 2 Status:
    Process Name: DW02
    State: WORK WAITING
    My source database is 10.2.0.4 compatible=10.2.0
    target database is 11.1.0.6
    My table is around 3G
    The API I am using is
    my_handle := dbms_datapump.open(operation => 'IMPORT',job_mode => 'TABLE',
    remote_link => my_db_link, job_name => my_job_name ,version=>'LATEST' ) ;
    dbms_datapump.set_parameter (my_handle, 'TABLE_EXISTS_ACTION','TRUNCATE');
    dbms_datapump.set_parameter (my_handle, 'INCLUDE_METADATA',0);
    dbms_datapump.metadata_filter (handle => my_handle, name => 'SCHEMA_EXPR',
    value=>'IN (''ORDER'')');
    dbms_datapump.metadata_filter (handle => my_handle, name => 'NAME_LIST',
    value => '''ORDER_LINES''');
    dbms_datapump.metadata_remap(my_handle,'REMAP_SCHEMA',old_value=>'ORDER',value=>'TRI');
    dbms_datapump.set_parallel(my_handle,16);
    dbms_datapump.start_job(my_handle);
    Edited by: tonym on Apr 23, 2009 10:49 AM

    Then I test to use API and network link to export large table from remote database with parallel parameter.
    my_handle := dbms_datapump.open(operation => 'EXPORT',job_mode => 'TABLE',remote_link => my_db_link, job_name => my_job_name ,version=>'LATEST' ) ;
    DBMS_DATAPUMP.add_file( handle => my_handle, filename => 'test1.dmp', directory => 'DATA_PUMP_DIR');
    DBMS_DATAPUMP.add_file( handle => my_handle, filename => 'test2.dmp', directory => 'DATA_PUMP_DIR');
    DBMS_DATAPUMP.add_file( handle => my_handle, filename => 'test3.dmp', directory => 'DATA_PUMP_DIR');
    DBMS_DATAPUMP.add_file( handle => my_handle, filename => 'test4.dmp', directory => 'DATA_PUMP_DIR');
    dbms_datapump.metadata_filter (handle => my_handle, name => 'SCHEMA_EXPR',value=>'IN (''INVENTORY'')');
    dbms_datapump.metadata_filter (handle => my_handle, name => 'NAME_LIST',value => '''INV_TRANSACTIONS''');
    dbms_datapump.set_parallel(my_handle,4);
    dbms_datapump.start_job(my_handle);
    Looks it did not use parallel either. This table is around 3G too.
    status:
    Job: LOADING_2
    Operation: EXPORT
    Mode: TABLE
    State: EXECUTING
    Bytes Processed: 0
    Current Parallelism: 4
    Job Error Count: 0
    Dump File: C:\ORACLE\ADMIN\OW\DPDUMP\TEST1.DMP
    bytes written: 69,632
    Dump File: C:\ORACLE\ADMIN\OW\DPDUMP\TEST2.DMP
    bytes written: 4,096
    Dump File: C:\ORACLE\ADMIN\OW\DPDUMP\TEST3.DMP
    bytes written: 4,096
    Dump File: C:\ORACLE\ADMIN\OW\DPDUMP\TEST4.DMP
    bytes written: 4,096
    Worker 1 Status:
    Process Name: DW04
    State: WORK WAITING
    Worker 2 Status:
    Process Name: DW05
    State: EXECUTING
    Object Schema: INVENTORY
    Object Name: INV_TRANSACTIONS
    Object Type: TABLE_EXPORT/TABLE/TABLE_DATA
    Completed Objects: 1
    Total Objects: 1
    Completed Rows: 4,652,330
    Worker Parallelism: 1
    Edited by: tonym on Apr 23, 2009 10:53 AM

  • Between Date parameter is not working.

    Hi All,
    This is my Dataset query. Other filters are working fine. I am getting out put when i select date range. But Its not working when i select Null Option (That time i should get all the data).  but Its not working.
    SELECT DISTINCT
    PartnerId, [Partner Name], [Partner Site], [Organization/Country Code], [Accreditation Name], [Accreditation Status], [Accreditation Review Date],
    CONVERT(varchar(90), [Accreditation End Date], 105) AS [Accreditation End Date], CONVERT(varchar(90), [Accreditation Start Date], 105) AS [Accreditation Start Date],
    [Accreditation Code], [Specialization Code], Name, Inheritance, Description, Territory, Level
    FROM P1_Addition_Report
    where BU in (@BU) and Level In (@Level) and [Accreditation Name] in (@AccreditationName) and ([Accreditation Start Date] Between @Eligibility_StartDate and @Eligibility_Enddate) or (@Eligibility_StartDate is null and @Eligibility_Enddate is null)
    Can anyone correct this query or suggest any alternatives
    Thanks in Advance

    Thanks for reply. Actually with the code i have pasted i am able to get output for Between date. but the problem is I have 5 Filters . when i select null. Its not considering the filters. Instead of that it is considering all data.
    PFB screenshot for filter.. Please help to rectify this
    See the way I wrote WHERE clause. If you write like that it will still apply the other filters even when date is NULL
    where BU in (@BU) and Level In (@Level) and [Accreditation Name] in (@AccreditationName)
    and ([Accreditation Start Date] >= @Eligibility_StartDate or @Eligibility_StartDate is null)
    and ([Accreditation Start Date] < @Eligibility_Enddate+1 or @Eligibility_Enddate is null)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Startscen.sh parameter is not working

    Hi all
    Im running a scenario from a shell script in the following fashion
    sh bin/startscen GL_JOURNAL 001 GLOBAL -AGENT_URL=http://mycompanyhost:mycompantport/oraclediagent variable_input_file_name=$INPUT_FILE_NAME
    The scenario starts but the variable value is not being up as the scenario cant find the file name concerned
    If however I hard code the value it works i,e
    sh bin/startscen GL_JOURNAL 001 GLOBAL -AGENT_URL=http://mycompanyhost:mycompanyport/oraclediagent variable_input_file_name=Jan_journal.dat
    The scenario executes successfully, if I echo the variable value it is correct in unix so Im not sure why the first command does not work?
    Any ideas much appreciated
    Thanks

    Problem is with your script. How do you assign value to the $INPUT_FILE_NAME ??
    Bhabani
    http://dwteam.in

  • Multi value parameter is not working

    Hello There,
    I have been facing below issue and tried to find work around but no luck. Before I explain what issue is let me mention my report. I have a simple report developed in SQL 2K12 SP1 with one multiple value parameter and a text box. I have given an action on
    text box where I am calling the same report by passing one of the possible value to multiple value parameter. Now issue is when I am trying to select another value(s) from multiple value parameter and click on view report it does not keeping the selected value
    in parameter. It keeps on holding the same value which was passed on text box click action. Surprisingly this is working fine in SQL 2K8. Please let me know if need more information on the issue and let me know solution on this asap. I am not sure whether
    this is bug in SQL 2K12.
    Regards,
    Bhushan

    Hi Bhushan,
    After testing the issue in my local SQL 2012 SP1 environment, I can reproduce it. And I also test the same scenario in my SQL 2008R2 environment, it works very well.
    If you have any concern about this, please submit a feedback at
    https://connect.microsoft.com/SQLServer/Feedback. Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn
    about and contribute to exciting projects.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • Message with Multiple IDoc's to be sent to Two FTP locations

    HI All, I need your valuable suggestions for the best approach.... Scenario is IDOC > PI>FILE All the Orders's(Orders05) created in SAP for every hour, IDOC's are collected and then a scheduled program sends all these idoc's every hour ... In PI i am

  • Lost preferences and when requesting a batch operation  the  error "The command "Batches" is currently not available."

    For CS6 when I started to work again I had lost screen preferences and when tried to run a batch operation I got the message "The command "Batches" is currently not available."  Where are these files stored and how can I restore them?

  • Updates to Camera RAW

    If the explanation for an update such as 4.3 indicates which cameras it has added to those it covers, do I only need to download this update if I am using one of the cameras, or is it an improvement in general and all users of CS3 should download and

  • Copy Broadcast Setting

    Hi, We are facing issue while copying the broadcast settings. Since I am in support I have admin access and I can view any broadcast setting created by others. I can do a save as and created a copy under my ID. But when an end user is trying to save

  • TNS Refuse error after Redirect using RAC

    First off, I'm using the JDBC driver 10.2.0.4.0 with the "10g data store helper" selected in WebSphere against a 10g database configured for RAC. I don't have the configuration details for the database, but can get them if needed. WebSphere JDBC stri