Input dataset does not have input field
Posted: Fri Apr 17, 2009 4:54 am
I understand this topic has been discussed, however I am not still clear how to solve this issue.
Dataset1
----------
record
( SRC_RECORD_CODE: string[max=2];
SRC_CODE_SEGMENT: string[max=1];
SRC_LIB_SEGMENT: nullable string[max=30];
SRC_CODE_SURSEGMENT: string[max=2];
)
Dataset2
----------
record
( ID_SURSEGMENT: int64;
CODE_SURSEGMENT: string[max=2];
)
Dataset3
----------
record
( SRC_RECORD_CODE: string[max=2];
CODE_SEGMENT: string[max=1];
LIB_SEGMENT: nullable string[max=30];
SRC_CODE_SURSEGMENT: string[max=2];
ID_SURSEGMENT: int64;
)
Dataset4
----------
record
( SRC_RECORD_CODE: string[max=2];
CODE_SEGMENT: string[max=1];
LIB_SEGMENT: nullable string[max=30];
SRC_CODE_SURSEGMENT: string[max=2];
)
1. while I do look up with Dataset1 and Dataset2, I get an output as Dataset3. At the same time I have a reject link also pointing to dataset4 which gets about 15 rejected rows which I am not able to view by using the option "right click and view dataset4" and gives the below error1.
2. By using "Tools --> Data set management" I saw the rejected row and schema (list of all schema is listed above).
3. Please let me know IF RCP hasanything to do with this.
error1:
--------
##E TOPK 000000 12:11:12(020) <_PEEK_IDENT_> Input dataset does not have field: "SRC_CODE_SEGMENT".
##E TOPK 000000 12:11:12(021) <_PEEK_IDENT_> Input dataset does not have field: "SRC_LIB_SEGMENT".
##E TFSR 000019 12:11:12(023) <main_program> Could not check all operators because of previous error(s)
##E TCOS 000029 12:11:12(024) <main_program> Creation of a step finished with status = FAILED.
-------------------------------------------------------------------------
Instead of using the datset4 for reject, if I use a sequential file then I get these types of error2 and the job aborts.
error2:
--------
Sequential_File_131: Error when checking operator: Could not find input field "SRC_CODE_SEGMENT".
Sequential_File_131: When checking operator: When validating export schema: At field "SRC_LIB_SEGMENT": Exporting nullable field without null handling properties
Sequential_File_131: Error when checking operator: Could not find input field "SRC_LIB_SEGMENT".
main_program: Could not check all operators because of previous error(s)
main_program: Creation of a step finished with status = FAILED.
Dataset1
----------
record
( SRC_RECORD_CODE: string[max=2];
SRC_CODE_SEGMENT: string[max=1];
SRC_LIB_SEGMENT: nullable string[max=30];
SRC_CODE_SURSEGMENT: string[max=2];
)
Dataset2
----------
record
( ID_SURSEGMENT: int64;
CODE_SURSEGMENT: string[max=2];
)
Dataset3
----------
record
( SRC_RECORD_CODE: string[max=2];
CODE_SEGMENT: string[max=1];
LIB_SEGMENT: nullable string[max=30];
SRC_CODE_SURSEGMENT: string[max=2];
ID_SURSEGMENT: int64;
)
Dataset4
----------
record
( SRC_RECORD_CODE: string[max=2];
CODE_SEGMENT: string[max=1];
LIB_SEGMENT: nullable string[max=30];
SRC_CODE_SURSEGMENT: string[max=2];
)
1. while I do look up with Dataset1 and Dataset2, I get an output as Dataset3. At the same time I have a reject link also pointing to dataset4 which gets about 15 rejected rows which I am not able to view by using the option "right click and view dataset4" and gives the below error1.
2. By using "Tools --> Data set management" I saw the rejected row and schema (list of all schema is listed above).
3. Please let me know IF RCP hasanything to do with this.
error1:
--------
##E TOPK 000000 12:11:12(020) <_PEEK_IDENT_> Input dataset does not have field: "SRC_CODE_SEGMENT".
##E TOPK 000000 12:11:12(021) <_PEEK_IDENT_> Input dataset does not have field: "SRC_LIB_SEGMENT".
##E TFSR 000019 12:11:12(023) <main_program> Could not check all operators because of previous error(s)
##E TCOS 000029 12:11:12(024) <main_program> Creation of a step finished with status = FAILED.
-------------------------------------------------------------------------
Instead of using the datset4 for reject, if I use a sequential file then I get these types of error2 and the job aborts.
error2:
--------
Sequential_File_131: Error when checking operator: Could not find input field "SRC_CODE_SEGMENT".
Sequential_File_131: When checking operator: When validating export schema: At field "SRC_LIB_SEGMENT": Exporting nullable field without null handling properties
Sequential_File_131: Error when checking operator: Could not find input field "SRC_LIB_SEGMENT".
main_program: Could not check all operators because of previous error(s)
main_program: Creation of a step finished with status = FAILED.