Search found 34 matches
- Mon Oct 11, 2004 4:21 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ORA01722 INVALID NUMBER
- Replies: 2
- Views: 1733
I've finally resolved most of those (I changed some fields defined as numeric that actually contained dates MMDDYY to timestamp in DataStage and to DATE in Oracle) except now I'm getting DataTypePic9: Error, unable to convert '. ' into number for 7 rows - but there's no event detail dialog box and n...
- Mon Oct 11, 2004 2:11 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ORA01722 INVALID NUMBER
- Replies: 2
- Views: 1733
ORA01722 INVALID NUMBER
What's the best way to troubleshoot "ORA-1722 Invalid Number" errors? I'm writing to an Oracle table using the ORAOCI8 stage. The event detail dialog box in the log only shows the first 24 field values that I am converting (there are actually 51 field values in the file I'm converting), so...
- Fri Aug 06, 2004 11:51 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Checking for negative number & mapping to different colu
- Replies: 2
- Views: 1356
Re: Checking for negative number & mapping to different
Okay, now I have half the derivation accomplished with this derivation for writing to the DEBIT_AMOUNT column: If Data_In.CREDIT_AMOUNT < 0 then Abs(Data_In.CREDIT_AMOUNT * 100) ELSE Abs(Data_In.DEBIT_AMOUNT * 100) column but now I need to move zero to the CREDIT_AMOUNT column If Data_In.CREDIT_AMOU...
- Fri Aug 06, 2004 10:59 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Checking for negative number & mapping to different colu
- Replies: 2
- Views: 1356
Checking for negative number & mapping to different colu
I'm processing a .txt file containing a debit amount and a credit amount (both numeric (15,2) and writing those two amounts to an Oracle table. The .txt file contains a sign on negative amounts, so when writing to the Oracle table I'm removing the sign with this derivation Abs(Data_In.DEBIT_AMOUNT) ...
- Thu May 27, 2004 2:03 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: EBCIDIC to ASCII Conversion and low values
- Replies: 1
- Views: 2111
EBCIDIC to ASCII Conversion and low values
I'm trying to convert a mainframe file from EBCIDIC to ASCII and it appears to be failing due to low values. What happens in DataStage when an EBCIDIC to ASCII conversion hits low values? What would be the resulting output - null? Zeros? The entire field may not be low values, for example: The conve...
- Tue May 18, 2004 12:24 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Rejects - capturning DBMS.CODE=ORA-01401
- Replies: 6
- Views: 3670
- Mon May 17, 2004 3:36 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Rejects - capturning DBMS.CODE=ORA-01401
- Replies: 6
- Views: 3670
I forgot to mention this is a conversion job (running one time) and the log info is to provide the reason for certain rows not being converted. The goal is to export the reject file to a spreadsheet to be filed, and it would be most helpful to include the reject reason in the spreadsheet, whether it...
- Mon May 17, 2004 1:53 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Correct location/syntax of DSGETLOGENTRY
- Replies: 1
- Views: 1518
Correct location/syntax of DSGETLOGENTRY
Exactly where does this need to be placed? I'm trying to add it as a derivation in my transform so the value will write to my reject file into a column called LOG_INFO. I can't seem to get the syntax correct, or I'm just not putting it in the correct place within the job. DSGetLogEntry(DSJ.ME,DSGetN...
- Mon May 17, 2004 12:40 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Rejects - capturning DBMS.CODE=ORA-01401
- Replies: 6
- Views: 3670
Unless I'm missing something in the log, the values being written to each column appear, but it is not evident which column(s) actually caused the error (e.g. value too large). For example, this is the text in the log: Jobname..TransformFiletoAscii: The value of the row is: ADDR_ID = 14049209 DATE =...
- Mon May 17, 2004 9:45 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Rejects - capturning DBMS.CODE=ORA-01401
- Replies: 6
- Views: 3670
Rejects - capturning DBMS.CODE=ORA-01401
I have a separate reject link for three data files I'm converting to ASCII and inserting into Oracle tables. The reject file contains rows that were rejected due to several reasons, including the following: ORA-01401: inserted value too large for column DBMS.CODE=ORA-01401 ORA-01438: value larger th...
- Mon May 03, 2004 2:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Oracle date comparison and timestamp
- Replies: 4
- Views: 4160
Unfortunately I'm on DS version 5.2. I'm using ORACOCI8 stages for the two Oracle tables I'm reading the dates from. The generated SQL is for the dates is TO_CHAR(linkname.LAST_RUN_DATE, 'YYYY-MM-DD HH24:MI:SS') and TO_CHAR(linkname.CREATED_ON, 'YYYY-MM-DD HH24:MI:SS') When I said I 'viewed' the dat...
- Mon May 03, 2004 1:36 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Oracle date comparison and timestamp
- Replies: 4
- Views: 4160
- Mon May 03, 2004 10:58 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Oracle date comparison and timestamp
- Replies: 4
- Views: 4160
Oracle date comparison and timestamp
I have a 'Created_On' column in an Oracle table (column defined as 'Date') in which the date, when viewed, looks like MM/DD/YYCC HH:MM:SS. I'm retrieving records from this file. I have a 'Last_Run_date'column in an Oracle table (column defined as 'Date') in which the date, when viewed, looks like MM...
- Mon Apr 05, 2004 1:31 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Checking for nulls
- Replies: 3
- Views: 1781
- Mon Apr 05, 2004 11:34 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Checking for nulls
- Replies: 3
- Views: 1781
Checking for nulls
I'm using an Oracle database 'view' as my source and the zipcode column is defined as varchar(35) in the view. Some zipcodes are 10 characters (xxxx-xxxx) but I only want the first 5 characters. Null zipcodes are not allowed (the target stage specifies the column as Null=N, as does the table I'm wri...