BASE64 Decoding

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
pianoforty
Participant
Posts: 1
Joined: Thu Nov 06, 2003 3:16 pm

BASE64 Decoding

Post by pianoforty »

We will be getting BASE64 encoded data embedded in a file that needs to be decoded and stored in a blob. There is a base64 decoder in XMLPACK but the data we will be getting is not XML. Is there a BASE64 decoder hidden among the built-in transforms? I have not found it. Will I have to write a custom transform for this?
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Since DataStage can't handle BLOBs, you're seeking an approach that DataStage won't be able to implement.

Transmit the BASE64-encoded text string unchanged, and decode it after DataStage has pushed it through. Or don't process it with DataStage at all; just use operating system facilities (copy, remote copy, ftp, etc.).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply