Flashback_scn and Flashback_time expdp parameter

Does flashback needs to be enabled to use the expdp parameters flashback_time,flashback_scn?
Regards

The command 'ALTER DATABASE FLASHBACK ON' turns on flashback logging (archive of undo), normally stored in the Flash or Fast Recovery Area (FRA). It is used to enable the "Flashback Database" feature.
Datapump does not use Flashback Database; it uses Flashback Query, which uses the UNDO tablespace. Since the Undo tablesapce works in a circular fashion, your ability to use Flashback Query by TIME or SCN will depend on its size and Undo retention policy.
Edited by: Markus Waldorf on Sep 4, 2010 10:42 AM

Similar Messages

  • Data pump with flashback_scn or flashback_time

    Dear Gurus,
    The Oracle database version in used is 11gR2. We don't have flashback enabled for the database. However to run a data pump export with consistency, can we turn on FLASHBACK_SCN or FLASHBACK_TIME?
    Best
    rac110g

    How to set the parameter
    The logical conclusion and field-tested best practice approved by Oracle Support is, to set the UNDO_RETENTION parameter to at least the estimated time for the data pump import. Don’t forget to size your UNDO tablespace accordingly, since the retention only works as long as there is enough undo space available.
    Note
    IMPDP uses flashback technology (flashback table) on the source database to achive consistency, so the UNDO tablespace there is worth a glance as well.
    check this one link for expdp/impdp undo requirements and possible problems
    http://www.usn-it.de/index.php/2010/05/05/oracle-impdp-ora-1555-and-undo_retention/
    Edited by: Asad99 on Mar 26, 2013 10:42 PM

  • ORA-32004: obsolete and/or deprecated parameter(s) specifiedORACLE instance

    Hi friends,
    i am trying to install BIW 3.0b (win-2000, oracle 9.2.0.1.0 (patch 9.1.0.4.1)& j2sdk 1_4_1)
    while installing database instance i am getting this problem.
    INFO 2007-09-26 15:57:09
    Copying file C:/SAPinst ORACLE KERNEL/keydb.xml to: C:/SAPinst ORACLE KERNEL/keydb.1.xml.
    INFO 2007-09-26 15:57:09
    Creating file C:\SAPinst ORACLE KERNEL\keydb.1.xml.
    INFO 2007-09-26 15:58:14
    Processing of host operation t_HostInfo_SHARED succeeded.
    INFO 2007-09-26 15:58:35
    The 'saploc' share exists at directory 'E:\usr\sap'. Choosing drive E: as SAP System drive.
    INFO 2007-09-26 16:00:26
    Copying file C:/dump/export1/DB/ORA/DBSIZE.XML to: DBSIZE.XML.
    INFO 2007-09-26 16:00:26
    Creating file C:\SAPinst ORACLE KERNEL\DBSIZE.XML.
    INFO 2007-09-26 16:00:26
    Copying file system node C:\dump\export1/DB/ORA/DBSIZE.XML with type NODE to DBSIZE.XML succeeded.
    INFO 2007-09-26 16:00:26
    Processing of all file system node operations of table tORA_filecopy succeeded.
    INFO 2007-09-26 16:00:26
    Copying file C:/SAPinst ORACLE KERNEL/DBSIZE.XML to: C:/SAPinst ORACLE KERNEL/DBSIZE.1.XML.
    INFO 2007-09-26 16:00:26
    Creating file C:\SAPinst ORACLE KERNEL\DBSIZE.1.XML.
    INFO 2007-09-26 16:00:26
    Copying file C:/dump/export1/DB/DDLORA.TPL to: DDLORA.TPL.
    INFO 2007-09-26 16:00:26
    Creating file C:\SAPinst ORACLE KERNEL\DDLORA.TPL.
    INFO 2007-09-26 16:00:26
    Copying file system node C:\dump\export1/DB/DDLORA.TPL with type NODE to DDLORA.TPL succeeded.
    INFO 2007-09-26 16:00:26
    Processing of all file system node operations of table tORA_filecopy succeeded.
    INFO 2007-09-26 16:00:33
    Moving file C:/SAPinst ORACLE KERNEL/DDLORA.TPL to: orig_ddl_ora_tmp.tpl.
    INFO 2007-09-26 16:00:33
    Moving file C:/SAPinst ORACLE KERNEL/changed_ddl_ora_tmp.tpl to: DDLORA.TPL.
    INFO 2007-09-26 16:00:33
    Removing file C:/SAPinst ORACLE KERNEL/orig_ddl_ora_tmp.tpl.
    INFO 2007-09-26 16:02:00
    Package table created
    PHASE 2007-09-26 16:02:10
    SAP Business WareHouse
    PHASE 2007-09-26 16:02:10
    SAP Web Application Server
    PHASE 2007-09-26 16:02:10
    Request common parameters of SAP System
    PHASE 2007-09-26 16:02:10
    Create operating system accounts
    INFO 2007-09-26 16:02:10
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1004 ACCOUNTNAME=biwdev\SAP_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-09-26 16:02:10
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1005 ACCOUNTNAME=biwdev\SAP_BWD_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-09-26 16:02:10
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1006 ACCOUNTNAME=biwdev\SAP_BWD_GlobalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Global Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-09-26 16:02:10
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1007 ACCOUNTNAME=ORA_BWD_DBA ACCOUNTTYPE=GROUP CONDITION=YES DESCRIPTION=Database Operator Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-09-26 16:02:10
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1008 ACCOUNTNAME=ORA_BWD_OPER ACCOUNTTYPE=GROUP CONDITION=YES DESCRIPTION=Database Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-09-26 16:02:10
    Processing of all account operations of table t_SAPComponent_Accounts_Accounts_SHARED succeeded (operation CREATE).
    INFO 2007-09-26 16:02:15
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1009 ACCOUNTNAME=biwdev\bwdadm ACCOUNTTYPE=USER DESCRIPTION=SAP System Administrator MEMBERSHIP=biwdev\SAP_BWD_GlobalAdmin,biwdev\Users,Administrators,ORA_BWD_DBA,ORA_BWD_OPER,biwdev\SAP_LocalAdmin,biwdev\SAP_BWD_LocalAdmin MEMBERSHIPSEPARATOR=, OPMODE=CREATE USERPASSWORD=*...  succeeded.
    INFO 2007-09-26 16:02:15
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1010 ACCOUNTNAME=biwdev\SAPServiceBWD ACCOUNTTYPE=USER CONDITION=YES DESCRIPTION=SAP System Service Administrator MEMBERSHIP=biwdev\SAP_BWD_GlobalAdmin,Administrators,ORA_BWD_DBA,ORA_BWD_OPER,biwdev\SAP_LocalAdmin,biwdev\SAP_BWD_LocalAdmin MEMBERSHIPSEPARATOR=, OPMODE=CREATE USERPASSWORD=*...  succeeded.
    INFO 2007-09-26 16:02:15
    Processing of all account operations of table t_SAPComponent_Accounts_Accounts_SHARED succeeded (operation CREATE).
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    INFO 2007-09-26 16:02:17
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-1844237615-963894560-725345543-1009' on host 'biwdev'!
    INFO 2007-09-26 16:02:17
    Successfully added privileges 'SeServiceLogonRight SeNetworkLogonRight' to account 'biwdev\SAPServiceBWD' on host 'biwdev'!
    INFO 2007-09-26 16:02:17
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'biwdev\bwdadm' on host 'biwdev'!
    INFO 2007-09-26 16:02:18
    Evaluating all 'tNT_RegistryEntries' table rows succeeded.
    INFO 2007-09-26 16:02:19
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:20
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:21
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:21
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:22
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:23
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:24
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:24
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:53
    Creating directory E:\oracle\BWD\sapdata1\system_1.
    INFO 2007-09-26 16:02:53
    Creating file system node E:\oracle\BWD/sapdata1\system_1 with type DIRECTORY succeeded.
    INFO 2007-09-26 16:02:53
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2007-09-26 16:02:53
    Processing of all file system node operations of table tORA_DatabaseServerNodes succeeded.
    INFO 2007-09-26 16:02:53
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2007-09-26 16:02:55
    Copying file C:/dump/master/NT/COMMON/INSTALL/INITSID.ORA to: E:\oracle\ora92\database\initBWD.ora.
    INFO 2007-09-26 16:02:55
    Creating file E:\oracle\ora92\database\initBWD.ora.
    INFO 2007-09-26 16:02:55
    Copying file system node C:\dump\master/NT/COMMON/INSTALL/INITSID.ORA with type FILE to E:\oracle\ora92\database\initBWD.ora succeeded.
    INFO 2007-09-26 16:02:55
    Copying file C:/dump/master/NT/COMMON/INSTALL/INITSID.SAP to: E:\oracle\ora92\database\initBWD.sap.
    INFO 2007-09-26 16:02:55
    Creating file E:\oracle\ora92\database\initBWD.sap.
    INFO 2007-09-26 16:02:55
    Copying file system node C:\dump\master/NT/COMMON/INSTALL/INITSID.SAP with type FILE to E:\oracle\ora92\database\initBWD.sap succeeded.
    INFO 2007-09-26 16:02:55
    Copying file C:/dump/master/NT/COMMON/INSTALL/INITSID.DBA to: E:\oracle\ora92\database\initBWD.dba.
    INFO 2007-09-26 16:02:55
    Creating file E:\oracle\ora92\database\initBWD.dba.
    INFO 2007-09-26 16:02:55
    Copying file system node C:\dump\master/NT/COMMON/INSTALL/INITSID.DBA with type FILE to E:\oracle\ora92\database\initBWD.dba succeeded.
    INFO 2007-09-26 16:02:55
    Processing of all file system node operations of table tORA_ServerConfig_FORMS succeeded.
    INFO 2007-09-26 16:02:57
    Processing of adapt operation tORA_ServerConfig succeeded.
    INFO 2007-09-26 16:02:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-09-26 16:03:02
    Moving file E:/oracle/ora92/database/initBWD.ora to: orig_init_ora_tmp.txt.
    INFO 2007-09-26 16:03:02
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: E:\oracle\ora92\database\initBWD.ora.
    INFO 2007-09-26 16:03:02
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    WARNING 2007-09-26 16:03:02
    PROBLEM: 'E:\oracle\ora92/bin/oradim' not found. CAUSE: Unable to find application via absolute path in filesystem. Application could perhaps be found using environment variable path or is really missing. Trying to call the application nevertheless.
    WARNING 2007-09-26 16:03:02
    PROBLEM: 'E:\oracle\ora92/bin/oradim' not found. CAUSE: Unable to find application via absolute path in filesystem. Application could perhaps be found using environment variable path or is really missing. Trying to call the application nevertheless.
    INFO 2007-09-26 16:03:02
    'E:\oracle\ora92/bin/oradim -new -sid BWD -STARTMODE auto' returned with '20'.
    INFO 2007-09-26 16:03:04
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-09-26 16:03:06
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2007-09-26 16:03:13
    CJS-00084  SQL Statement or Script failed. Error Message: ORA-32004: obsolete and/or deprecated parameter(s) specifiedORACLE instance started.
    ERROR 2007-09-26 16:03:13
    FJS-00012  Error when executing script.
    Please let me know, what was tha problem.
    Regards,
    satish

    I suggest you upgrade your Oracle installation to 9.2.0.7 or 9.2.0.8 and then try again.
    Markus

  • Obsolete and/or deprecated parameter(s) specified  for plsql_compiler_flags

    Hi All,
    After upgrading the from 10.2.0.1 to 10.2.0.4 on linux. I am getting ORA-32004: obsolete and/or deprecated parameter(s) specified error for plsql_compiler_flags.
    in alert log says
    Deprecated system parameters with specified values:
    plsql_compiler_flags
    End of deprecated system parameter listing
    Could you please help me how to fix this problem.
    Thanks

    Thank you Pavan and oradba.
    even after changing to
    ALTER SYSTEM SET plsql_compiler_flags = 'NATIVE' SCOPE=SPFILE;
    ALTER SYSTEM SET plsql_code_type = "NATIVE" SCOPE=SPFILE;
    still I am getting same error. Could you please help me to fix this problem.
    Thanks

  • What reason ORA-32004: obsolete and/or deprecated parameter(s) specified  ?

    Hi
    ORA-32004: obsolete and/or deprecated parameter(s) specified
    Whenever i changed my test database from noarchive log mode to archive log mode, after i changed ,i startup database the above error occured.
    following steps i do it,
    SQL> archive log list;
    Database log mode           No Archive Mode
    Automatic archival           Disable
    Archive destination:           c:\oracle\ora90\rdbms
    Oldest on-line log sequence     0
    Next log sequence           0
    Current log sequence           0
    Change your database No Archive mode to Archive mode
    Your Database must in mount stage
    SQL>shutdown immediate
    SQL>startup mount
    SQL> archive log list;
    Database log mode           No Archive Mode
    Automatic archival           Disable
    Archive destination:           c:\oracle\ora90\rdbms
    Oldest on-line log sequence     0
    Next log sequence           0
    Current log sequence           0
    SQL> alter database archivelog;
    Database altered.
    SQL> archive log list;
    Database log mode           Archive Mode
    Automatic archival           Disable
    Archive destination:           c:\oracle\ora90\rdbms
    Oldest on-line log sequence     0
    Next log sequence           0
    Current log sequence           0
    SQL>alter database open;
    SQL>archive log list
    Database log mode           Archive Mode
    Automatic archival           Disable
    Archive destination:           c:\oracle\ora90\rdbms
    Oldest on-line log sequence      0
    Next log sequence           0
    Current log sequence           0
    Automatic archival – Disable (the database archive mode but automatic
    archival disable
    So datas not archive.you must enable the automatic archival)
    SQL>archive log start; (session level only enabled not instance level)
    SQL> archive log list;
    Database log mode           Archive Mode
    Automatic archival           Enable
    Archive destination:           c:\oracle\ora90\rdbms
    Oldest on-line log sequence     0
    Next log sequence           0
    Current log sequence           0
    If you want set instance level you change in parameter file
    SQL>show parameter log_archive_start
    Name                    Type           Value
    log_archive_start boolean      FALSE
    SQL>alter system set log_archive_start=true scope=spfile
    System altered.
    SQL>shut immediate
    SQL>startup
    ORA-32004: obsolete and/or deprecated parameter(s) specified
    Database open.
    sql>
    But i resolved the problem
    I want know the reason why the above error occured
    database version : 10g
    os : xp ( my laptop) Not office database
    Regards
    S.Azar
    DBA

    >
    SQL>alter system set log_archive_start=true scope=spfile
    System altered.
    SQL>shut immediate
    SQL>startup
    ORA-32004: obsolete and/or deprecated parameter(s) specified
    >
    Precisely that parameter LOG_ARCHIVE_START is obsolete in 10g. You also don't need to enable the archiving with
    archive log start
    Simply changing into archive mode also brings up archiver processes since 10g :-)
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • How to auto login and pass data (parameter) to ApEx at the same time

    Does anybody know how to automatically login to apex (e.g. from JSP page) and pass a parameter value at the same time? I can use wwv_flow_custom_auth_std to login, I can even choose a page but I cannot pass any data (at least I do not know how). If I use f?p URL syntax I can pass data but there is no way to pass login/password information.
    Any idea? Thanks Jaros

    Jaros -
    You could copy your login page and make the new page "public". On the new page, add a process before the login process that sets the value of application item FSP_AFTER_LOGIN_URL to the report page URL (with the arguments), e.g.,   :FSP_AFTER_LOGIN_URL := 'f?p=&APP_ID.:100:&SESSION.::NO::P100_X,P100_Y:&RPT_VALUE1.,&RPT_VALUE2.';Create application-level items RPT_VALUE1 and RPT_VALUE2 in the application.
    From your external page, POST to this new "login" page, passing values for the username, password, rpt_value1, and rpt_value2 items.
    Let us know if it works.
    Scott

  • How to assign Values to nested table and pass as parameter to procedure?

    How to assign Values to nested table and pass as parameter to procedure?
    Below is the Object and its type
    create or replace type test_object1 as object
    val1 varchar2(50),
    val2 varchar2(50),
         val3 varchar2(50)
    create or replace type test_type1 is table of test_object1;
    create or replace type test_object2 as object
    val1 varchar2(50),
    val2 varchar2(50),
         val3 varchar2(50)
    create or replace type test_type2 is table of test_object2;
    GRANT ALL ON test_object1 TO PUBLIC;
    GRANT ALL ON test_type1 TO PUBLIC;
    GRANT ALL ON test_object2 TO PUBLIC;
    GRANT ALL ON test_type2 TO PUBLIC;
    here is the table made of object type:
    create table test_object_tpe
    sl_num NUMBER,
    description VARCHAR2(100),
    main_val1 test_type1,
    main_val2 test_type2
    NESTED TABLE main_val1 STORE AS tot1
    NESTED TABLE main_val2 STORE AS tot2;
    here is the procedure which inserts values into nested table:
    PROCEDURE INSERT_TEST_DATA(sl_num IN NUMBER,
    description IN VARCHAR2,
    p_main_val1 IN test_type1,
    p_main_val2 IN test_type2
    IS
    BEGIN
    FOR rec in p_main_val1.first..p_main_val1.last
    LOOP
    INSERT INTO xxdl.test_object_tpe
    sl_num,
    description,
    main_val1,
    main_val2
    VALUES
    sl_num
    ,description
    ,test_type1 (test_object1(
    p_main_val1(rec).val1,
                                       p_main_val1(rec).val2,
    p_main_val1(rec).val3
    ,test_type2 (test_object2( p_main_val2(rec).val1,
                        p_main_val2(rec).val2,
                        p_main_val2(rec).val3
    END LOOP;
    commit;
    END INSERT_TEST_DATA;
    here is the anonymoys block which assigns values to the object type and pass values into the procedure:
    set serveroutput on;
    declare
    p_sl_num NUMBER := 1001;
    p_description VARCHAR2(50) := 'Testing Val1';
    inval1 test_type1 := test_type1();
    inval2 test_type2 := test_type2();
    begin
    inval1(1).val1 := 'testx1';
    inval1(1).val2 := 'testx2';
    inval1(1).val3 := 'testx3';
    inval2(1).val1 := 'testy1';
    inval2(1).val2 := 'testy2';
    inval2(1).val3 := 'testy3';
    CSI_PKG.INSERT_TEST_DATA(sl_num => p_sl_num,
    description => p_description,
    p_main_val1 => inval1,
    p_main_val2 => inval2
    end;
    Can anybody correct me.
    Thanks,
    Lavan

    Thanks for posting the DDL and sample code but whenever you post provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION).
    >
    How to assign Values to nested table and pass as parameter to procedure?
    >
    Well you are doing almost everything wrong that could be done wrong.
    Here is code that works to insert data into your table (the procedure isn't even needed).
    declare
    p_sl_num NUMBER := 1001;
    p_description VARCHAR2(50) := 'Testing Val1';
    inval1 test_type1 := test_type1();
    inval2 test_type2 := test_type2();
    begin
    inval1.extend();
    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    inval2.extend();
    inval2(1) := test_object2('testy1', 'testy2', 'testy3');
    INSERT INTO test_object_tpe
    sl_num,
    description,
    main_val1,
    main_val2
    VALUES
    (p_sl_num, p_description, inval1, inval2);
    commit;
    end;
    /See Example 5-15 Referencing a Nested Table Element in Chap 5 Using PL/SQL Collections and Records in the PL/SQL doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/collections.htm#CJABEBEA
    1. You don't even need the procedure since all it does is a simple INSERT into the table which you can do directly (see my code above)
    inval1(1).val1 := 'testx1';There is no element one (1) of 'inval1' since you haven't created any elements yet. You need to EXTEND the collection to add an element
    inval1.extend();And then there is an empty element but 'inval1' is a container for objects of type 'test_object1' not for scalars like 'val1', 'val2', and 'val3'.
    So you can't do
    inval1(1).val1 := 'testx1';You have to create an instance of 'test_object1'
    inval1(1) := test_object1('testx1', 'testx2', 'testx3');And so on for the other collection
    You don't need the procedure (as my sample code shows) but once you populate the variables properly it will work.

  • What is the values and meaning for parameter TCLAS in functions

    what is the values and meaning for parameter TCLAS in functions like
    HR_INFOTYPE_OPERATION
    regards
    jan

    Hi Jan,
    Good Morning,
    In TCLAS,
    A, B , T will be there.
    A- Master data and time data.
    B- Applicant data.
    T- Shift Schedule.
    So, here we can say the default value will be integrated according to the above ABT.
    Means in the feature ABKRS, if you give the default values for all the three, your payroll area will appear in Master Data and Time data. And in recruitment ( Appicant data ) and work schedules. Means you are getting ingrated to all the three.
    And you can observe the feature PINCH also.
    If you dont want to get integrate with Master data, then dont give the default value under the A- Master date and Time data. And if you want to get integrate with Recruitment , then give the default value under B.
    I think u got the clear idea about TCLAS.
    Dont forget to give the points
    Thanks in Advance
    Cheers
    Vijai

  • Whats the difference betweeen passing the table variable and table valued parameter?

    Hi Everbody
      Can someone one tell me what's the difference between passing a table variable and table valued parameter to a stored procedure or function? Can both be used to pass a table to a stored procedure/function?
    Regards
    Regards

    They are essentially the same. What we call a table variable is a local
    variable. A table-valued parameter is an incoming parameter to the
    procedure. The only difference is that the parameter is readonly.
    When you call a stored procedure, you can pass a table variable as the
    actual parameter. Or a table-valued parameter that you pass on.
    CREATE PROCEDURE nisse_sp @tvp sometype READONLY AS
    DECLARE @local someothertabletype
    EXEC pelle_sp @tvp, @local
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to query WCF webservice and pass a parameter

    I am using SQL Server 2012, and I have use SSRS quite extensively to query SQL Server and Oracle data, but I am currently trying to query a new WCF web service, call a method and pass a parameter.  The XML query language is something I know very little
    about.  
    So far all I have is the URL to the web service like so:  http://webserv-01:8025/Tst_DataService.svc
    When I browse to that url and access the wsdl:  http://webserv-01:8025/Tst_DataService.svc?singleWsdl
    I get a bunch of info like this on the page:
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:wsa10="http://www.w3.org/2005/08/addressing"xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" name="CSS_DataService" targetNamespace="http://tempuri.org/">
    <wsdl:types>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
    <xs:element name="GetAddress">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="accountNumber" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="GetAddressResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="GetAddressResult" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <wsdl:message name="ICSS_DataService_GetAddress_InputMessage">
    <wsdl:part name="parameters" element="tns:GetAddress"/>
    </wsdl:message>
    <wsdl:message name="ICSS_DataService_GetAddress_OutputMessage">
    <wsdl:part name="parameters" element="tns:GetAddressResponse"/>
    </wsdl:message>
    <wsdl:operation name="GetAddress">
    <wsdl:input wsaw:Action="http://tempuri.org/ICSS_DataService/GetAddress" message="tns:ICSS_DataService_GetAddress_InputMessage"/>
    <wsdl:output wsaw:Action="http://tempuri.org/ICSS_DataService/GetAddressResponse" message="tns:ICSS_DataService_GetAddress_OutputMessage"/>
    </wsdl:operation>
    <wsdl:operation name="GetAddress">
    <soap:operation soapAction="http://tempuri.org/ICSS_DataService/GetAddress" style="document"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    I am trying to access the GetAddress method which takes one param (accountNumber) and return data for that account number so I can display the individual fields from that method on the report.  
    fyi-
    The XML returned from the webservice will look like this:
    <AddressRec xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">
    <ACCOUNTNUMBER>2070257842</ACCOUNTNUMBER>
    <MY_BILL_ACCT>2070257842</DPL_BILL_ACCT>
    <SA_LINE_1>ABCDEFT                            </SA_LINE_1>
    <SA_LINE_2>8101 SMITHVILLE PKE                </SA_LINE_2>
    <SA_LINE_3>MIAMI, FL 78342                    </SA_LINE_3>
    <SA_LINE_4>                                   </SA_LINE_4>
    <MA_LINE_1>ABCDEFT                            </MA_LINE_1>
    <MA_LINE_2>C/O FACILITY IQ - MS1253 SITE#0604 </MA_LINE_2>
    <MA_LINE_3>P O BOX 9942                       </MA_LINE_3>
    <MA_LINE_4>SPOKANE WA 99210                   </MA_LINE_4>
    <PREM_PHONE>817-454-7150</PREM_PHONE>
    <CD_METER_BILL_UNIT> 4</CD_METER_BILL_UNIT>
    <FL_BILL_BB>N</FL_BILL_BB>
    <FL_NET_METER>N</FL_NET_METER>
    <FL_PIPP>N</FL_PIPP>
    <CapStatus>GENT_PLUS_DMD</CapStatus>
    </AddressRec>
    Any help/guidance is greatly appreciated as I am a bit lost at the moment!

    This is just about the only support I have found on any MS site for this, but so far have been unable to resolve my issue.  Very frustrated as I have found a total 3 relevant articles via Google, they all mention each other as there seems to be no support
    for this dating back to around 2008 and the first few lines of the most helpful article that I have found (http://weblogs.asp.net/jezell/using-wcf-endpoints-with-sql-reporting-services)
    says this:
    Consuming WCF endpointpoints with SQL Reporting Services can be difficult. Most of this difficulty is for two reasons:
    1) SQL Reporting Services XML and web services support is slightly better than a piece of crap.
    2) Documentation for the XML query provider in SQL Reporting Services blows.

  • CONSISTENT and FLASHBACK_TIME parameters in export

    Version: 11.2
    This is what I gather about CONSISTENT (Original exp) and its datapump equivalent FLASHBACK_TIME
    If i give CONSISTENT=Y (for exp) or FLASHBACK_TIME=SYSTIMESTAMP (for expdp datapump) and start an export job at 3PM , oracle will export all tables (and all other objects ) as of 3PM. Any changes to schema objects done after 3PM will be ignored. I think Oracle internally uses UNDO tablespace for this feature.
    From your experience, what are the consequences you had by not setting CONSISTENT=Y (for exp) or FLASHBACK_TIME=SYSTIMESTAMP (for expdp datapump) ?

    That you said is right, the Oacle will export all object as specific SCN at 3PM.
    When you use consitenty, flashback_time or flashback_scn in your export, the Oracle read consitenty data in the UNDO tablespace. Its common that ORA-01555 happens when you use this feature.
    The "Snapshot to old"is caused by Oracle read consistency mechanism. If you have lots of updates, long running SQL and too small UNDO, the ORA-01555 error will appear.
    Therefore, When you use the consistent in your export, make sure that your UNDO tablaspace is large enough.

  • SUBMIT program VIA JOB and SET/GET parameter

    Hi All
    I need to pass the content of a variable from the program 'A' to program 'B'.
    Program A uses JOB_OPEN , SUBMIT program VIA JOB jobname NUMBER jobnumber AND return, JOB_CLOSE.
    I tried to use import/export memory but it didn't work. Then I am trying to use set/get parameters but it also did not work.
    Program A is going to run in any server and program B will run in the central instance (it is determined in the FM JOB_CLOSE, parameter target_server).
    Program does not have selection-screen.
    Is it possible use set/get parameter with submit via job?
    Could you please advise?
    Thanks in advance.
    João Gaia

    Here a simple code
    *Submit report as job(i.e. in background)
    data: jobname like tbtcjob-jobname value
                                 'TRANSFER DATA'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1 value 'X'.
    * Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    * Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    * Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
    "            event_id             = starttime-eventid
    "            event_param          = starttime-eventparm
    "            event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
    "            laststrtdt           = starttime-laststrtdt
    "            laststrttm           = starttime-laststrttm
    "            prddays              = 1
    "            prdhours             = 0
    "            prdmins              = 0
    "            prdmonths            = 0
    "            prdweeks             = 0
    "            sdlstrtdt            = starttime-sdlstrtdt
    "            sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
    "            targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.
    Then... for import/export of a variable, you can use Import Memory and Export Memory function.
    Like this:
    REPORT A:
      IF NOT it_dlist_out IS INITIAL.
        EXPORT it_dlist_out TO MEMORY ID 'TEST1234'.
      ELSE.
    * Clearing memory
        FREE MEMORY ID 'TEST1234'.
      ENDIF.
    REPORT B:
    IMPORT it_dlist_out TO lt_dlist_out FROM MEMORY ID 'TEST1234'.
    Edited by: spantaleoni on Jan 11, 2011 3:21 PM
    Edited by: spantaleoni on Jan 11, 2011 3:23 PM

  • What is utl_tcp and utl_smtp tx_timeout parameter do ?

    Hi All,
    I tried the following in DBServerA (10.10.10.10 - for example) :
    test_conn := utl_tcp.open_connection (remote_host => '10.2.90.100'
    ,remote_port => 25
    ,tx_timeout => 10 );
    l_mail_conn := UTL_SMTP.OPEN_CONNECTION(host => '10.2.90.100'
    ,port => 25
    ,tx_timeout => 10);
    now, in DBServerA, the smtp host 10.2.90.100 can be ping'd - however doing a telnet (e.g. telnet 10.2.90.100 25) will fail - because port 25 is blocked by the firewall for the smtp host.
    Using UTL_TCP I get the following error in around 3 to 4 minutes:
    "ORA-29260: network error: TNS:operation timed out"
    Using UTL_SMTP I get the following error in around 3 to 4 minutes:
    "ORA-29278: SMTP transient error: 421 Service not available"
    My question now is although I set the tx_timeout parameter for both procedures with a 10 seconds value - why is that I only get the error message at around 3 to 4 minutes?
    What I really want to achieve is - how can I get immediate feedback if my PL/SQL program can connect to 10.2.90.100 at port 25 ?
    Is there a way? - I would just like to control the connection timeout timing precisely - and not relay on external settings (e.g. O/S)
    The reason for the above requirement is to implement a "Primary SMTP Service" and a "Secondary SMTP Service" - essentially if the Primary SMTP Host IP Address fails to connect, then the PL/SQL code should try to connect to the "Secondary SMTP Host IP Address".
    One thing to note is that during this 3 to 4 minutes wait time - the Oracle Connection is held up - if this now happens to the many application calls to the PL/SQL procedure - then potentially there can be a problem in many Oracle Connections opening up. - so a PL/SQL solution that would provide an immediate feedback if the SMTP service is accessible or not is ideal.
    I'm using Oracle 10gR1 @ Solaris
    The following command below will give me 3 minutes (agreed upon to not change this setting as it will affect all other programs/services)
    "/usr/sbin/ndd -get /dev/tcp tcp_ip_abort_cinterval"
    The following command below will give me 1 minute (agreed upon to not change this setting as it will affect all other programs/services)
    "/usr/sbin/ndd -set /dev/tcp tcp_time_wait_interval"
    Please help!
    Many Thanks,
    Henry

    Hi,
    Anyone? I saw many articles in Metalink regarding the tx_timeout parameter - also one which a customer is demanding an explanation and enhancement on the tx_timeout parameter. Come to think of it, when will it work? only for Exchange? (found some hints on this in metalink).
    But still, is there no other way to immediately know if the port has opened or not?
    I will try the following: http://www.oraclenerd.com/2008/11/javaplsql-port-scanner-ii.html , but still would prefer a PL/SQL solution though.
    Many Thanks,
    Henry Wu

  • Parameter gets reset and Multi-value parameter doesn't work

    Hi
    Two Issues:
    I've set the value of a Date parameter (Start Date) when moving from the home screen (Report 1) to the next screen (Report 2) as the first day of the current year (DateSerial(Year(Today),1,1). In report 2, if I try to change the Start Date to another date,
    it gets reset to the first day of the year. I had the default value set as the first day of the year and even after removing it, the Start Date gets reset.
    I've set a multi-value parameter (Area) in Report 1 that collects four integers. I pass Area to Report 2 (through Join (Parameters!Area.value,",")). I also used SPLIT (Join (Parameters!Area.value,","),",") to get the value.
    Then, in the data set, I call this parameter as "Select A1,A2,A3,B1,B2,B3 FROM TEST_VIEW WHERE ID IN (?)". But this query throws an error that the query could not be executed. I ran the same query on the server side and it runs fine.
    Note:
    We cannot reference parameter names as @area for example because the Composite Server doesn't allow that.
    Split and Join operate on strings but my parameters are of integer type. Is this an issue?
    Please help.

    1. Are setting an expression for available values of parameter in report 2? Is the value you pass a valid among the set of values?
    2. IN wont work with comma separated values. You need to parse the individual values out using a string parsing udf as a table and then join to that
    so in your case you would be like
    Select A1,A2,A3,B1,B2,B3 FROM TEST_VIEW t
    INNER JOIN dbo.ParseValues (@Area,',')f
    ON t.ID = f.Val
    ParseValues UDF can be found in below link
    http://visakhm.blogspot.in/2010/02/parsing-delimited-string.html
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Run Report with Pass Number and Varchar Lexical Parameter values

    Dear Sir/Madam
    Due to an urgent change required to a report I would most appreciate it if you can please advise me if it is possible to get this report working by either passing in multiple lexical parameters or one signle lexical parameter when calling the SRW.RUN_REPORT command with the following methods:
    Firstly: When calling report with a run_no and spr_cd passed in through one lexical:
    cmd_line: REPORT=D:\DEV\REMITTANCE.rdf BACKGROUND=YES BATCH=NO DESFORMAT=PDF DESTYPE=FILE DESNAME=D:\DEV\REMITTANCE.pdf
    CP_L_PARAM=RUN_NO=TO_NUMBER(28) AND SPR_CD=SUPP1
    Both with a TO_NUMBER and without, whereby I attempt to do a SUBSTR within the query of the called report to derive the RUN_NO Oracle Reports fails to accept the SUBSTR.
    Secondly: I am now trying to call the with passing two lexical parameters into the report as follows:
    cmd_line: REPORT=D:\DEV\REMITTANCE.rdf BACKGROUND=YES BATCH=NO DESFORMAT=PDF DESTYPE=FILE DESNAME=D:\DEV\REMITTANCE.pdf
    CP_L_RUN_NO=||TO_CHAR(lv_run_no)|| CP_L_SPR_CD=||lv_spr_cd;          
    NOTE: The above is an output of the actual command line and not what is passed into the command line, thus the quotes are missing. Please also note that the report is running fine with the only a hard coded RUN_NO value PASSED without the SPR_CD.
    Unfortunately this is also causing issues as the RUN_NO is a number and as you know you can only pass in strings.
    Your urgent help is required on this matter please as our client is expecting a solution this afternoon.
    Hope to hear form you soon.
    Kind regards
    Andrew Mason

    Dont Worry I've worked it out...

Maybe you are looking for