cancel
Showing results for 
Search instead for 
Did you mean: 

Create Binary file as target

Former Member
0 Kudos

Hi Experts,

How can we create a binary file as target using BODS?

Source data is utf-8.

Thanks,
Ancy

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member200473
Contributor
0 Kudos

Hi Ancy,

I could not understand your requirement.

Can you please explain more ?

Cheers,

Shiva Sahu

Former Member
0 Kudos

Hi Shiva,

I have source as BW table and the target should be a binary file.means the target data should be in binary form.

Can we achieve that using BODS?

Thanks,
Ancy

former_member200473
Contributor
0 Kudos

Hi Ancy,

I am not sure if it could done through BODS but you can create an .exe program in C Programming language and call it through BODS script and create binary file.

here is the link for creating .exe program that creates binary file.

c - What's a binary file and how do I create one? - Stack Overflow

Hope this helps you.

Please try and update the thread

Cheers,

Shiva Sahu

Former Member
0 Kudos

Hi Shiva,

Thanks for the response..

But my working OS is windows.

Do we have a batch script/command to convert text file to binary?


Thanks,

Ancy

former_member200473
Contributor
0 Kudos

Hi Ancy,

Window means, can't you install C programming software.

Not sure about the batch script/Command

Shiva Sahu

Former Member
0 Kudos

Ancy,

There is no native functions to do that. You have to write a custom function. Whats there in the source? Is it like 1 and 0? What do you want in the target?

Arun