Hi All , I need to read ebcdic file having multischema - Header , Data and Trailer.Header and trailer have 'H' and 'T' indicator respectively , but data records does not have any such indicator. I tried with tFileOutputEbcdic , but it parses whole file as per single schema.I need to read each record as per its schema. Kindly help.
Are you able to get any of the schema from EBCDIC? if yes then you can use tMap to filter each schema using output filters. but some where i read about using multi schema EBCDIC with cobol copy book and Talend. Hi Sabrina, Does Talend Data mapper supports EBCDIC?
I tried reading the file tFileInputEBCDIC.Issue is if I provide all 3 schemas to singke tFileInputEBCDIC , then it throws error while reading the very first row , "Format not Found exception". I then tried reading full file using one single schema and then using tMap to get separate records using substring , but it throws error , substring returns boolean , can not be stored in char field. I am bit new to Talend , Kindly coperate in case of any small mistakes
After EBCDIC component put tLogRow and check what results are you getting for one of the schema and also check you have specified right length using schema xc2j file. One more thing is that file has EBCDIC data or its format is EBCDIC? you can open same file in any hex editor and check what value you see.