asorrell wrote:CFF is used for reading sequential files with "structures". Good examples are multi-level COBOL generated files (you'll need the copybook to set it up easily) or files that have different types of record layouts indicated by a flag field in the first column (typically Header / Detail / Trailer).
Yes - it can be used to route the different record-types down different links - but each "type" must be identifiable via a particular string in the first column (like "H" for header or "D" for Detail).
The only difference I can recall between 7 and 8 is that the 8 version has a "Fast Path" selector at the bottom that walks you through the tabs you need to use to setup the stage. Not quite a wizard, but it helps.
Iam using V7.x and i have input records of types starting with 'H' and 'D' ..
i was trying to divide using CFF stage but couldnt find any option and also referred guide but didnt not mention any thing about dividing variable record types in 7.x .....can we do it in 7.x??can you tell me how to do it , if we can ?
And while viewind data from stage iam getting following error ..
##E TOIX 000001 10:01:30(000) <Complex_Flat_File_0,0> Failure during execution of operator logic. [api/operator_rep.C:330]
##F TUXX 000001 10:01:32(000) <APT_CombinedOperatorController,0> Internal Error: (stype == eFull): impexp/recordstream.C: 2710
Traceback: pureAssertion__13APT_FatalPathFPCcPCci() at 0xd5b3c654
readBlockWord__23APT_VaryingRecordStreamFRiPUsR12APT_ErrorLog() at 0xd55b9f14
readSegment__23APT_VaryingRecordStreamFRiPPCcPiPUiPQ2_23APT_VaryingRecordStream11SegmentTypeR12APT_ErrorLog() at 0xd55b9fa4
readRecord___23APT_VaryingRecordStreamFPPCvPUiR12APT_ErrorLogb() at 0xd55ba2fc
writeOutputRecord__22APT_FileImportOperatorFv() at 0xd69487b4
runLocally__30APT_CombinedOperatorControllerFv() at 0xd54c1c28
run__15APT_OperatorRepFv() at 0xd53ff20c
runLocally__14APT_OperatorSCFv() at 0xd53ebbbc
runLocally__Q2_6APT_SC8OperatorFUi() at 0xd5476a44
runLocally__Q2_6APT_IR7ProcessFv() at 0xd54f98c8
couldnt figure out wht this is about??
thanks...