Can we schedule Loader Jobs (SQL Loader) using Grid Control  ?

Can we schedule SQL Loaders jobs/process using Grid Control for 11g database ?
Or
Is it good to schedule it as external jobs using DBMS_SCHEDULER ?
OS is LINUX. Database is 11g R1 Grid Control will be the latest, I believe 10gR3.
Any other suggestions... (I know it can be done using OS utilities like cron and others but that is not an option for now.)
Thanks in advance.

Try this
-> Create a shell script to execute sqlldr
-> On Grid, create an "OS COMMAND" job and pass this script as parameters. You'll have options to schedule this job.
Let us know how it works.

Similar Messages

  • Track flat files that failed loading in sql loader

    Hi,
    Can anyone please suggest me any way to track the flat files which failed while loading in sql loader. And pass this failed flat file name to any column of a database table
    Thanks in advance.
    Edited by: 806821 on Nov 2, 2010 10:22 AM

    Hi Morgan thnannks for ur reply.
    Define failed. 1 row not loaded ... no rows not loaded ... what operating system ... what version of the Oracle database ... track in a table, send an email?
    Your inquiry is long on generalities and short on specifics: Fill in all the blanks ... not just the ones I've listed above.
    even if 1 row is not loaded even then it should be considered failed to load and the name of the that particular flat file should be fetched.
    Operating system is unix
    Oracle database we are using is R12
    track in a table , yeah we want to send an email notificaiton whenever the flat files fails to load.
    Thanks once again...!!

  • SQL Loader error: SQL*Loader-926. Please help

    Hi,
    While loading some files to my database table, I am getting the following error. I am using 'Truncate' option while loading the file:
    Error:
    ====
    SQL*Loader-926: OCI error while executing delete/truncate (due to REPLACE/TRUNCATE keyword) for table LOS_STAGE_DS4
    ORA-01426: numeric overflow
    Here's the loader properties(excerpts from load log)
    ================================
    SQL*Loader: Release 11.1.0.6.0 - Production on Fri Nov 26 04:54:18 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Control File: d:\Prod\rent_Load\Bin\rent_Load.ctl
    Data File: d:\Prod\rent_Load\Data\rent.704
    Bad File: d:\Prod\rent_Load\Bad\rent.704
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 1000000000
    Bind array: 64 rows, maximum of 256000 bytes
    Continuation: none specified
    Path used: Conventional
    Table LS_STAGE, loaded from every logical record.
    Insert option in effect for this table: TRUNCATE
    Column Name Position Len Term Encl Datatype
    Could someone please help and advise what is the root cause of this error?
    Thanks,

    The root cause is in the error ora-1426, which you can look up in the online error documentation at http://tahiti.oracle.com . No one knows every error message by heart. This means it is expected you look up the error prior to posting, and you don't expect any volunteer in this forum to look up the error on your behalf.
    Also this is a typical candidate for being a known problem, and known problems can be found on My Oracle Support.
    Sybrand Bakker
    Senior Oracle DBA

  • Can we schedule DI jobs in crontab?

    Hi All,
    I have one dought ,Can we schedule DI jobs in Crontab.if 'yes' then how?
    pls give me some suggestion.
    Thanks-Rajeev khokhar

    if your job server is on Unix then you can use Managment Console to schedule you jobs in cron, DS uses cron to schedule jobs
    or you can export the job execution command to a script and schedule that script in cron manually

  • Why no exclusive lock for conventional path loading for SQL*Loader?

    why no exclusive lock for conventional path loading for SQL*Loader?
    it use insert statement so it should use exclusive lock right?
    thanks

    ok, so only update statement would put a lock but not for insert statement?
    because I have seen a situation where a user update rows in a sesssion (without commit) prevent another user update the rows.
    thanks

  • Check data before loading through SQL *Loader

    Hi all,
    I have a temp table which is loaded through SQL*Loader.This table is used by a procedure for inserting data into another table.
    I get error of 0RA-01722 frequently during procdures execution.
    I have decided to check for the error data through the control file itself.
    I have few doubts about SQL Loader.
    Will a record containing character data for column declared as INTEGER EXTERNAL in ctrl file get discarded?
    Does declaring column as INTERGER EXTERNAL take care of NULL values?
    Does a whole record gets discarded if one of the column data is misplaced in the record in input file?
    Control File is of following format:
    LOAD DATA
    APPEND INTO TABLE Temp
    FIELDS TERMINATED BY "|" optionally enclosed by "'"
    trailing nullcols
    FILEDATE DATE 'DD/MM/YYYY',
    ACC_NUM INTEGER EXTERNAL,
    REC_TYPE ,
    LOGO , (Data:Numeric Declared:VARCHAR)
    CARD_NUM INTEGER EXTERNAL,
    ACTION_DATE DATE 'DD/MM/YYYY',
    EFFECTIVE_DATE DATE 'DD/MM/YYYY',
    ACTION_AMOUNT , (Data:Numeric Declared:NUMBER)
    ACTION_STORE , (Data:Numeric Declared:VARCHAR)
    ACTION_AUTH_NUM ,
    ACTION_SKU_NUM ,
    ACTION_CASE_NUM )
    What changes do I need to make in this file regarding above questions?

    Is there any online document for this?<br>
    Here it is

  • Has anyone used Grid Control to implement DataGuard?

    Has anyone used Grid Control to implement DataGuard?

    Hi,
    You are right, without the B&K software there is not much I can load. However this is usefull information. The VIs that you have are a wraper for the calls to the ActiveX pulse control. If those VIs do not provide the functionality for the Intensity Module there are 2 options:
    +The developer did not develop VIs for the module
    +The Pulse ActiveX control does not exposes the functionality of the Intensity Module.
    To find this out, you can create a new VI that opens a reference to the Pulse ActiveX object and start looking for some property that gives you a reference to the Sound Intensity Module, or a a function that allows you to run any methods from the module. There are a bunch of examples that ship with LabVIEW on calling Ac
    tiveX modules.
    You can also try to get the documentation for the ActiveX interface for Pulse to find out whether the Module is exported or not.
    There is also the option to use Native LabVIEW functions for the Sound Intensuty measurements; the Sound and Vibration Toolset can take sound intensity measurements that are compliant with industry standards.
    Let me know how this goes.
    Regards,
    Juan Carlos

  • Performance reports using Grid Control

    Hello!
    Can we create and schedule database performance reports using oracle 10g grid control?
    Thanks.

    Hi
    Yeah its possible to generate the performance reports using Grid Control.
    Ex:
    Oracle Enterprise Manager GRID Server contains built in reports to support Database Administrators to generate sightly reports.
    First Thing is to click to "Reports" tab on the top, right hand side of the GRID Management Console (figure_grid_management_console). This page is where all the predefined and custom reports can be find. Now click on the "Create" Button on top of the page to create a new custom report. "Create Report Definition" page comes to the screen. There are four tabs for the definition of the report.

  • Physical database creation using Grid Control fail

    I have tried several times to create a physical standby using Grid Control. Everytime, the job failed at the step "DBClone -> Destination Preparation". The log file indicated the following error message:
    PLS-00553: character set name is not recognized.
    When I check the spfile, I find that an extra word "PuTTY" was inserted into the spfile as shown in the following spfile, therefore, the instance cannot be started. In addition, everytime when issuing the command "cat spfilermslag.ora", the word "PuTTY" will automatically appear in the command line after the "cat spfilermslag.ora" command.
    $ cat spfilermslag.ora
    gé ú&PuTTYrmslag.__db_cache_size=150994944
    rmslag.__large_pool_size=4194304
    rmslag.__shared_pool_size=71303168
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='/u01/app/oracle/admin/rmslag/udump'
    [oracle@wppnode2 dbs]$ PuTTY
    What is going on here? How can I fix the problem?
    Thanks!

    You might just have to do it the old fashioned way. At least it will be a good learning experience.

  • Data Guard Summary problem using Grid Control.

    I setup data guard using Grid Control and after completion, the console of the standby database shows: "Unable to determine Data Guard information." under the Data Guard Summary section. The primary database is not showing the standby. I'm using Red Hat Linux Server 5.7 (64bit) and Oracle 10.2.0.5. This is a standalone (no RAC or ASM involved). When I run show configuration, the following comes up:
    DGMGRL> SHOW CONFIGURATION;
    Configuration
    Name: PRODDB_ghph@ora01
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    ghph - Primary database
    gsbh - Physical standby database (disabled)
    Current status for "PRODDB_ghph@ora01":
    SUCCESS
    I tried searching online and metalink but nothing. Any help in solving this problem would be appreciated. TIA
    Edited by: Gensis2001 on Jan 8, 2013 3:08 PM

    Gensis2001 wrote:
    Does this make any sense?
    SYS@gsbh> SELECT * FROM V$ARCHIVE_GAP;
    no rows selected
    SYS@gsbh> select process, status, sequence# from v$managed_standby;
    PROCESS STATUS SEQUENCE#
    ARCH CLOSING 60353
    ARCH CLOSING 60352
    RFS IDLE 60354
    MR(fg) WAIT_FOR_GAP 58673
    4 rows selected.Currently standby is waiting for the sequence *58673* but the later on archives of series 60353... are already archived.
    Can you confirm that only archive sequence * 58673* is missing or any more? If you have less number of archives are missing then see how the parameters you configured. like FAL_SERVER, LOG_ARCHIVE_CONFIG, LOG_ARCHIVE_DEST_n so on.
    Check below command and see any errors with remote destinations
    select severity,error_code,to_char(timestamp,'DD-MON-YYYY HH24:MI:SS') "timestamp" , message from v$dataguard_status where dest_id=2;Source: http://www.oracle-ckpt.com/dataguard_troubleshoot_snapper/
    If the archives are missing so many and you do not have backup, then certainly you have to choose incremental roll forward to synchronize the primary database, then only you can see the configuration status of Broker as valid. You can refer this article to perform incremental roll forward http://www.oracle-ckpt.com/rman-incremental-backups-to-roll-forward-a-physical-standby-database-2/

  • Remove node using Grid Control

    Hi
    Can you post some steps removing node from 10gR2 CRS using Grid Control
    Have 4 node cluster, and wants to impliment steps this way.
    1) First remove instance(s) on node to remove by going "CLUSTER DATABASE(S)"
    select SERVER
    under "Change Database" select "delete instance" go from there...
    2) go CRS page and choose "Monitoring Configuration" and choose and update
    I have manual steps.. but wants to try with GC...
    Any information is helpful
    Thanks,
    Krishna.

    mrmessin wrote:
    I have never gotten Grid Control and database control working for a single database. I have tried. Oracle dbca gives you a choice for Grid Control or database control but not both.
    Right, because intuitively it doesn't make much sense (but, as i mentioned, my situation is a bit out of the norm).
    But, would there be some sort of error message returned if you did go in and manually start EM? Have you tried to go in and manually start up the dbconsole when GRID control was already running?
    I checked the port.ini file and it showed this:
    Enterprise Manager Console HTTP Port (SAIN) = 5500
    Enterprise Manager Agent Port (SAIN) = 1831
    So it's recognized in that file. It seems odd that DBCA would bother to include that if you select instead Grid Control.
    Regarding the additional overhead of running both, would it be a big deal to simply turn EM on when I want to use it, then to turn it off so as to eliminate the additional overhead??
    Edited by: user10496131 on Oct 30, 2008 8:52 PM

  • Unable to connect to Database using Grid Control

    Hi,
    I am attempting to connect to my Oracle Linux Machine which has 2 databases FROM my 10g Grid control which is on a Windows XP 32 bit.
    Although I can login to the actual linux box with the host and database credentials ; I cant use the same to login to the database using Grid control.
    I have tried testing the connection using Grid Control >> Preferences >> Preferred Credentials >> Host ; but its just not recognizing the credentials as correct.
    When I attempt to startup the database using the host and DB credentials : ERROR MESSAGE : <servername> : <servername> comes up.
    My agent on linux box is up. My Listener is running fine.
    On my Grid control .. i have the DB, OMS, and Agent running as well.
    Any inputs on this issue, I'd appreciate very much.

    Thanks for your reply.
    Under Hosts on the Main Grid Console Home Page >> "server3.sam" Status shows UP. This server houses my 2 databases. But when I click on Databases >> it shows Instance DOWN.
    Status          
    Failed
    Details          Failed to connect to database instance: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
    I have verified that my lsnrctl status is good on the linux box. My target agent is up and running on it as well.
    So I try to start the STARTUP button >> I enter the HOST Credentials of the Linux box and the Database credentials which I use "SYS" (in upper case - just in case that mattered) and choose SYSDBA ;
    Error Message
    server3.sam: server3.sam
    I created a new dba account and try to login ... dont seem to work ; I tried using SYSTEM account and even altering my sys and system passwords .. all turn out negative.
    And the ANSWER to your question ---> Grid Control >> Preferences >> Preferred Credentials >> Database Instance >> corresponding to my database name ; I enter my sysdba username / password AND the host username / password of my Linux box >> TEST >> which also turns out negative.
    This entry is auto filled in since I "checked" the box "Save as Preferred Credential"; initially when I tried to start the DB using the STARTUP button.
    By the way, my Win XP doesnt really have a password set under User accounts.
    Any suggestions please ?

  • Create data guard using grid control 10gR3?

    Has anyone been able to create a data guard of 10g R2 (10.2.0.3 dbs) using Grid Control 10gR3?
    My creation stopped on cloning the standby db step. And i had to finish it manually but i'm just wondering if it has worked for anyone else?

    One step further. I enabled debug tracing for the agent and noticed that the creation of the windows service causes an error.
    -: Thu Sep 27 10:14:53 2007: DEBUG: clone_util.runOradim(): Running oradim to install service for dg2
    -: Thu Sep 27 10:14:53 2007: DEBUG: clone_util.runOradim(): Command: D:\oracle\product\10.2.0\db_1\bin\oradim.exe -NEW -SID dg2
    -: Thu Sep 27 10:14:53 2007: DEBUG: db_common.tempLocFallback(): Test filename: D:\oracle\product\10.2.0\agent10g/sysman/emd/upload/\test_temp_location.2976
    -: Thu Sep 27 10:14:53 2007: DEBUG: db_common.removeFile(): To remove file D:\oracle\product\10.2.0\agent10g/sysman/emd/upload/\test_temp_location.2976
    -: Thu Sep 27 10:14:53 2007: DEBUG: db_common.tempLocFallback(): Tested TEMP location: D:\oracle\product\10.2.0\agent10g/sysman/emd/upload/
    -: Thu Sep 27 10:14:53 2007: DEBUG: clone_util.runOradim(): Output file: D:\oracle\product\10.2.0\agent10g/sysman/emd/upload/\dbclone.2976
    -: Thu Sep 27 10:14:53 2007: ERROR: clone_util.runOradim(): D:\oracle\product\10.2.0\db_1\bin\oradim.exe -NEW -SID dg2:
    The trace refers to file D:\oracle\product\10.2.0\agent10g/sysman/emd/upload/\dbclone.2976 :
    DIM-00019: create service error
    O/S-Error: (OS 1057) The account name is invalid or does not exist, or the password is invalid for the account name specified.
    Although the other steps complete succesfully (using the same credentials), it fails creating the service. Don't know why, yet...

  • Daily Report using Grid Control

    Hi guys
    I would like to know if there is a way to schedule some daily reports under the Grid Control?
    There are some cool reports that I wish to receive automatically in my mailbox everyday.
    I don't know how to do that.
    Thanks
    Brahim DRIHEM

    Hi,
    It's very simple.
    Select your report (with the radio-button) and click Edit.
    Go to the schedule tab
    Select "Schedule Report"
    Select "Repeating" and fill out the details here
    select "E-mail report each time the scheduled report completes"
    Enter your mail address
    Press Ok button.
    Hope this helps.

  • Can we give validations in sql loader

    hi gems...
    i want to populate a table through sql loader...but i have to give some conditions while inserting the records i.e. i have to give some checks and validations...
    is it possible to give conditions in sql loader...
    please help...

    Probably you can use WHEN clause while loading the data. Please check the below documentation for more information.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e22490/ldr_control_file.htm#i1005657

Maybe you are looking for

  • CS3 Master collection installation problem on Windows 7 64 bit

    Hi Guys Please can you advise I am encountering problems with the installation of CS3 Master Collection on Windows 7 64 bit, initially my hard drive crashed and performed a dump. Subsequent attempts to install CS 3 has resulted in failure to install

  • How to fragment a table in oracle?

    I am a bit confused about horizontal fragmentation in oracle, for example: I have two databases A and B I create a employee table in A database that has name, dept attributes Now I want to fragment this table, put all the rows where dept=science to t

  • Outstanding Invoices Report based on Customers

    Hello everyone, I want to find out which customers have outstanding balances and against which invoices. Can some guide me on how to create such a report. Thanks Huzi

  • Final cut X - Print to Video???

    Hi guys I need help with Print to Video function in Final cut X. Most of a time I'm editing in FCP7, but problem is that FCP7 crash/freeze while record/print video (DVCPRO HD) to P2 recorder (Panasonic AG-HPG10 or 20). I have installed Os 10.10.3, bu

  • Absolutely can not create groups on fascinate!

    no matter how i change up the display groups, when i go to create or even add a member to a group, the only people it will allow me to choose from are the last few people i have added to my phone contacts, not my facebook or google contacts, i can no