AW: Re: COBOL Copybook with Redefines clause and WMQI
it is solved, WMQI treats redefines element as choice elements. My copy book had 07 ELEMENT1PIC X(6). 07 ELEMENT2 REDEFINES ELEMENT1. and so only one of them, either ELEMENT1 or ELEMENT2 needed to be assinged and not both. Thank you -Ursprüngliche Nachricht- Von:Tony Devitt [mailto:[EMAIL PROTECTED]] Gesendet: Mi 15.01.2003 03:37 An: [EMAIL PROTECTED] Cc: Betreff: Re: COBOL Copybook with Redefines clause and WMQI ** Note: This e-mail is subject to the disclaimer contained at the bottom of this message. ** : A couple of points. Make sure that the qualifier GROUP001 is included in your ESQL SET statement if you have manually built the statement (as opposed to drag and drop).e.g. OutputRoot.MRM.GROUP001.ElementName. Tracing the flow might be useful to determine what is being created. I'm not sure what you mean by 'commenting out' the GROUP001 element. This Compound Type will contain two or more elements, or types, which are the alternative 'choices'. Any changes to the generated definition need to be done with considerable care to ensure that you still have a valid structure. Again, tracing will let you check the output structure that is being created in the flow. Saraswathy A cc: Sent by: MQSeries Subject: COBOL Copybook with Redefines clause and WMQI List 01/14/03 07:28 PM Please respond to MQSeries List Hi All, I have messageset that has a copybook imported that contains a redefines clause and WMQI created a element with the postfix Group001. I have a message flow that uses a compute node which has the above messageset as the output format. I get the following error at the output node. ' Mismatch between logical definition and message tree' and if i comment out this Group001 element i get a different error message 'illegal choice element' What changes need to be done while tranformaing ? ,i have WMQI 2.1 for HP Thanks in Advance Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive : The information transmitted in this message and attachments (if any) is intended only for the person or entity to which it is addressed. The message may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information, by persons or entities other than the intended recipient is prohibited. If you have received this in error, please contact the sender and delete this e-mail and associated material from any computer. The intended recipient of this e-mail may only use, reproduce, disclose or distribute the information contained in this e-mail and any attached files, with the permission of CGU Insurance. This message has been scanned for viruses and cleared by MailMarshal. : Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: COBOL Copybook with Redefines clause and WMQI
** Note: This e-mail is subject to the disclaimer contained at the bottom of this message. ** : A couple of points. Make sure that the qualifier GROUP001 is included in your ESQL SET statement if you have manually built the statement (as opposed to drag and drop).e.g. OutputRoot.MRM.GROUP001.ElementName. Tracing the flow might be useful to determine what is being created. I'm not sure what you mean by 'commenting out' the GROUP001 element. This Compound Type will contain two or more elements, or types, which are the alternative 'choices'. Any changes to the generated definition need to be done with considerable care to ensure that you still have a valid structure. Again, tracing will let you check the output structure that is being created in the flow. Saraswathy A cc: Sent by: MQSeries Subject: COBOL Copybook with Redefines clause and WMQI List 01/14/03 07:28 PM Please respond to MQSeries List Hi All, I have messageset that has a copybook imported that contains a redefines clause and WMQI created a element with the postfix Group001. I have a message flow that uses a compute node which has the above messageset as the output format. I get the following error at the output node. ' Mismatch between logical definition and message tree' and if i comment out this Group001 element i get a different error message 'illegal choice element' What changes need to be done while tranformaing ? ,i have WMQI 2.1 for HP Thanks in Advance Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive : The information transmitted in this message and attachments (if any) is intended only for the person or entity to which it is addressed. The message may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information, by persons or entities other than the intended recipient is prohibited. If you have received this in error, please contact the sender and delete this e-mail and associated material from any computer. The intended recipient of this e-mail may only use, reproduce, disclose or distribute the information contained in this e-mail and any attached files, with the permission of CGU Insurance. This message has been scanned for viruses and cleared by MailMarshal. : Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
AW: Re: COBOL Copybook with Redefines clause and WMQI
all the fields have been assigned and in the same order. I even tried setting all default values (0 or space) ,instead of my input values. Still get the same error! -Ursprüngliche Nachricht- Von:Alan Stewart [mailto:[EMAIL PROTECTED]] Gesendet: Di 14.01.2003 14:30 An: [EMAIL PROTECTED] Cc: Betreff: Re: COBOL Copybook with Redefines clause and WMQI I get this error when a field is not getting set by some value in the copybook in order. Check that all fields have been assigned a value or 'touched' with a space for PIC X() fields, 0 for integer fields etc. Check also that your redefine section is exactly the same length as the part of the copybook that it is redefining. Alan Saraswathy A <[EMAIL PROTECTED]> Sent by: MQSeries List <[EMAIL PROTECTED]> 14/01/2003 07:28 PM Please respond to MQSeries List <[EMAIL PROTECTED]> To [EMAIL PROTECTED] cc Subject COBOL Copybook with Redefines clause and WMQI Hi All, I have messageset that has a copybook imported that contains a redefines clause and WMQI created a element with the postfix Group001. I have a message flow that uses a compute node which has the above messageset as the output format. I get the following error at the output node. ' Mismatch between logical definition and message tree' and if i comment out this Group001 element i get a different error message 'illegal choice element' What changes need to be done while tranformaing ? ,i have WMQI 2.1 for HP Thanks in Advance Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: COBOL Copybook with Redefines clause and WMQI
I get this error when a field is not getting set by some value in the copybook in order. Check that all fields have been assigned a value or 'touched' with a space for PIC X() fields, 0 for integer fields etc. Check also that your redefine section is exactly the same length as the part of the copybook that it is redefining. Alan Saraswathy A <[EMAIL PROTECTED]> Sent by: MQSeries List <[EMAIL PROTECTED]> 14/01/2003 07:28 PM Please respond to MQSeries List <[EMAIL PROTECTED]> To [EMAIL PROTECTED] cc Subject COBOL Copybook with Redefines clause and WMQI Hi All, I have messageset that has a copybook imported that contains a redefines clause and WMQI created a element with the postfix Group001. I have a message flow that uses a compute node which has the above messageset as the output format. I get the following error at the output node. ' Mismatch between logical definition and message tree' and if i comment out this Group001 element i get a different error message 'illegal choice element' What changes need to be done while tranformaing ? ,i have WMQI 2.1 for HP Thanks in Advance Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive This email is intended for the named recipient only. The informationcontained in this message may be confidential, or commerciallysensitive. If you are not the intended recipient you must not reproduceor distribute any part of the email, disclose its contents to any otherparty, or take any action in reliance on it. If you have received thisemail in error, please contact the sender immediately. Please deletethis message from your computer.
COBOL Copybook with Redefines clause and WMQI
Hi All, I have messageset that has a copybook imported that contains a redefines clause and WMQI created a element with the postfix Group001. I have a message flow that uses a compute node which has the above messageset as the output format. I get the following error at the output node. ' Mismatch between logical definition and message tree' and if i comment out this Group001 element i get a different error message 'illegal choice element' What changes need to be done while tranformaing ? ,i have WMQI 2.1 for HP Thanks in Advance Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive