Hi,
I have a queue which will be feeding data to 2 applications. One application wants to get a new field data also now while the other application doesn't need this field. We are planning to add the field at the end of the copybook so that the field will be truncated for the second application. Will this approach work. What excatly is stored in MQGMO-ACCEPT-TRUNCATED-MSG variable. You have any reference material for the MQ variable details.
Please suggest.
Thanks In Advance,
Jisha
Truncation while getting message from MQ series
-
- Posts: 7
- Joined: Mon May 11, 2009 3:12 pm
- Skillset: Cobol, db2, Cics, jcl
- Referer: through net
Re: Truncation while getting message from MQ series
Hi,
Could you please reply to my doubt ?
Awaiting your response.
Thanks,
Jisha
Could you please reply to my doubt ?
Awaiting your response.
Thanks,
Jisha
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Truncation while getting message from MQ series
Hello,
Possibly, someone who "does MQ" will see this topic and reply.
Peresonally, i'd make a new copybook for the new requirement rather than merely being lazy and leaving something confusing for others to deal with. . . fwiw.
This has nothing to do with mq but rather with creating things that are more maintainable.
Possibly, someone who "does MQ" will see this topic and reply.
Hopefully, you have run some experiments by now. . .Will this approach work.
Peresonally, i'd make a new copybook for the new requirement rather than merely being lazy and leaving something confusing for others to deal with. . . fwiw.
This has nothing to do with mq but rather with creating things that are more maintainable.
Hope this helps,
d.sch.
d.sch.
-
- Posts: 7
- Joined: Mon May 11, 2009 3:12 pm
- Skillset: Cobol, db2, Cics, jcl
- Referer: through net
Re: Truncation while getting message from MQ series
Hi,
Thanks for the reply. The situation is like another application is receiving the data and they don't want to make any modifications at their end. So we have thought of this data truncation possibilty.
Thanks,
Jisha
Thanks for the reply. The situation is like another application is receiving the data and they don't want to make any modifications at their end. So we have thought of this data truncation possibilty.
Thanks,
Jisha
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Truncation while getting message from MQ series
Hello,
Peresonally, i make sure one or the other was changed to be consistent. I'm sure "they" didn't want the new format
If there are to be 2 formats, i'd suggest 2 copybooks and probably 2 different queues.
Trying to "sneak around" things like this causes problems later more often than not.
fwiw. . .
Peresonally, i make sure one or the other was changed to be consistent. I'm sure "they" didn't want the new format

If there are to be 2 formats, i'd suggest 2 copybooks and probably 2 different queues.
Trying to "sneak around" things like this causes problems later more often than not.
fwiw. . .
Hope this helps,
d.sch.
d.sch.
-
- Posts: 7
- Joined: Mon May 11, 2009 3:12 pm
- Skillset: Cobol, db2, Cics, jcl
- Referer: through net
Re: Truncation while getting message from MQ series
Thanks for the reply. We are trying to include new copybooks for the new structure now.
Thanks,
Jisha
Thanks,
Jisha
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Truncation while getting message from MQ series
You're welcome - good luck
d

d
-
- Similar Topics
- Replies
- Views
- Last post
-
- 13
- 8463
-
by valeca
View the latest post
Fri Sep 30, 2022 11:22 pm
-
-
SYNCSORT DATASORT message SYT076E
by f1_lemaner » Thu Dec 23, 2021 11:12 pm » in DFSORT/ICETOOL/ICEGENER - 5
- 1885
-
by f1_lemaner
View the latest post
Fri Dec 24, 2021 2:23 pm
-
-
-
How can I copy message queue files (LGMSG,SHMSG) in V9R1
by futohomok » Thu Jul 27, 2023 5:54 pm » in IMS DB/DC - 6
- 2144
-
by futohomok
View the latest post
Thu Aug 03, 2023 1:21 pm
-