Page 1 of 1

Difference between DSX and DSX 7-bit encoded

Posted: Thu Oct 15, 2009 10:28 pm
by kumarkb
Hi when i tried to export the DS job as .DSX i was able to see the below options
1) DSX
2) DSX 7-bit encoded

can any one please tell me what is the difference between these two?

Thanks & Regards
KB

Posted: Fri Oct 16, 2009 1:08 am
by ArndW
Just as some of the old mail systems only process 7 bit data, DataStage allows you to create a .dsx file which can be transmitted through such systems. If I recall correctly it uses the same uuencoding algorithm as does sendmail to ensure that all characters can be represented in 7 bits.

Posted: Fri Oct 16, 2009 1:29 am
by ray.wurlod
It's even simpler than that. Any character over DEL (127) is represented as \nnn where nnn is the ASCII code point for the character.

Posted: Fri Oct 16, 2009 2:44 am
by ArndW
Thanks for that, Ray. I thought to remember that UUENCODE was used somewhere in the dsx export, perhaps when exporting the binary executables. But I just checked an export file and see that the binaries (at V8) are stored as hex clear texts after all.