Author |
Message
|
meena05 |
Posted: Thu May 26, 2016 6:48 pm Post subject: CICS Request IIB issue |
|
|
Apprentice
Joined: 26 Feb 2016 Posts: 39
|
My CICS Response Container Name has hyphen '-' in the name. I am using IIB 9.0.0.1 version and it is not accepting container names with hyphen's. Please advise any other alternative solution. |
|
Back to top |
|
 |
maurito |
Posted: Thu May 26, 2016 9:42 pm Post subject: Re: CICS Request IIB issue |
|
|
Partisan
Joined: 17 Apr 2014 Posts: 358
|
meena05 wrote: |
My CICS Response Container Name has hyphen '-' in the name. I am using IIB 9.0.0.1 version and it is not accepting container names with hyphen's. Please advise any other alternative solution. |
rename the container |
|
Back to top |
|
 |
meena05 |
Posted: Tue May 31, 2016 9:23 am Post subject: |
|
|
Apprentice
Joined: 26 Feb 2016 Posts: 39
|
Thank you. I have renamed the container and now getting the Output from Mainframes mapped to my Output DFDL parser. However I see an empty record getting created at the end of DFDL data which is causing PARSE exceptions. Any idea on how can avoid parsing that empty record? |
|
Back to top |
|
 |
Vitor |
Posted: Tue May 31, 2016 9:26 am Post subject: Re: CICS Request IIB issue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
meena05 wrote: |
My CICS Response Container Name has hyphen '-' in the name. I am using IIB 9.0.0.1 version and it is not accepting container names with hyphen's. Please advise any other alternative solution. |
Update the Toolkit. The failure to accept a hyphen as a valid character in a container name was fixed in v9.0.0.3 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
timber |
Posted: Tue May 31, 2016 10:03 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Quote: |
I see an empty record getting created at the end of DFDL data which is causing PARSE exceptions. Any idea on how can avoid parsing that empty record? |
Possibly. Any details? |
|
Back to top |
|
 |
meena05 |
Posted: Tue May 31, 2016 10:20 am Post subject: |
|
|
Apprentice
Joined: 26 Feb 2016 Posts: 39
|
The upgrade is yet to happen. It may take few weeks to months.
I have asked Mainframes team to correct the container name.
I have my Input Copybook and Output Copy Book.
I have generated message models (DFDL) using the copy books.
I have converted my SOAP message to Input DFDL format and passed to Mainframe channel through CICS Request node.
On CICRequest node I have my Output DFDL parser. This parser receives array of multiple records. When I receive the message it is generating all the arrays perfectly but inserting an extra null record at the end and hence the DFDL parser is failing. |
|
Back to top |
|
 |
meena05 |
Posted: Tue May 31, 2016 10:23 am Post subject: |
|
|
Apprentice
Joined: 26 Feb 2016 Posts: 39
|
Am I missing any settings or how can I discard that null record? any ideas? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue May 31, 2016 10:32 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Use the DFDL tester in your toolkit to test how it creates an output data from your model and your input data.
Use a user trace to see how the data is being processed during run time. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Tue May 31, 2016 10:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
meena05 wrote: |
Am I missing any settings or how can I discard that null record? any ideas? |
You could ask whoever owns the CICS transaction you're calling why they're sending you a null at the end of the array, and ask them to stop. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ganesh |
Posted: Tue May 31, 2016 2:36 pm Post subject: |
|
|
Master
Joined: 18 Jul 2010 Posts: 294
|
|
Back to top |
|
 |
meena05 |
Posted: Tue May 31, 2016 8:05 pm Post subject: |
|
|
Apprentice
Joined: 26 Feb 2016 Posts: 39
|
Thank you Vitor and Jeff.
I got the output data from Mainframes in an excel format and see that the data from trace that the data is mapped properly till the end and then it creating an empty Array with no fields.
This is a migration service and was working fine since many years from some other technology.
will get back to them to check for null values.
For Container Name issue, another work around is to "change the container name in a text editor, right click on the subflow and say open with text editor, then change the container name until the Fixpack is available. " |
|
Back to top |
|
 |
meena05 |
Posted: Thu Jun 02, 2016 10:56 am Post subject: |
|
|
Apprentice
Joined: 26 Feb 2016 Posts: 39
|
I see that COBOL DFDL is reading the data properly field by field but still I am getting parse errors. Can you help advise.
Is it because fields with SPACES are interpreted as NULL? |
|
Back to top |
|
 |
timber |
Posted: Thu Jun 02, 2016 11:15 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Please do as mqjeff has suggested. You are in the best position to diagnose the problem because you can see your screen, whereas we cannot  |
|
Back to top |
|
 |
|