Page 1 of 1

How to convert EBCDIC file to ASCII by DATASTAGE

Posted: Fri Feb 10, 2017 9:43 am
by topdsx
Hi,

How to convert EBCDIC character to ASCII by datastage ?

A job aborted and i can't to read it.

Thank you very much

DEMBA

Posted: Fri Feb 10, 2017 10:08 am
by chulett
What kind of job - Server, Parallel? One would typically use the Complex Flat File stage for reading mainframe EBCDIC files as it will handle all of that for you.

Posted: Fri Feb 10, 2017 10:15 am
by topdsx
It's job server

Posted: Fri Feb 10, 2017 10:22 am
by chulett
Thanks, just wanted to confirm before I moved you out of the General forum to a job type specific one. As noted, use the Complex Flat File stage for this. Do you have the FD that describes the file layout? The CFF stage is a bit daunting at first but is what you would need to learn to consume that kind of a file.

This FAQ entry on the subject should prove helpful as well.