Question

I am using Talend to convert EBCDIC file using Cobol copy book representation of EBCDIC file. but i am unable to find out Half width and Full width representation of EBCDIC character

please suggest.

Was it helpful?

Solution 3

I am using cobol copy book to read the EBCDIC, so COM-4 is right data type for reading Half width as well as Full width data. COM-3 is used to read packed decimal values

OTHER TIPS

You can find documentation for one of the most widely used code pages for EBCDIC at Wikipedia. I am unfamiliar with the idea of half width vs. full width EBCDIC. Perhaps the EBCDIC 930 encoding for halfwidth Katakana is what you have in mind?

Are you talking about double-byte character sets? They use a shift-in and shift-out character x'0e' and x'0f' (if I recall correctly). You will need to parse the fields as a stream and, literally, shift into double byte mode when you hit the x'0e' and return to single byte mode when you hit the x'0f'.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top