How to recreate capture for oracle 10gR2 in window

Hi Experts,
After I got the archived issues, I restarted capture process in vmsdbhq by strmadmin account and then I saw the messages as: WAITING FOR REDO: LAST SCN MINED 6134217037123.
SQL> DECLARE
2 -- Declare variable to hold instantiation SCN
3 iscn NUMBER;
4 BEGIN
5 iscn:=DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER();
6 DBMS_OUTPUT.PUT_LINE ('Instantiation SCN is: ' || iscn);
7 END;
8 /
Instantiation SCN is: 6134217223400
SQL> begin
2 DBMS_cAPTURE_ADM.ALTER_CAPTURE(
3 capture_name => 'STREAM_CAPTURE',
4 start_scn => 6134217223400,
5 first_scn => 6134217223400);
6 end;
7 /
begin
ERROR at line 1:
ORA-26666: cannot alter STREAMS process STREAM_CAPTURE
ORA-06512: at "SYS.DBMS_CAPTURE_ADM_INTERNAL", line 166
ORA-06512: at "SYS.DBMS_CAPTURE_ADM", line 212
ORA-06512: at line 2
PL/SQL procedure successfully completed.
I got advice to recreate this capture.
How to recreate a capture? May I have a procedure in detail? which difference between recreate capture and create capture?
Or i need to stop propagation during using alter exist capture?
If drop capture, do I need to all capture steps?
I am new person in here
Thanks for your help!
JIm

+" which difference between recreate capture and create capture?"+
No major difference.
Create capture - You are creating capture process for the first time.
Recreate capture - You are dropping capture process and creating it again..
To recreate capture process, first you have to stop associated propagation and apply process.
than stop and drop the exising capture process. You can follow the same procedure as you followed for creating the capture process initially..
See following example, followed by me for the same:
1) stop capture process
BEGIN
DBMS_CAPTURE_ADM.STOP_CAPTURE(
capture_name => 'APPS_CAPTURE');
END;
2) Stop propagation process.
Execute following command as stream administrator from primary database.
BEGIN
DBMS_PROPAGATION_ADM.STOP_PROPAGATION(
propagation_name => 'APPS_PROP');
END;
3) Stop apply process.
Execute following command as stream administrator from replica database.
BEGIN
DBMS_APPLY_ADM.STOP_APPLY(
apply_name => 'APPS_APPLY');
END;
4) drop capture process
BEGIN
DBMS_CAPTURE_ADM.DROP_CAPTURE(
capture_name => 'APPS_CAPTURE',
drop_unused_rule_sets => true);
END;
5) check table status. (as sys user)
select count(*) from dba_objects where object_name like 'APPS_CAP_TABLE';
6) ----check rules (our rule is:
SELECT rule_owner, rule_name FROM dba_rules
7) ----create capture process
begin
DBMS_CAPTURE_ADM.CREATE_CAPTURE(
queue_name => 'APPS_CAP_QUEUE',
capture_name => 'APPS_CAPTURE',
rule_set_name => NULL,
start_scn => NULL,
source_database => 'AQPROD',
use_database_link => FALSE,
first_scn => NULL,
logfile_assignment => 'implicit',
negative_rule_set_name => NULL,
capture_user => NULL,
checkpoint_retention_time => 6);
end;
8) --------START CAPTURE PROCESS
BEGIN
DBMS_CAPTURE_ADM.START_CAPTURE(
capture_name => 'APPS_CAPTURE');
END;
9) --------START PROPAGATION PROCESS
BEGIN
DBMS_PROPAGATION_ADM.START_PROPAGATION(
capture_name => 'APPS_PROP');
END;
10) Start apply process.
Execute following command as stream administrator from replica database.
BEGIN
DBMS_APPLY_ADM.START_APPLY(
apply_name => 'APPS_APPLY');
END;
HTH.
Regards,
Dipali..

