camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From baleado <joaoanacl...@gmail.com>
Subject JT400 Component - Program Call - Packed Decimal
Date Mon, 12 Mar 2012 16:29:15 GMT
Hi, 

I'm trying to use the camel-jt400 component to call a PGM program in a AS400
environment.

The PGM have 4 parameters: 
A10 - Alphanumeric
N5 - Numeric
N5,2 - Packed Decimal
A30 - Alphanumeric

Here is my component configuration:
<camel:to
uri=&quot;jt400://&lt;MYUSER>:<MYPASSWORD>@<SYSTEM>/QSYS.LIB/<MYLIB>/MYPGM.PGM?fieldsLength=10,5,5,80&outputFieldsIdx=4"
/>

The message input that i'm using:
String[] params = {"Test","12345", "123", 	""};

But in AS400 environment I can see that an error occurred: Decimal Data
Error.

How can I configure the decimal and packed decimal input parameters?




--
View this message in context: http://camel.465427.n5.nabble.com/JT400-Component-Program-Call-Packed-Decimal-tp5558328p5558328.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message