output is not populating

Formally known as "Mercator Inside Integrator 6.7", DataStage TX enables high-volume, complex transactions without the need for additional coding.

Moderators: chulett, rschirm

Post Reply
siva9880
Participant
Posts: 12
Joined: Wed Apr 02, 2008 3:13 am

output is not populating

Post by siva9880 »

Hi,

My input is edifact and output is xml.
field is number in both the source and destination of decimal format, when i am passing the input value as 0 (zero) i need to get output 0 (zero)
but i am not getting in the output.

only if i pass 0.0 as input i am getting the output as 0 (zero).

but i am having input as 0 (zero) only not 0.0.

Please find me a solution for this.
janhess
Participant
Posts: 201
Joined: Thu Sep 18, 2003 2:18 am
Location: UK

Post by janhess »

0 is probably a pad character as defined in your type tree. You will need to change this.
siva9880
Participant
Posts: 12
Joined: Wed Apr 02, 2008 3:13 am

Post by siva9880 »

janhess wrote:0 is probably a pad character as defined in your type tree. You will need to change this.

I have no permissions to change the type tree since it will effect other clients.

please let me know without changing the type tree.

Thanks.
janhess
Participant
Posts: 201
Joined: Thu Sep 18, 2003 2:18 am
Location: UK

Post by janhess »

if(absent(inputfield),0,inputfield)
rep
Participant
Posts: 82
Joined: Tue Jun 19, 2007 8:04 am
Location: New York City

Post by rep »

siva9880 wrote:
please let me know without changing the type tree.

Thanks.
Use a different type tree for this one client.


Did you get this to work? Is it for the MOA segment/amount? We had a similar issue recently, but we can change our type trees.


Also, do you use commerce mananger, and if not, how do you route your EDIFACT data?
Post Reply