ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » CICS Request IIB issue

Post new topic  Reply to topic
 CICS Request IIB issue « View previous topic :: View next topic » 
Author Message
meena05
PostPosted: Thu May 26, 2016 6:48 pm    Post subject: CICS Request IIB issue Reply with quote

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
View user's profile Send private message
maurito
PostPosted: Thu May 26, 2016 9:42 pm    Post subject: Re: CICS Request IIB issue Reply with quote

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
View user's profile Send private message
meena05
PostPosted: Tue May 31, 2016 9:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue May 31, 2016 9:26 am    Post subject: Re: CICS Request IIB issue Reply with quote

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
View user's profile Send private message
timber
PostPosted: Tue May 31, 2016 10:03 am    Post subject: Reply with quote

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
View user's profile Send private message
meena05
PostPosted: Tue May 31, 2016 10:20 am    Post subject: Reply with quote

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
View user's profile Send private message
meena05
PostPosted: Tue May 31, 2016 10:23 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Tue May 31, 2016 10:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue May 31, 2016 10:49 am    Post subject: Reply with quote

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
View user's profile Send private message
ganesh
PostPosted: Tue May 31, 2016 2:36 pm    Post subject: Reply with quote

Master

Joined: 18 Jul 2010
Posts: 294

meena05 wrote:
Am I missing any settings or how can I discard that null record? any ideas?


See if the solution provided in the below link helps.

http://www.mqseries.net/phpBB2/viewtopic.php?p=402789&sid=1e174289a58a858b933e94ab1d66f04b
Back to top
View user's profile Send private message
meena05
PostPosted: Tue May 31, 2016 8:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
meena05
PostPosted: Thu Jun 02, 2016 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message
timber
PostPosted: Thu Jun 02, 2016 11:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » CICS Request IIB issue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.