Clarification about rejects from a CFF
Posted: Thu Oct 23, 2008 10:13 pm
Hi,
My source files are complex flat files from V series Mainframe systems which send files in EBCDIC fixed length format.
I collect rejects (using the save reject mode property) from these source files into another sequential file (just being curious). Now what type of rejects should I expect to get collected in the sequential file?
For Example:
Say the source file (converted to ASCII) is like this:
Metadata - 9(3)X(3)X(3)
[ 9 stands for numeric in Mainframe world ; X stands for CHAR]
File Data: [Ignore newlines - Actual files in fixed lenght format]
001AAABBBCCC
002CCCDDDEEE
003CCCRRRTTT
...
XXXYYYZZZQQQ
<blank><blank><blank>EEERRRTTT
.....
Now I belive that I should see 2 records [ the last two shown above] in the reject file. Am I correct?
Also can sombody confirm that if the number of data bits in the file [excluding headers and trailers], are not a multiple of record length, then DataStage will not be able to read the source file [aborting with short read message - Schema read failure]?
Thanks!!
My source files are complex flat files from V series Mainframe systems which send files in EBCDIC fixed length format.
I collect rejects (using the save reject mode property) from these source files into another sequential file (just being curious). Now what type of rejects should I expect to get collected in the sequential file?
For Example:
Say the source file (converted to ASCII) is like this:
Metadata - 9(3)X(3)X(3)
[ 9 stands for numeric in Mainframe world ; X stands for CHAR]
File Data: [Ignore newlines - Actual files in fixed lenght format]
001AAABBBCCC
002CCCDDDEEE
003CCCRRRTTT
...
XXXYYYZZZQQQ
<blank><blank><blank>EEERRRTTT
.....
Now I belive that I should see 2 records [ the last two shown above] in the reject file. Am I correct?
Also can sombody confirm that if the number of data bits in the file [excluding headers and trailers], are not a multiple of record length, then DataStage will not be able to read the source file [aborting with short read message - Schema read failure]?
Thanks!!