View previous topic :: View next topic |
Author |
Message |
SureshKumar Intermediate
Joined: 23 Jan 2003 Posts: 211 Topics: 21
|
Posted: Fri Jan 27, 2006 4:26 pm Post subject: XML Generate (XML-CODE) error |
|
|
Hi,
I have an unique situation wherein the XML Generate statement is not executing. I have developed the code in Lower regions and it works fine, but throws an exception in an higher region. All the regions are on the same LPAR. I have hit a wall, there is something that's stopping the execution, the return code XML-CODE seems corrupted, any idea on where to look into? Thanks
Version Enterprise Cobol 3.4
CICS/Cobol application with XML. This one is a simple program with no more statements other than the initialize.
Code: |
XML GENERATE XML-DATA FROM OUTPUT-AREA COUNT IN WS-COUNT
ON EXCEPTION
MOVE XML-CODE TO WS-XML-CODE
MOVE WS-XML-CODE TO LS-RESP-CODE
MOVE 'XML-CNV FAILED' TO LS-RESP-TEXT
NOT ON EXCEPTION
MOVE XML-DATA TO LS-DATA
MOVE WS-COUNT TO LS-LENGTH
END-XML.
|
on xpediting the following is in the XML-CODE
Code: |
K 02 WS-XML-CODE S9(09) COMP +391108417
K 02 WS-COUNT S9(09) COMP +1077997808
|
|
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Sat Jan 28, 2006 6:07 am Post subject: |
|
|
Quote: |
XML GENERATE XML-DATA FROM OUTPUT-AREA COUNT IN WS-COUNT
|
was this supposed to input-area or you defined the incoming xml input as output-area?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
SureshKumar Intermediate
Joined: 23 Jan 2003 Posts: 211 Topics: 21
|
Posted: Sat Jan 28, 2006 9:47 am Post subject: |
|
|
Kolusu,
I just named it that way for the post, changed the actual variable name for the post. |
|
Back to top |
|
|
SureshKumar Intermediate
Joined: 23 Jan 2003 Posts: 211 Topics: 21
|
Posted: Mon Jan 30, 2006 2:52 pm Post subject: |
|
|
Kolusu,
Update - The systems guys had missed an update - two LE related PTFs had to be applied - (UQ95237 UK02816). Thanks for looking into it. |
|
Back to top |
|
|
|
|