edit.javabarcode.com | ||
.NET/Java PDF, Tiff, Barcode SDK LibraryAs you can see, the more parameters you want to use, the more information you need to provide at the command line. This approach presents two problems. First, if you make typing or other errors, you ll have a mess on your hands. Second, there may be a limit on some operating systems regarding how many characters you can input at the command prompt. Fortunately, you can run the same SQL*Loader job with the following command, which is a lot less complicated: $ sqlldr PARFILE=/u01/app/oracle/admin/finance/load/finance.par The command-line parameter PARFILE stands for parameter file, which is a file in which you can specify values for all your command parameters. For example, for the load specifications shown in this chapter, the parameter file looks like this: USERID=nicholas/nicholas1 CONTROL='u01/app/oracle/admin/finance/finance.ctl' DATA='/app/oracle/oradata/load/finance.dat' LOG='/u01/aapp/oracle/admin/finance/log/finance.log' ERRORS=0 DIRECT=true SKIP=235550 RESUMABLE=true RESUMABLE_TIMEOUT=7200 Using the parameter file is more elegant than typing all the parameters at the command line, and it is a logical approach when you need to regularly run jobs that use the same options. Any option that you specify at the command line will override the value specified for that parameter inside a parameter file. If you want to use the command line, but you don t want to type the password where someone can easily see it, you can invoke SQL*Loader in the following manner: $ sqlldr CONTROL=control.ctl SQL*Loader will then prompt you for your username/password combination. install barcode font excel 2007, how do i create a barcode in excel 2007, free barcode macro excel 2007, barcode font in excel 2003, barcode software excel 2007, barcode add in for word and excel 2013, free barcode addin for excel 2010, how to add barcode font to excel 2003, barcode add in for word and excel 2013, how to make barcode in excel 2003,The SQL*Loader log file offers a host of information regarding a SQL*Loader run. It tells you how many records were supposed to be loaded and how many actually were loaded. It tells you which records failed to get loaded and why. It also describes the field columns provided in the SQL*Loader control file. Listing 13-2 shows a typical SQL*Loader log file. Listing 13-2. A Typical SQL*Loader Log File SQL*Loader: Release 10.2.0.0.0 - Beta on Sun Mar 6 14:04:26 2005 Copyright (c) 1982, 2004, Oracle. All rights reserved. Control File: /u01/app/oracle/admin/fnfactsp/load/test.ctl Data File: /u01/app/oracle/admin/fnfactsp/load/test.ctl Bad File: /u01/app/oracle/admin/fnfactsp/load/test.badl Discard File: none specified (Allow all discards) Number to load: ALL Number to skip: 0 Errors allowed: 0 Bind array: 64 rows, maximum of 65536 bytes Continuation: none specified Path used: Conventional Table TBLSTAGE1, loaded when ACTIVITY_TYPE != 0X48(character 'H') and ACTIVITY_TYPE != 0X54(character 'T') Insert option in effect for this table: APPEND TRAILING NULLCOLS option in effect Column Name Position Len Term Encl Datatype ------------------------------ ---------- ----- ---- ---- ----COUNCIL_NUMBER FIRST * , CHARACTER COMPANY NEXT * , CHARACTER ACTIVITY_TYPE NEXT * , CHARACTER RECORD_NUMBER NEXT * , CHARACTER FUND_NUMBER NEXT * , CHARACTER BASE_ACCOUNT_NUMBER NEXT * , CHARACTER FUNCTIONAL_CODE NEXT * , CHARACTER DEFERRED_STATUS NEXT * , CHARACTER CLASS NEXT * , CHARACTER UPDATE_DATE SYSDATE UPDATED_BY CONSTANT Value is 'sysadm' BATCH_LOADED_BY CONSTANT Value is 'sysadm' /*Discarded Records Section: Gives the complete list of discarded records, including reasons why they were discarded*/ Record 1: Discarded - failed all WHEN clauses Record 1527: Discarded - failed all WHEN clauses Table TBLSTAGE1: /*Number of Rows: Gives the number of rows successfully loaded and the number of rows not loaded due to errors or because they failed the WHEN conditions, if any. Here, two records failed the WHEN condition*/ 1525 Rows successfully loaded 0 Rows not loaded due to data errors 2 Rows not loaded because all WHEN clauses were failed 0 Rows not loaded because all fields were null /* Memory Section: Gives the bind array size chosen for the data load*/ Space allocated for bind array: 99072 bytes(64 rows) Read buffer bytes: 1048576 /* Logical Records Section: Gives the total records, number of rejected and discarded records*/ Total logical records skipped: 0 Total logical records read: 1527 Total logical records rejected: 0 Total logical records discarded: 2 /*Date Section: Gives the day and date of the data load*/ Run began on Sun Mar 06 14:04:26 2005 Run ended on Sun Mar 06 14:04:27 2005 /*Time section: Gives the time taken for completing the data load*/ Elapsed time was: 00:00:0101 CPU time was: 00:00:00. Opt. 1: Pipe to while read Opt. 2: Redirected file to back of loop Opt. 3: Redirected here-document to back of loop Opt. 4: Manual iteration through loop No No No Yes 27 When you examine the log file, focus on the total logical records read and the records that are skipped, rejected, and discarded When you encounter difficulty running a job, the log file is the first place you should look to see whether or not the data records are being loaded..
|