Error while reading Mainframe file

Six Stars

Error while reading Mainframe file

Team,

 

Requirement is to process mainframe file(EBCDIC) file, so below is the job design,

 

tFileInputRaw --> tHmap --> tFileOutputDelimited

 

Used a COBOL copy book to generate the structure and the same was called inside tHmap and the corresponding output assignments where made.

 

While executing the job getting error like,

"2: Error - An end-of-file was encountered during the processing of this element. (802)

Structure : Structure/" 

 

In the output able to see few records but the records are like readable and non readable format.

 

Help on this regards is much appreciated.

Tags (1)
Forteen Stars TRF
Forteen Stars

Re: Error while reading Mainframe file

Hi,

Do you mean "tMap" in instead of "tHmap"?

In this case, can you share your tMap settings?


TRF
Thirteen Stars

Re: Error while reading Mainframe file

which verion of Talend are you using? and is it paid version?

Manohar B
Thirteen Stars

Re: Error while reading Mainframe file

I was that mainframe file ,we should read with tFileInputPositional  in Talend.

Manohar B
Thirteen Stars

Re: Error while reading Mainframe file

Talend community provides components having capability to read or write EBCDIC file format from Mainframe platform.

-tFileInputEBCDIC
-tFileOutputEBCDIC

Please https://exchange.talend.com and download these components from the studio.
Manohar B
Six Stars

Re: Error while reading Mainframe file

Hi TRF,

 

It is tHmap component, using it we achieve Talend Data Mapper capabilities, not tmap.

Six Stars

Re: Error while reading Mainframe file

Hi Manodwhb,

 

Note that this component is deprecated. The EBCDIC handling capabilities are now fully supported by Talend Data Mapper that comes with any Talend Platform solutions. For more information about Talend Data Mapper, see Talend Data Mapper User Guide.