Author |
Message
|
N |
Posted: Fri Apr 18, 2008 6:25 pm Post subject: CPI Converter Input Data invalid |
|
|
Acolyte
Joined: 21 Jul 2007 Posts: 64
|
Hi,
I define a messageset item(1) as below and mapping item(2). However im getting
DataCnv:StrToInt64
CPI Converter Input Data invalid
1. Copybook struct
05 Name PIX X(04)
2. Mapping
Set OutputRoot.XX.MRM.Name = 'ABC'; |
|
Back to top |
|
 |
kimbert |
Posted: Sat Apr 19, 2008 12:45 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Take a user trace. Always take a user trace when attempting to diagnose a parsing error. |
|
Back to top |
|
 |
Bill.Matthews |
Posted: Sat Apr 19, 2008 4:34 am Post subject: Re: CPI Converter Input Data invalid |
|
|
 Master
Joined: 23 Sep 2003 Posts: 232 Location: IBM (Retired)
|
N wrote: |
2. Mapping
Set OutputRoot.XX.MRM.Name = 'ABC'; |
This is not a valid statement. If this is what you are using, then try this:
Set OutputRoot.MRM.Name = 'ABC';
Also, take the user trace as Kimbert requested. _________________ Bill Matthews |
|
Back to top |
|
 |
N |
Posted: Sun Apr 20, 2008 11:04 pm Post subject: Hi |
|
|
Acolyte
Joined: 21 Jul 2007 Posts: 64
|
Yes. the mapping is smth like this
Set OutputRoot.MRM.Name = 'ABC';
Here you go, log file
(0x01000000):ParserException = (
(0x03000000):File = '/build/S500P/src/cpi/pwf/cwf/cwfmessag
(0x03000000):Line = 420
(0x03000000):Function = 'CMessage::write'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Text = 'CWF Writing error'
(0x03000000):Catalog = 'BIPv500'
(0x03000000):Severity = 3
(0x03000000):Number = 5350
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '0'
)
)
(0x01000000):ParserException = (
(0x03000000):File = '/build/S500P/src/
(0x03000000):Line = 1638
(0x03000000):Function = 'MtiImbValueValidator::basicValid
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Text = 'Exception thrown when casting to
(0x03000000):Catalog = 'BIPv500'
(0x03000000):Severity = 3
)
(0x01000000):ConversionException = (
(0x03000000):File = '/build/S500P/src/cpi/bsutils/datacnv.cpp'
(0x03000000):Line = 533
(0x03000000):Function = 'DataCnv::StrToInt64'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Text = 'CPI Converter Input Data Invalid'
(0x03000000):Catalog = 'BIPv500'
(0x03000000):Severity = 3
(0x03000000):Number = 5505
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'string'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'ORG'
)
)
)
)
)
)
E |
|
Back to top |
|
 |
kimbert |
Posted: Mon Apr 21, 2008 12:58 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
That is not a user trace. it's an exception list.
The user trace will give the full text of the error messages, and will probably point you to the solution. Please take a user trace and post the relevant section here. |
|
Back to top |
|
 |
|