Similar Messages

  • Oracle 10gR2 on Windows Server 2003 R2

    What is the patchset for Oracle 10gR2 on Windows Server 2003 R2? I have check 'Patches/Updates' tab but the patch p5337014_10203_WINNT.zip is ONLY dowloadable from Microsoft Windows (32 bit)
    platform? Is there a separate 10.2.0.3 patch for Microsoft Windows 2003 (x86)
    Version 2003 R2? Please advice.
    My current Oracle version is 10.2.0.1 and I am trying to upgrade to 10.2.0.3

    I don't think that this is the place to ask about downloads external to OTN. See forum description. Questions about the patches from Metalink (after searching/reading existing Notes and still not coming up with a definitive answer) should in general be directed to Metalink (e.g. open a SR).
    With that said.. If you are asking on how to retrieve the patch set via Metalink interface, then you should turn to Patches & Updates (one of the main tabs). Use e.g. Simple Search or Quick Links to the Latest... to drill down.
    When you have found a patch set, the Patch Set readme documents system requirements and other vital information.
    If you are looking for other information regarding patches and patching, the first place to look is again Metalink. Certification and supportability information can be found via Certify tab. There are several "tactical" Notes such as 161549.1 and 316900.1 useful for supporting your own procedures and for finding further information.
    Edited by: orafad on Aug 24, 2008 12:39 PM

  • How to query in java for Oracle 10gr2 XMLDB

    Hi,
    I�ve some problems.
    I�ve some search queries which are working on normal relation table, but I don�t know how it works on XMLDB(Oracle 10gR2)
    Structure of XML file
    My xml table structure will be :
    Create table <tablename>
    Person_Id number primary key,
    Person_BankName varchar2,
    DateOfEntry date,
    Xmlcol xmltype
    Xmlcol xmltype will be mapped to a schema for the below xml file.
    XML File
    <Person>
         <Information>
              <firstname>Suchendra</firstname>
              <lastname>Kumar</lastname>
              <middlename>Krishna</middlename>
         </Information>
         <Account>
              <accountno>12212</accountno>
              <balance>42323.89</balance>
              <opendate>12-03-2005</opendate>
         </Account>
         <Transaction>
              <transamount>1000</transamount>
              <balance>41323.89</balance>
              <trandate>14-03-2005</ trandate >
              <trantime>10:40:22</trantime>
         </ Transaction >
    </Person>
    SQL Queries Required
    1.     Query to fetch the records whose transaction has been done from date 12-03-2001 to date 01-01-2005.
    2.     Query to fetch the records whose lastname= �*Kumar�
    3.     Query to fetch the records whose transaction has been done from time 9:09:55 to time12:26:23.
    4.     Query to fetch the records whose balance > 4000 and balance < 5000.
    5.     Regular expression Search in XMLDB. Ex: searching for records whose firstname has �su*� or �*ab� in it.
    How to extract these result set values in java for XMLDB (JDBC)?
    How to fetch these values from the result set?
    Whether Prepared Statement, Execute Query are compatible in XMLDB
    Can anyone help me in this..
    Thanks
    Athar

    Athar,
    You have been busy! You posted this same question to the SQL forum and the XMLDB forum. I see you got some answers regarding the XML part, so I will try to help you with the JDBC part. Have a look at this example:
    http://tinyurl.com/oemd7
    Good Luck,
    Avi.

  • How to add additional disks on vmware OEL4 and use it for Oracle 10gR2?

    I created a virtual machine on vmware workstation 6 and installed OEL4.
    during first install I created 20 GB disk but now I want to add more disks.
    from vmware documentation I tried to add more 8 gb disk to the virtual host.
    under devices I see two lines;
    Hard Disk (SCSI 0:0) 20.0 GB
    Hard Disk (SCSI 0:2) 8.0 GB
    but I must be missing some step since I can not see 20 + 8 gb at df;
    [root@antuhost ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1              13G  9.7G  2.3G  82% /
    none                  506M     0  506M   0% /dev/shm
    /dev/sda2             4.9G  851M  3.8G  19% /homeThank you.

    Oh the check the answer from Re: How to add additional disks on vmware OEL4 and use it for Oracle 10gR2?

  • ERROR OGG-00868 Oracle GoldenGate Capture for Oracle, ext1.prm: + ORA-12514

    Hello Guys,
    Environment is as below:
    Primary site (source): This is production DB and up and running.
    RAC 2 nodes
    Oracle RAC 11.2.0.1.0
    ASM
    Enterprise Linux Server release 5.5 (Carthage)
    target Site (destination): Software installed and instance has been created.
    Standalone single server - Non RAC
    Oracle 11.2.0.1.0
    ASM
    Enterprise Linux Server release 5.5 (Carthage)
    Oracle GoldenGate 11g Release 1 (11.1.1)
    I have installed and setup Oracle GoldenGate 11g Release 1 (11.1.1) But I am getting below error while starting extract:
    2011-05-01 21:27:41 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): edit params ext1.
    2011-05-01 21:29:11 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start extract ext1.
    2011-05-01 21:29:11 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host xxx.xx.x.4 (START EXTRACT EXT1 ).
    2011-05-01 21:29:11 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: EXTRACT EXT1 starting.
    2011-05-01 21:29:11 INFO OGG-00992 Oracle GoldenGate Capture for Oracle, ext1.prm: EXTRACT EXT1 starting.
    2011-05-01 21:29:11 INFO OGG-01635 Oracle GoldenGate Capture for Oracle, ext1.prm: BOUNDED RECOVERY: reset to initial or altered checkpoint.
    2011-05-01 21:29:12 ERROR OGG-00868 Oracle GoldenGate Capture for Oracle, ext1.prm: Attaching to ASM server asm: (12514) ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    2011-05-01 21:29:12 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ext1.prm: PROCESS ABENDING.can anyone tell me how to edit listener.ora for ASM instance so that it may capture data from instance.
    Below is the listener.ora :
    $ cat listener.ora
    LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = +ASM1)
    (ORACLE_HOME = /u01/app/11.2.0/grid)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = +ASM2)
    (ORACLE_HOME = /u01/app/11.2.0/grid)
    $$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ASM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxdata-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = +ASM2)
    $your response will be highly appreciated.
    Cheers !!!
    LazyDBA11g
    Edited by: LazyDBA11g on May 5, 2011 11:16 PM
    Edited by: LazyDBA11g on May 22, 2011 5:24 AM
    Edited by: LazyDBA11g on May 22, 2011 5:29 AM
    Edited by: LazyDBA11g on May 30, 2011 10:46 PM

    Hi,
    I installed GG with same configuration and i didn't configure ASM statically in listener.ora at all:
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
    When i check listener status, i can see that ASM Instance is correctly registered:
    $ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 26-MAY-2011 15:41:48
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 16-MAY-2011 13:17:17
    Uptime 10 days 2 hr. 24 min. 31 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /opt/oracle/grid/11.2.0.2/network/admin/listener.ora
    Listener Log File /opt/oracle/base/diag/tnslsnr/pollux/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xx.xxx.xxx.92)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xx.xxx.xxx.94)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "R112" has 1 instance(s).
    Instance "R1121", status READY, has 1 handler(s) for this service...
    Service "R112XDB" has 1 instance(s).
    Instance "R1121", status READY, has 1 handler(s) for this service...
    The command completed successfully
    You need to make sure, that ASM registers dynamically with your listener. In my case i have set local_listener in ASM instance as follows:
    SQL> show parameter local_listener
    NAME TYPE VALUE
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=xx.xxx.xxx.94)(PORT=1521))))
    This is no GG specific question. You need this for other tools like Gridcontrol as well.
    Hope this helps,
    Robert

  • How to Stage directory for Oracle EBS R12.1.1 on Window Server 2008 ?

    Hi Every Body,
    1- How to Stage directory for Oracle EBS R12.1.1 downloaded from e-delivery.com on Window Server 2008.?
    -- I have download all files from e-delivery and check the md5 and all files are OK.
    I extracted the entire files with winrar program to the same directory and during the unzipping I was notified to replace these files (dvd.label and component.label) and I agreed each time. So >>
    2- Was that a problem ?
    -- I have setup vc++ from VS6 , the sp6, cygwin , ... and set up the active directory and the domain.. and all other requirements.
    BUT when i started the ebs set up it raise the "*Os User and Group Check*" error.
    even if I am the only user and sure I am the Administrator. and also I run this Command to be sure
    C:\>net localgroup administrators and it said that the administrator is one of the administrators group.
    3- Somebody said that I have to change the temp and tmp folder to be on c:\ drive >> might this solve the problem?
    thanks in advance.

    Hi,
    Most of the instructions you have mentioned , already was configured.
    except for the tmp and temp directories.
    And even I changed them from System Properties >> Advanced >>  Environment Variable under User variable for Administrator and System variables , the problem still exist Os User and Group Check .
    I attach the conf_VIS.txt file because I thought it may help.
    http://www.4shared.com/document/1bS6aio5/conf_VIS.html
    Actually I am not sure about the rapid install patch version but I have download the EBS R12 from the following link and I think it contains the recent installer version
    Link >> Oracle E-Business Suite Release 12.1.1 Media Pack for Microsoft Windows (32-bit)
    http://edelivery.oracle.com/EPD/Download/get_form?egroup_aru_number=11250138
    Note If you still can not open the link just suggest a suitable file hosting and I will upload to you. here I used 4shared and hoped it suits you.

  • SQL Server 2012 Change Data Capture for Oracle by Attunity support for Oracle 12

    I would like to know if there are any plans for SQL Server 2012 Change Data Capture for Oracle by Attunity to support versions of Oracle 12 and if by when.

    I have asked from the author of
    http://blogs.msdn.com/b/mattm/archive/2012/03/26/cdc-for-oracle-in-sql-server-2012.aspx about this.
    I will either ask him to answer here or I would be a messenger.
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • How to recreate datafile in oracle 10g.

    pls tell me how to recreate datafile in oracle 10g...
    what are situation to recreate datafile
    Edited by: 898085 on Nov 18, 2011 9:16 PM

    898085 wrote:
    pls tell me how to recreate datafile in oracle 10g...
    what are situation to recreate datafile
    Edited by: 898085 on Nov 18, 2011 9:16 PMDid u mean create or recreate?
    if datafie is deleted then you may add it into existing tablespace.
    Try this : -
    1.)sqlplus sys/xx as sysdba
    2.)alter tablespace <tablespace_name> add datafile <datafile_name> size <give size>;
    HTH:-)

  • How do I set-up on %ORACLE_HOME%\bin for Oracle client on Windows XP

    How do I set-up on %ORACLE_HOME%\bin for Oracle client on Windows XP?
    The Oracle bin directory is: C:\oracle\ora90\bin
    Thank you!

    If you are asking how to setup the resolution of %ORACLE_HOME%\bin to C:\oracle\ora90\bin, you must create a system environment variable called ORACLE_HOME that is set to a value of C:\oracle\ora90.
    Kind regards,
    Russ

  • JRE Error : while Install oracle 10gR2 on Windows Server 2003

    Hello,
    I am trying to install a Oracle 10gR2 on windows server 2003.
    I have unziped the files and when I run the oui.exe it gives the below error:
    cannot find any matches for wildcard specification "../stage/components/oracle.swd.jre/1.5.0.0./1/DataFiles/*.jar
    Error : JRE missing in Scratch Path
    I tried changing the oraparmaini file but it did not allow to make any changes.
    Not sure if its looking for any particular java files.
    What should i edit ,to specify the java location.
    Thanks

    What exactly did you unzip? This error occurs if there are several zip-files extracted to different target locations. But - if I remember correctly - 10gR2 database is only one zip-file, so you should not face this issue. JRE for OUI is part of the downloaded software,so you don't need to specify a location for JRE, OUI knows where to find this.
    Werner

  • Installation of oracle 10gR2 on Windows Vista Home Premium 64 bit OS

    can we install oracle 10gR2 on Windows Vista Home Premium 64 bit OS ???
    While doing sqlplus from command prompt,
    it's giving error like
    'SP2-1503 Unable to initialise Oracle Call interface'
    'SP2-0152 Oracle may not be functioning Properly'
    How to troubleshoot the above errors,
    Has anybody tried it ???
    Plz assist.

    No Oracle product is certified against any Windows Home OS.
    As Vista was released after Oracle 10gR2, 10gR2 is not certified against any edition of Vista.
    You need to downgrade to XP, or install Linux.
    Sybrand Bakker
    Senior Oracle DBA

  • How to Configure Active-Passive oracle cluster in Windows 2008 R2 64bit Server.

    How to Configure Active-Passive oracle cluster in Windows 2008 R2 64bit Server With Oracle 11g R2.
    How many database will play in this role.
    Best,

    hello
    I was going through your post and i am also doing the same thing here at our organisation for Oracle 10g R2
    Can you pls send me any docs u r having for configuration of Oracle in windows clusters .
    And, can you pls elaborate on this point
    e)Create Oracle Service with the same name in the 2nd node and copy all the files like spfile,tnsnames.ora,listener.ora,password file to Node2.
    Pls send me the details at [email protected] or you can contact me at 08054641476.
    Thanks in advance.

  • Installing ORACLE 10gr2 on windows 7 untimate 64bit processer

    Hi All,
    I was installing oracle 10gr2 on windows 7, untimate 64bit processor but giving me some abnormal termination of
    installation
    "unknown error"
    Please help me on this..
    Rajini.V

    Hi,
    Thanks for the reply.
    I have downloaded from the following link
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    i tried these two S/w's
    Oracle Database 10g Release 2 (10.2.0.4) for Microsoft Windows Vista x64, Microsoft Windows Server 2008 R2 x64, Windows 7 x64
    Oracle Database 10g Release 2 (10.2.0.3/10.2.0.4) for Microsoft Windows Vista, Windows Server 2008, Windows 7
    But they are not getting installed, Can you please suggest me a link where i can download 10.2.0.5.
    Thnanks,
    Rajini.V

  • Install Oracle 10gR2 on Windows x64

    Is this possible to install Oracle 10gR2 on Windows 2008 x64 ?
    I though that there aren't any difference between 2003 and 2008, but during reading this presentation:
    http://www28.cplan.com/cbo_export/PS_S291788_291788_176-1_FIN_v2.pdf (login: cboracle pass: oraclec6) I saw that installation on Windows 2008 is "PLANNED"?! Can someone explain more?

    tutus wrote:
    So what thas mean planned?You'd have to ask Christian Shay (apparent author of the document) but given that the document is nearly two years old and 10g is now entering 'sustaining' support without having been certified on Win 2008, I'd guess it means their "plans" changed.

  • Set up export script and how to run it. Oracle 10gR2

    Can someone help explain this script to a newbie. I need to write a script to export all data from our Oracle 10gR2 Tru64 Unix to another system. We need to test how long a 200GB tablespace export will take writing directly to nfs mount on SAN.
    1. The only option we have is to use a NFS Mount to the new SAN. ( there is no space on our existing system)
    2. What needs to be declared to describe the environment in both Oracle and/or in the script to make it run?
    3. Do I need to tell Oracle where the export directory is? (NFS Mount).
    4. how is exp run? Do dba run via a XXX.sh script or SQLPLUS XXX.sql script?
    5. how can I check the progress....
    I don't understand the set up of the oracle environment lines, can someone help me?
    Here is a sample script I found on our system....
    1 #!/bin/sh
    2 # /usr/users/oracle/nfsoraexpt_linux.sh
    3 # Export up the specified instance of the db tar it to an nfs mount point and log it
    4
    5 # Set up the oracle instance and environment
    6
    7 ORACLE_SID=pdsprod; export ORACLE_SID
    8
    9 ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1; export ORACLE_HOME
    10 PATH=/usr/bin:/u01/app/oracle/product/10.2.0/db_1/bin:/apg/0800/mercator:/usr/users/oracle/bin:.; export PATH
    11
    12 # Do logging and export the instance
    13 rm /nfs_dir/oraexpt.log
    14 echo `date` >> /nfs_dir/oraexpt.log
    15 exp user/password file='/nfs_dir/pdsprod.exp' log='/nfs_dir/pdsprodexp.log' full=y direct=y feedback=5000000
    16 #exp user/password file='/nfs_dir/pdsprod.exp' log='/nfs_dir/pdsprodexp.log' tablespace='ENC_DS_DATA' direct=y feedback=5000000
    17 cat /nfs_dir/pdsprodexp.log >> /nfs_dir/oraexpt.log; rm /nfs_dir/pdsprodexp.log
    18
    19 echo `date` >> /nfs_dir/oraexpt.log
    20 cd /nfs_dir
    21 # gzip -f pdsprod.exp
    22 ls -al pdsprod.exp >> oraexpt.log
    23 mail -r email email2 < /nfs_dir/oraexpt.log
    24
    Any help for this first time user would be appreciated. Thanks

    First it sets some environment variables in the shell.
    Then it removes a log file.
    Then it uses an obsolete tool to export some data.
    Then it displays the contents of the log file.
    Then it changes the present working directory.
    Then it lists the files in the directory.
    Then, presumably, it emails a copy of the log file somewhere.
    In 10gR2 I would suggest throwing it away and using a proper tool to do the job such as RMAN or DataPump.
    Additionally find someone to teach you how to navigate and perform basic tasks in Linux. This may help.
    http://www.psoug.org/reference/unix_vi.html
    as might Arup Nanda's excellent tutorial here:
    http://www.oracle.com/technology/pub/articles/advanced-linux-commands/part1.html

Maybe you are looking for

  • Problem about Installation J2SDK1.3.1 on Solaris 2.6

    hi,happy new year everyone, I have installed J2SDK1_3_1_02-solsparc.sh on Solaris 2.6, and it prompted to me installation sucessfully. but when I run javac or other commands, it prompts to me the following error: *************************************

  • Camera/Video Switch on Camera App has Disappeared!

    The little switch on the camera app for switching between shooting video or still shots has just disappeared! It is just not there anymore

  • Up to 13 days standby time.....

    The claim is, that stadby. time is 13 days. Can somebody specify this? My phone only holds power for about 2 days and a re-charge is necc. I have  Model STL100-3. Does network need to be turned off during stadby.? Up to 13 days standby time *Note: Ba

  • Creating a simple Login screen

    Hi folks, I'm a beginner trying to develop some code for a simple login screen for a database. I know that some packages (Access) have tailor-made code for this but can't seem to find anything in Oracle to do this. Can anyone help or point me in the

  • Can one watch movies in english on an austrian apple tv device

    can one watch movies in english on an austrian apple tv device