How to convert EBCDIC file to ASCII by DATASTAGE

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
topdsx
Participant
Posts: 9
Joined: Thu Feb 02, 2017 9:36 am

How to convert EBCDIC file to ASCII by DATASTAGE

Post 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
DEMBA
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
topdsx
Participant
Posts: 9
Joined: Thu Feb 02, 2017 9:36 am

Post by topdsx »

It's job server
DEMBA
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply