MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XML Generate (XML-CODE) error

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Fri Jan 27, 2006 4:26 pm    Post subject: XML Generate (XML-CODE) error Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Sat Jan 28, 2006 6:07 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Sat Jan 28, 2006 9:47 am    Post subject: Reply with quote

Kolusu,
I just named it that way for the post, changed the actual variable name for the post.
Back to top
View user's profile Send private message
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Mon Jan 30, 2006 2:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group