reading ebcdic data

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

(2nd attempt, somehow my longer first post disappeared)

Use the CFF stage, it makes reading COBOL and EBCDIC files simple and performs the EBCDIC to ASCII conversion automagically.
Manfred Hagedorn
Participant
Posts: 58
Joined: Wed Apr 04, 2007 10:02 am

Post by Manfred Hagedorn »

Hello,
in parallel i tried with CFF stage,
i also used the cobol copy book definitions and got erros like:
Complex_Flat_File_14,0: Field "JNAFOC_DATCRE" has import error and no default value; data: {o c1 c3 c7}, at offset: 1
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Stick with the CFF stage. What is the data type of JNAFOC_DATCRE and do you have NLS turned on?
Manfred Hagedorn
Participant
Posts: 58
Joined: Wed Apr 04, 2007 10:02 am

Post by Manfred Hagedorn »

Hello,
the column is decimal (Picture PIC9(7) Comp-3)
NLS=Project default (ISO-8859-1)
Manfred Hagedorn
Participant
Posts: 58
Joined: Wed Apr 04, 2007 10:02 am

Post by Manfred Hagedorn »

Hello,
the column is decimal (Picture PIC9(7) Comp-3)
NLS=Project default (ISO-8859-1)
Manfred Hagedorn
Participant
Posts: 58
Joined: Wed Apr 04, 2007 10:02 am

Post by Manfred Hagedorn »

Hello,
thank for your comments and feedback.
Meanwhile my problem is solved.
I don't really understand, but the data was shonw as unreadable characters in file-output
but data is well readable when using an oracle output and access the data from oracle.
Best regards
Manfred
Post Reply