Page 1 of 1

Input file for Bapi Stage

Posted: Tue May 11, 2010 10:42 am
by BradMiller
Hi

For a Bapi Stage the INput file should be saved in Unicode Big Endian format.

I have a table from where I am collecting the invoices numbers which are doing to my INput file used in the Bapi Stage to extract the data.

How can I save the file in the Big Endian format in the Seq file stage?
I tried selecting the UTF-16BE int he NLS in the Seq file Stage. It did not work.

PLease suggest.

Posted: Tue May 11, 2010 5:06 pm
by ray.wurlod
Umm.. don't know if you can do this directly, but you could post-process the data with $DSHOME/bin/format.conv (also known as $DSHOME/bin/fnuxi) command.

Posted: Wed May 12, 2010 12:56 pm
by BradMiller
Thanks for replying.

Can you please explain how to use this command?

Posted: Wed May 12, 2010 4:40 pm
by ray.wurlod
It's original purpose was for migrating UniVerse hashed files between different-Endian environments. (The name fnuxi is a faux byte-swap of "unix" with an "f" in front.)

To be honest it's more than a decade since I've used it. Open a telnet window and execute the command HELP FORMAT.CONV
From memory the -u option is the one you need.