Data Pump using 11g2 and 11g1 question during migration

Our DBE put our test database on 11g2 and our production on 11g1. Due to some ingest failure we wanted to move the data in test(11g2) to production(11g1) using data pump, however I was told that you cannot go from 11g2 to 11g1. I was also told that because the database contained public synonyms that I would have to recreate all public synonyms. he said it had something to do with lbascys. Can someone clarify this for me..

user11171364 wrote:
... Can I still use these parameters during the import ONLY without having used them during the export.Nope, read the restriction : during the import "+This parameter is valid only when the NETWORK_LINK parameter is also specified.+"
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#sthref299
Consequently, you cannot use it within your dumpfile.
Nicolas.

Similar Messages

  • How to display table data without  using ALV  and table element.

    Hi,
            Its possible to display table data without using ALV  and table element.
           Every time i am fetching data based on (customer,status) fields and displaying these data in my output using alv
           (every time i am fetching single row data ),
           But problem is alv occupying more space in the output , i want to display data part only i dont want field names,
           settings and header data etc..things.
          Give solution to  display data part..
    Regards,
    Rakhi.

    Hi,
    Does you mean that you need ALV without default Function Toolbar...? If this is the case, the easy solution would have been to use Table Element rather. But, if you need to use ALV only without Function Toolbar, you can do away with that as well.
    In that case, after calling GET_MODEL, you need to add few more lines of codes to achieve your goal. Those lines are --
      DATA LV_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
        LV_VALUE = LO_INTERFACECONTROLLER->GET_MODEL(
    * Standard Filter Function setting to FALSE
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_FILTERLINE_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_DISPLAY_SETTINGS_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_VIEW_LIST_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_HEADERCLICK_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_HIERARCHY_ALLOWED( ABAP_FALSE ).
    * Standard Filter Function setting to FALSE Ends
    Here as you can easily notice that LV_VALUE is instantiated on CL_SALV_WD_CONFIG_TABLE. Now, using this LV_VALUE, you set standard functions as False to dis-allow their display.
    Hope this answers your query.
    Thanks.
    Kumar Saurav.

  • Is there a way to do a spelling quiz in captivate using images and not questions as reference.

    Is there a way to do a spelling quiz in captivate using images and not questions as reference. Specifically i want have blank lines underneath an image, where the user looks at the image and types the correct letters to fill in the blank. For example a picture of a dog, with this _ _ _ underneath for the user to fill in, or in some cases perhaps having them fill in the vowel like so "d_g".I must have audio with this , as the students will be able to listen to the audio sound out the word phonetially to help them be able to type it!
    Appreciate any advice! Cheers!

    Hello everybody!
    This widget is great!! Thank you for that!!
    I searched for something like that earlier and made an other workaround:
    http://forums.adobe.com/message/1912430#1912430
    The Javascript did not work in my test. I brought to the "if you reach this slide" feature but it failed.
    Regards,
    Markus

  • Help needed with Export Data Pump using API

    Hi All,
    Am trying to do an export data pump feature using the API.
    while the export as well as import works fine from the command line, its failing with the API.
    This is the command line program:
    expdp pxperf/dba@APPN QUERY=dev_pool_data:\"WHERE TIME_NUM > 1204884480100\" DUMPFILE=EXP_DEV.dmp tables=PXPERF.dev_pool_data
    Could you help me how should i achieve the same as above in Oracle Data Pump API
    DECLARE
    h1 NUMBER;
    h1 := dbms_datapump.open('EXPORT','TABLE',NULL,'DP_EXAMPLE10','LATEST');
    dbms_datapump.add_file(h1,'example3.dmp','DATA_PUMP_TEST',NULL,1);
    dbms_datapump.add_file(h1,'example3_dump.log','DATA_PUMP_TEST',NULL,3);
    dbms_datapump.metadata_filter(h1,'NAME_LIST','(''DEV_POOL_DATA'')');
    END;
    Also in the API i want to know how to export and import multiple tables (selective tables only) using one single criteria like "WHERE TIME_NUM > 1204884480100\"

    Yes, I have read the Oracle doc.
    I was able to proceed as below: but it gives error.
    ============================================================
    SQL> SET SERVEROUTPUT ON SIZE 1000000
    SQL> DECLARE
    2 l_dp_handle NUMBER;
    3 l_last_job_state VARCHAR2(30) := 'UNDEFINED';
    4 l_job_state VARCHAR2(30) := 'UNDEFINED';
    5 l_sts KU$_STATUS;
    6 BEGIN
    7 l_dp_handle := DBMS_DATAPUMP.open(
    8 operation => 'EXPORT',
    9 job_mode => 'TABLE',
    10 remote_link => NULL,
    11 job_name => '1835_XP_EXPORT',
    12 version => 'LATEST');
    13
    14 DBMS_DATAPUMP.add_file(
    15 handle => l_dp_handle,
    16 filename => 'x1835_XP_EXPORT.dmp',
    17 directory => 'DATA_PUMP_DIR');
    18
    19 DBMS_DATAPUMP.add_file(
    20 handle => l_dp_handle,
    21 filename => 'x1835_XP_EXPORT.log',
    22 directory => 'DATA_PUMP_DIR',
    23 filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE);
    24
    25 DBMS_DATAPUMP.data_filter(
    26 handle => l_dp_handle,
    27 name => 'SUBQUERY',
    28 value => '(where "XP_TIME_NUM > 1204884480100")',
    29 table_name => 'ldev_perf_data',
    30 schema_name => 'XPSLPERF'
    31 );
    32
    33 DBMS_DATAPUMP.start_job(l_dp_handle);
    34
    35 DBMS_DATAPUMP.detach(l_dp_handle);
    36 END;
    37 /
    DECLARE
    ERROR at line 1:
    ORA-39001: invalid argument value
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3043
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3688
    ORA-06512: at line 25
    ============================================================
    i have a table called LDEV_PERF_DATA and its in schema XPSLPERF.
    value => '(where "XP_TIME_NUM > 1204884480100")',above is the condition i want to filter the data.
    However, the below snippet works fine.
    ============================================================
    SET SERVEROUTPUT ON SIZE 1000000
    DECLARE
    l_dp_handle NUMBER;
    l_last_job_state VARCHAR2(30) := 'UNDEFINED';
    l_job_state VARCHAR2(30) := 'UNDEFINED';
    l_sts KU$_STATUS;
    BEGIN
    l_dp_handle := DBMS_DATAPUMP.open(
    operation => 'EXPORT',
    job_mode => 'SCHEMA',
    remote_link => NULL,
    job_name => 'ldev_may20',
    version => 'LATEST');
    DBMS_DATAPUMP.add_file(
    handle => l_dp_handle,
    filename => 'ldev_may20.dmp',
    directory => 'DATA_PUMP_DIR');
    DBMS_DATAPUMP.add_file(
    handle => l_dp_handle,
    filename => 'ldev_may20.log',
    directory => 'DATA_PUMP_DIR',
    filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE);
    DBMS_DATAPUMP.start_job(l_dp_handle);
    DBMS_DATAPUMP.detach(l_dp_handle);
    END;
    ============================================================
    I dont want to export all contents as the above, but want to export data based on some conditions and only on selective tables.
    Any help is highly appreciated.

  • Data pump using network_link problem

    Hi,
    I defined a database link for the sys user as:
    create database link xe_remote
    connect to hr
    identified by hr
    using 'xe_remote'
    and it works fine:
    select * from dual@xe_remote
    D
    X
    Then, tried to import with data pump the user hr from xe_remote in the local system, but it seemed that the database link wasn't valid anymore:
    impdp system/pwd schemas=hr network_link=xe_remote remap_schema=hr:hr_remote table_exists_action=replace
    ORA-39001: invalid argument value
    ORA-39200: Link name "xe_remote" is invalid
    ORA-02019: connection description for remote database not found
    Thanks,
    Gianluca

    Hello
    oerr says:
    oerr ora 39149
    39149, 00000, "cannot link privileged user to non-privileged user"
    // *Cause:  A Data Pump job initiated be a user with
    // EXPORT_FULL_DATABASE/IMPORT_FULL_DATABASE roles specified a
    // network link that did not correspond to a user with
    // equivalent roles on the remote database.
    // *Action: Specify a network link that maps users to identically privileged
    // users in the remote database.
    Solution:
    Create a db link from hr_remote to hr
    or
    Create a db link from system to system (I think, it's easier, because you have all rights...)
    Greetings
    Sven

  • Data pump using table query

    I am trying to perform a data pump export on a table using a query within a parfile and I am getting some odd behaviour. The database version is 10.2.0.4.3 and the OS is AIX 5.3. The query looks like this.
    QUERY="POSDECLARATIONQUEUE:where SESSIONID in (select 'B.SESSIONID' from POSACCOUNT A, POSDECLARATIONQUEUE B, POSDECLARATIONSESSION C where 'B.SESSIONID' = 'C.ID' and 'C.ACCOUNTID' = 'A.ID' and 'A.SITE' = '10252')"
    This works but gets 0 rows. If I run the query against the instance in an SQLPlus session as below then I get 0 rows returned.
    select * from POSDECLARATIONQUEUE where SESSIONID in (select 'B.SESSIONID' from POSACCOUNT A, POSDECLARATIONQUEUE B, POSDECLARATIONSESSION C where 'B.SESSIONID' = 'C.ID' AND 'C.ACCOUNTID' = 'A.ID' and 'A.SITE' = '10252');
    If I take out the single quotes from around the columns within the query against the instance within SQLPlus, I get over 2000 rows returned.
    SQL> select count(*) from POSDECLARATIONQUEUE where SESSIONID in (select B.SESSIONID from POSACCOUNT A, POSDECLARATIONQUEUE B, POSDECLARATIONSESSION C where B.SESSIONID = C.ID and C.ACCOUNTID = A.ID and A.SITE = 10252);
    COUNT(*)
    2098
    If I remove the single quotes from the parfile query then I get the following error within the data pump export.
    UDE-00014: invalid value for parameter, 'schemas'.
    The SCHEMAS option is not specified within the parfile and the TABLES option only specifies the table POSDECLARATIONQUEUE.
    Can someone assist with this, I just can't seem to be able to get the syntax right for it to work within data pump.
    Kind Regards.
    Graeme.
    Edited by: user12219844 on Apr 14, 2010 3:34 AM

    It looks like your query might be a little wrong:
    This is what you have:
    QUERY="POSDECLARATIONQUEUE:where SESSIONID in (select 'B.SESSIONID' from POSACCOUNT A, POSDECLARATIONQUEUE B, POSDECLARATIONSESSION C where 'B.SESSIONID' = 'C.ID' and 'C.ACCOUNTID' = 'A.ID' and 'A.SITE' = '10252')"
    This is what I would have thought it should look like:
    QUERY=POSDECLARATIONQUEUE:"where SESSIONID in (select B.SESSIONID from POSACCOUNT A, POSDECLARATIONQUEUE B, POSDECLARATIONSESSION C where B.SESSIONID = C.ID and C.ACCOUNTID = A.ID and A.SITE = 10252)"
    You want double " arount the complete query, and you don't need the single ' around all of the =. The single ' are treating those values as strings and it says
    'B.SESSIONID' = 'C.ID'
    is the string B.SESSIONID equal to the string C.ID
    In your query that you used in sql was
    B.SESSIONID = C.ID
    which says is the value stored B.SESSIONID equal to the value stored at C.ID
    Which is what you want.
    Dean

  • High sample rate data acquisition using DAQ and saving data continuously. Also I would like to chunck data into a new file in every 32M

    Hi: 
      I am very new to LabView, so I need some help to come up with an idea that can help me save data continuously in real time. Also I don't want the file to be too big, so I would like to crete a new file in every 32 mega bytes, and clear the previous buffer. Now I have this code can save voltage data to TDMS file, and the sample rate is 2m Hz, so the volume of data increase very fast, and my computer only have 2G ram, so the computer will freeze after 10 seconds I start to collect data. I need some advise from you briliant people.
    Thanks very much I really appreciate that. 
    Solved!
    Go to Solution.
    Attachments:
    hispeedisplayandstorage.vi ‏33 KB

    I am a huge proponent of the Producer/Consumer architecture.  But this is the place I advise against it.  The DAQmx Configure Logging does all of it for you!
    Note: You will want to use a Chart instead of a graph here.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    hispeedisplayandstorage_BD.png ‏36 KB

  • Schema export via Oracle data pump with Database Vault enabled question

    Hi,
    I have installed and configured Database Vault on an Oracle 11g-r2-11.2.0.3 to protect a specific schema (SCHEMA_NAME) via a realm. I have followed the following doc:
    http://www.oracle.com/technetwork/database/security/twp-databasevault-dba-bestpractices-199882.pdf
    to ensure that the sys and the system user has sufficient rights to complete a schedule Oracle data pump export operation.
    I.e. I have granted to sys and system the following:
    execute dvsys.dbms_macadm.authorize_scheduler_user('sys','SCHEMA_NAME');
    execute dvsys.dbms_macadm.authorize_scheduler_user('system','SCHEMA_NAME');
    execute dvsys.dbms_macadm.authorize_datapump_user('sys','SCHEMA_NAME');
    execute dvsys.dbms_macadm.authorize_datapump_user('system','SCHEMA_NAME');
    I have also create a second realm on the same schema (SCHEMA_NAME) to allow sys and system to maintain indexes for real-protected tables, To allow a sys and system to maintain indexes for realm-protected tables. This separate realm was created for all their index types: Index, Index Partition, and Indextype, sys and system have been authorized as OWNER to this realm.
    However, when I try and complete an Oracle Data Pump export operation on the schema, I get two errors directly after the following line displayed in the export log:
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX:
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_MGMT_NOTIFY_QTABLE_S','SYSMAN',1,1,'11.02.00.00.00',newblock)
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 9081
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_MGMT_LOADER_QTABLE_S','SYSMAN',1,1,'11.02.00.00.00',newblock)
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 9081
    The export is completed but with this errors.
    Any help, suggestions, pointers, etc actually anything will be very welcome at this stage.
    Thank you

    Hi Srini,
    Thank you very much for your help. Unfortunately after having followed the instructions of the DOC I am still getting the same errors ?
    none the less thank you for your input.
    I was also wondering if someone could tell me how to move this thread to the Database Security area of the forum, as I feel I may have posted the thread in the wrong place as it appears to be a Database Vault issue and not an imp/exp problem. ?
    Edited by: zooid on May 20, 2012 10:33 PM
    Edited by: zooid on May 20, 2012 10:36 PM

  • Transferring using AOL and Upgrade Question

    I've done some research and saw that I will need to do an AOL to move to my wife's family plan but I had a question about upgrading. Right now I am eligible for the NE2 but my question is if I decide not to use it (because Droid 3 BOGO would be cheaper) would I still be eligible for an upgrade? Since she has an NE2 option right now too wouldn't it be smart for me to go on her plan and get two Droid 3's for 149.99? I just wouldn't want to move over to her line and lose my upgrade.
    Also, since someone else is on my plan currently would they just get put on an individual account?
    I'm sure this is somewhere but I wanted to ask because I could no find it! Thank you!

    If you want to take advantage of the BOGO offer, you'll want to do the AoL first, as you've described.
    When you do the AoL, you will lose your New Every 2 credit, but your line will still be eligible for an upgrade, the contract end date will not change.
    I think the BOGO will definitely give you a better value than using your NE2 credit, I say go for it!

  • How do you generate random data info using json and spry?

    I have a mobile applicaton that uses spry datasets that dynamically populate a jquery mobile listview by using a json file. Everything is operating as it should.
    However, I would like to understand how to pull random objects from the json file to have them displayed on a different page.
    My json file is standard and not complicated. It has several levels. Each is represented as below:
                                  { "Level1":
                                                                {"imageurl":"images/_myimage.png",
                                                                "someData":"S,A,P,R",
                                                                "levelLongDesc":"further description",
                                                                "name": "John Doe",
                                                                "page": "referencepage",
                                                                "description":"The description of the image"
    {"imageurl":"images/_myimage.png",
      "someData":"S,A,P,R",
      "levelLongDesc":"further description",
      "name": "John Doe",
      "page": "referencepage",
      "description":"The description of the image"
    Json file Level1 has about 70 objects
    What I would like to do is randomly load one of the Level1 object arrays into the page when the user selects a Level 1 radio button that is on the screen. I know how to create the page, radio buttons and basics, but just don't know how to pull in the random data.
    I've found one code sample on this site that speaks to spry and xml, but I haven't been able to apply it in any way that works for me with the json file:
    http://forums.adobe.com/message/662551
    I've also googled. There isn't much on spry datasets with json and generating random info. There was a little bit on sorting, but that didn't help either.
    Does anyone have a good example/tutorial of how to use the random function with spry/json?
    TIA
    -Rachel

    I've done similar things before.  A few thoughts for you:
    1. I'm assuming you're doing a buffered period or frequency measurement on the incoming encoder pulses, right?  First key point is that you'll have data that is spaced equally in position, but not equally in time.  If you are looking for a time-based FFT such that increasing speed will shift your spectrum, you're going to need to go through an interpolation process to resample your data as though equally-spaced in in time. 
    2. Your 149 pulse per rev encoder may be a significant source of error unless its 149 pulses are placed with extreme accuracy.  Any error in pulse placement violates your underlying assumption of data that is equally-spaced in position.  It'll be very helpful to send your data through a software lowpass filter to attenuate those artifacts. 
    3. I am not sure what you mean by "decompose the buffered data (array) into a single datastream."  You'll get an array of periods / frequencies from the call to DAQmx Read.  If you want to use it in a LabVIEW waveform datatype, you'll first need to do the resampling to create equally-spaced-in-time data.  The LabVIEW waveform datatype (and all the analysis functions like FFT that use it) depend on receiving data with a fixed constant time interval between samples.
    -Kevin P.

  • Data Binding using DataSet and ComboBox

    Hi guys, hope someone can help me with this. Seems it should
    be simple, but it's not, that's why I'm here. I have data loading
    into a DataSet component. I have a ComboBox on the stage with
    predefined values and lables, so it's not dynamic at all. After
    loads into the DataSet I have the value Bound to the the Combobox,
    but nothing is being selected. I know the ComboBox is a little bit
    trickier, unlike the Textfield or TextInput wich work right away.
    Again, hope someone can help.

    Hi,
    I think the data binding concept you asked for Dropdown listboxes and RadioButtonGroups .If My Guess Correct follow the links provided here you may get useful information,
    [http://help.sap.com/SAPHELP_NW70EHP1/helpdata/EN/bb/69b441b0133531e10000000a155106/content.htm]
    for Example refer this link,
    [http://help.sap.com/saphelp_nw04/helpdata/en/74/450e8af57065468e88e4b86de47e4b/frameset.htm]
    Hope This information Useful for you.
    Regards,
    Raghava Channooru.

  • No data found using APEX_APPLICATION and next pagination

    Hi,
    I have a problem with a report. I used :
    one APEX_item.CHECKBOX(1,rownum)
    one APEX_item.select_list_from_lov
    two APEX_item.text
    and a APEX_item.hidden
    And I created a process to update data.
    I have 171 rows in my report and 15 rows are displayed for each page.
    My process work fine if i checked rows in my first page, but if I choose an item in my next 15 rows (with next pagination), I got a "no data found" error.
    It looks like, Apex don't found the next 15 rows id.
    I need your help to fix it.
    tks a lot
    Benn

    Hi all,
    I have the same problem with another report, here is part of my code :
    DECLARE
    q VARCHAR2 (30000);
    tbl VARCHAR2 (30000);
    w varchar2(500);
    n varchar2(3);
    BEGIN
    q := ' select APEX_ITEM.CHECKBOX(14,rownum) id,x.Nom,' ||
    'APEX_ITEM.SELECT_LIST_FROM_LOV(11,x.IdHoraire,''' ||
    'LISTE DES HORAIRES DE TRAVAIL' || ''',null,''' || 'NO' || ''') as Horaire,' ||
    'APEX_ITEM.CHECKBOX(12,x.TechAccredite,' ||
    'decode(x.TechAccredite,null,null,' || '''CHECKED''' || ')) Accredite, ' ||
    'APEX_ITEM.TEXT(13,x.Numero,10,10,' ||
    '''onblur="javascript:if(!valider_telephone(1,this.value)){alert(''' ||
    '''Numero non valide''' || '''); this.focus();};"''' || ') Tel, ' ||
    'APEX_ITEM.HIDDEN(10,x.IdCT) as ICT';
    q := q || ' from (';
    tbl := ' a valide select statement';
    q := q || tbl || ' ) x ';
    w := ' where ';
    w := w || ' x.IdDepot = decode(:P97_IDDEPOT,-1,x.IdDepot,:P97_IDDEPOT) ';
    w := w || ' or x.IdDepot is null ';
    w:= w || ' order by 2';
    q := q || w;
    RETURN q;
    END;
    and I created a process :
    declare
    res varchar2(100);
    id number;
    Begin
    res := 'res';
    for i in 1..APEX_APPLICATION.G_F14.count loop
    id := to_number(APEX_APPLICATION.G_F14(i));
    res := res || ' i=' || i || ' rownum ' || id || ' th ' ||
    APEX_APPLICATION.G_F11(APEX_APPLICATION.G_F14(i));
    end loop;
    :P97_POUB := res;
    End;
    My process just print the 'res' in an item named P97_POUB, so I can see if evry thing works.
    But I still have a no data found error.
    Benn

  • How to get or show multiple record data pagewise using JSPBean and HTML

    Hi ,
    I am using JSP bean for getting the data from database and html toe present the data.
    The problem is when the user inputs data
    in the search field and clicks on Search button ,i need to get all matching rows fromw the database ,which i am already getting.
    Now if i have got suppose 100 rows i need to show 6 recrods on each page the rest should be shown when the user clicks NEXT or PREV buttons.
    example
    Name: input data here
    Description: input data here
    SEARCH Button
    Show here the first 6 records
    PREV 1 2 3 4 5..... NEXT
    The page will look somewhat like this.
    So the rows will be shown just below the search fields .If i am getting more than 6 record i should show PREV and NEXT with the number for each page holding 6 records.
    Have anybody worked on such thing can you help me out .
    Thanks

    Hi This may help, Previous does not work properly, coz I didnt find much difficult to code so you can build on your own from Next option logic
    Here is the code. Here and there couple of probs exist but they are solvable easily,
    <HTML>
    <%@ page language="java"
         import="
         java.util.* "
    %>
    <%!
         Vector customers;
    %>
    <%!
    void dummyMethod()
         customers = new Vector();
         for (int i=0;i<30;++i)
              // Prints only one time when browser opened first time.
              System.out.println("I:"+i);
              customers.add(i+"");
    %>
    <body>
    <script language=JavaScript>
    function getNextRows(begin,end)
         document.frmPage.begin.value = begin;
         document.frmPage.end.value = end;
         document.frmPage.which.value = "next";
         document.frmPage.action = "getRows.jsp";
         document.frmPage.method="post";
         document.frmPage.submit();
    function getPrevRows(begin,end)
         document.frmPage.begin.value = begin;
         document.frmPage.end.value = end;
         document.frmPage.which.value = "prev";
         document.frmPage.action = "getRows.jsp";
         document.frmPage.method="post";
         document.frmPage.submit();
    </script>
    </body>
    <%! int x = 0; %>
    <HEAD>
    <TITLE>Customer Account Information</TITLE>
    <META HTTP-EQUIV="Expires" CONTENT="0">
    </HEAD>
    <BODY BGCOLOR = "#FFFFFF" >
    <form name=frmPage>
    <input type=hidden name="begin" value="0">
    <input type=hidden name="end" value="10">
    <input type=hidden name="which" value="">
    <H2 ALIGN="CENTER"><FONT COLOR="#000099">Customer Account Information</FONT></H2>
    <H2><FONT COLOR="#000099"></FONT></H2>
    <P>
    <TABLE BORDER="1" cellpadding="0" cellspacing="0" WIDTH="80%" ALIGN="CENTER">
    <TR>
    <TD WIDTH="10%" BGCOLOR="#CCCCFF"><FONT FACE="Italic">Acct# </FONT> </TD>
    </TR>
    <%
    int begin = Integer.parseInt((request.getParameter("begin")==null)?"0":request.getParameter("begin"));
    int end = Integer.parseInt((request.getParameter("end")==null)?"10":request.getParameter("end"));
    int max=0;
    if (request.getSession(false).isNew() ||
    request.getSession(false) == null)
         dummyMethod();
    max = customers.size();
    String     which = (request.getParameter("which")==null)?"next":request.getParameter("which");
    if (which.equals("next"))
         for (x = begin; x < max && x <= end; ++x)
              out.println("<TR>"+
                   "<TD WIDTH='50%' BGCOLOR='#CCFFCC'>"+customers.elementAt(x)+"</TD>"+
                   "</TR>");
         begin = end;
         end +=10;
    else
         for (x=begin; x <max &&x <= end; --x)
              out.println("<TR>"+
                   "<TD WIDTH='50%' BGCOLOR='#CCFFCC'>"+customers.elementAt(x)+"</TD>"+
                   "</TR>");
         end = begin;
         begin -=10;
    %>
    </TABLE>
    <%
         if (begin == max)
              out.println("<tr><td>Next  <a href='javascript:getPrevRows("+begin+","+end+")'>Previous </a></td></tr>");
         else
              out.println("<tr><td><a href='javascript:getNextRows("+begin+","+end+")'>Next </a></td></tr>");
    %>          
    </BODY>
    </HTML>

  • How to get currect date by using month and year

    hai,
    By using month like 'Jul' and year like 2007 i want to get full date like 01/06/2007(format).Please give me query for this?My fields for month and year are respectively vr_mnth(varchar) and in_year(number)

    i used to_date function but it accepts only one string .if i give like this
    to_date(vr_mnth,in_year,'dd/mm/yy') it will gives me syntax error.
    If i give like this vr_mtnh='Jan'
    to_date(vr_mtnh,'Mon') it will give output
    01/01/2008 it shows me current year
    if i choose from table wich is strored with month-'Jul' and year=2006 it shows me
    01/07/2008 only .It doesn't shows me that 2006 year
    If i give in_year in to_date it gives me that currect year.
    Ex:to_date(in_year,'YY')..............>01/01/2006
    Individually to_date function works fine but i want to club both to get accurate date format of specified month and year.Is there any function for that in sql to get 01/07/2006?

  • Linking errors whlie running C examples of data acquisition using niScope and visual C++

    hello,
    I have an NI PXIe-1071 chassis with 2 PXI 5154 digitizer cards and NI PXIe 8102 controller.
    I am trying to acquire data using the same. Right now I am trying to compile some of the C based examples given in the documentation of niScope. But I am unable to do so. for instance when I tried to run "ConfigureAcquisition.c ". I am having many errors like the one given below.
    error LNK2019: unresolved external symbols _niScope_init@16 referenced in function _niScope_GenericConfiguredAcquisition@0
    for every niScope based function used in the example it is showing the same error. 
    I have only 2 files niScope.h and niScope.lib. In niScope.h there are declarations for each function but their definition is not there and I came to know that I also require source file of the same to avoid the error. Is this true????
    if I dont reqire source file please suggest me how to avoid such errors. and if I require source file from where I could find it as I talked with NI people and one of the application engineer told me that this is not available with them. 
    Please help me with the same.
    regards
    Sagar

    Try adding the appropriate source files from C:\Users\Public\Documents\National Instruments\NI-SCOPE\examples\c\common. With the errors posted by vijay, I would suggest adding asciiplot.c and GenericMultiRecord.c.
    National Instruments
    Product Support Engineer

Maybe you are looking for

  • Media encoder cs 6 and cuda  Ge Force gtx 780

    HI I have a new graphics card   it is the Gigabyte GeForce 780 I have CC and CC 2014  and also CS6    I notice that if encode using AME I can see Cuda enabled in the encoder window and the option to use software only as well. I don't see that option

  • Using FPGA program to collect data for long time without 'gap'

    Our data collection system has a NI-PCIe 7852R card. We want to collect data at up to 10 KHz for up to 10 to 30 minutes. The data amount is too large so we have to separated them into multiple Array and save in multiple files. We do not want to loose

  • Symbol Inside A Symbal

    I'm trying to create a banner for a web page. I got the idea from one of the tutorials found in help. There is the problem It tells you to insert a new symbol call it "imageHolder" set the size 700X150 X and Y should be 0. That goes ok then I try to

  • How can i open readerxl in english language

    adobe reader xl will only open in portuguese so how do i change to open in english language?

  • How do I correct my name in iCloud settings details?

    When I go into 'details' for my iCloud account in the mail/contacts settings, or when I go into 'account details' in the icloud settings, my Full Name is listed as my wife's name. No matter how many times I manually change it in either place, it keep