Oracle Load warning
Moderators: chulett, rschirm, roy
-
- Charter Member
- Posts: 87
- Joined: Sat Mar 18, 2006 11:45 pm
Oracle Load warning
Hi
While loading the data in oracle using orale load option I got the following warning
Ora_qty: When checking operator: When validating export schema: At field "M_QTY": "null_field" length (16) must match field's fixed width 8
The feild M_QTY in target is of type float(22) and nullable ,
Can somebody let me know how to fix the warning I tried changing the coloumn in data stage to integer,tried float with length 8 but none worked out (same warning)
While loading the data in oracle using orale load option I got the following warning
Ora_qty: When checking operator: When validating export schema: At field "M_QTY": "null_field" length (16) must match field's fixed width 8
The feild M_QTY in target is of type float(22) and nullable ,
Can somebody let me know how to fix the warning I tried changing the coloumn in data stage to integer,tried float with length 8 but none worked out (same warning)
-
- Charter Member
- Posts: 87
- Joined: Sat Mar 18, 2006 11:45 pm
Typically this happens to us when there is mismatch in the datatype , specially Fixed width fields carrying Null Values. You can also check the below link
viewtopic.php?t=97873&highlight=When+va ... ort+schema
I know DSXchange team is working on this
viewtopic.php?t=97873&highlight=When+va ... ort+schema
I know DSXchange team is working on this
-
- Charter Member
- Posts: 87
- Joined: Sat Mar 18, 2006 11:45 pm
Is there any way to get rid of itthumsup9 wrote:Typically this happens to us when there is mismatch in the datatype , specially Fixed width fields carrying Null Values. You can also check the below link
viewtopic.php?t=97873&highlight=When+va ... ort+schema
I know DSXchange team is working on this
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Null Field Length property is for use with variable-length strings. You do not have any of these in a fixed-width file. Use Null Field Value property instead (they are mutually exclusive), and make sure that the value is of the correct length.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Charter Member
- Posts: 87
- Joined: Sat Mar 18, 2006 11:45 pm
How do you chage to Null Feild Value property I dont have any sequential file in job ,I am loading it in oracle feild of type float 22ray.wurlod wrote:Null Field Length property is for use with variable-length strings. You do not have any of these in a fixed-width file. Use Null Field Value property instead (they are mutually exclusive), and make sure that the value is of the correct length.
You will find In Field Defaults:
Defines default properties for columns written to the file or files.
These are applied to all columns written, but can be overridden for
individual columns from the Columns tab using the Edit Column
Metadata dialog box.
Null field value. Specifies the value written to null field if the
source is set to null. Can be a number, string, or C-type literal
escape character.
Defines default properties for columns written to the file or files.
These are applied to all columns written, but can be overridden for
individual columns from the Columns tab using the Edit Column
Metadata dialog box.
Null field value. Specifies the value written to null field if the
source is set to null. Can be a number, string, or C-type literal
escape character.
-
- Charter Member
- Posts: 87
- Joined: Sat Mar 18, 2006 11:45 pm
Sorry , I think I dont have much experience with tool yet.thumsup9 wrote:You will find In Field Defaults:
Defines default properties for columns written to the file or files.
These are applied to all columns written, but can be overridden for
individual columns from the Columns tab using the Edit Column
Metadata dialog box.
Null field value. Specifies the value written to null field if the
source is set to null. Can be a number, string, or C-type literal
escape character.
Can you also please tell me is feild defaults a administrator setting ,when I go to edit row in column defination for oracle stage I dont see any feild defualts
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It's no different really, it's just that there's no property so that your design must ensure that whatever value is used to represent NULL has the same width in the fixed-width DATA file as the field.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.