Author |
Message
|
satya2481 |
Posted: Tue Apr 28, 2015 9:23 am Post subject: WMBV7001-CWF-HEX and ASCII with EBCDIC Code page |
|
|
Disciple
Joined: 26 Apr 2007 Posts: 170 Location: Bengaluru
|
Hi All,
We have to define a messsage set with fields having below settings. Can someone tell what data type to be used to define these type of fields and how the final encoding has to be set so that the required result can be obtained.
Expected result = 0024555558
Field details
Field1 | Length = 2 | Data type = Hexadecimal | set the value to 0024
Field2 | Length = 3 | Data type = Character | Set the value to UUX
The message generated from the flow will be consumed by a Mainframe application. Hence the code page has to be set to 500.
We have the mainframe screen and the value looks like the one mentioned above for Expected result.
We are not able to define a message set which can meet above requirement.
Regards
Satya |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Apr 28, 2015 10:19 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Have the mainframe team give you the copybook for this data structure. |
|
Back to top |
|
 |
satya2481 |
Posted: Tue Apr 28, 2015 2:47 pm Post subject: |
|
|
Disciple
Joined: 26 Apr 2007 Posts: 170 Location: Bengaluru
|
No requested many times but they have not provided the Cobol book. Hence we are trying to define the message set manually. |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Apr 28, 2015 10:02 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Then go tell whoever gave you this assignement and say that it is impossible without the copyBook IF they want it done right and not pure guesswork.
I know that is not easy in India but you could spend many hours if not days trying things out when it would be done within a few minutes with the CopyBook. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
satya2481 |
Posted: Tue Apr 28, 2015 10:40 pm Post subject: |
|
|
Disciple
Joined: 26 Apr 2007 Posts: 170 Location: Bengaluru
|
The reason of starting this thread is because of these challenges. We have other applications to integrate for which we have the Copy book.
Let me know if there are any options or configurations at the message set level with which we can meet the requirement. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Apr 29, 2015 4:33 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Create a DFDL model for the message.
Make your best guess as to what the data types should be.
Send a message to the mainframe.
Tell them to provide the proper information to fix the message. |
|
Back to top |
|
 |
satya2481 |
Posted: Thu Apr 30, 2015 12:54 am Post subject: |
|
|
Disciple
Joined: 26 Apr 2007 Posts: 170 Location: Bengaluru
|
mqjeff, we are trying to follow the same approach. Create the message and share it with the Mainframe team to process them.
If we find a solution will update back in this thread. |
|
Back to top |
|
 |
|