Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Natural XML Parse error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
abhi484u
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 9

PostPosted: Wed Aug 18, 2010 11:02 am    Post subject: Natural XML Parse error
Reply with quote

Natural 4.2 onwards PARSE XML in enabled.

But I am unable to complie this

Program statement -

PARSE XML #OPERAND1 INTO PATH #OPERAND2 NAME #OPERAND3 VALUE #OPERAND4
PRINT #OPERAND1
END-PARSE

Error as follows -

NAT0285 Field reference error; reference invalid or missing.

Cursor points to keyword XML.

Could some one please let me know whether any other parameter have to be set to enable natural parser.
Back to top
View user's profile Send private message

Ralph Zbrog

New User


Joined: 21 Nov 2009
Posts: 58
Location: California

PostPosted: Wed Aug 18, 2010 12:47 pm    Post subject: Reply to: Natural XML Parse error
Reply with quote

This is a compiler bug in Nat4.2.3 (and probably Nat4.2.4). I haven't tried it in Nat4.2.5. I'm hoping it's fixed in Nat4.2.6. The workaround is to eliminate the "XML" keyword.

This is a sore point for me, because I run an application on a mainframe but test it under Windows, where the XML keyword is required. This makes it difficult to move the source code between the two platforms.
Back to top
View user's profile Send private message
Ats

New User


Joined: 21 Jul 2010
Posts: 6
Location: Roaming

PostPosted: Wed Aug 18, 2010 10:21 pm    Post subject:
Reply with quote

Right Ralph! This works fine in 4.2.6 version...and STOWs successfully.
Back to top
View user's profile Send private message
abhi484u
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 9

PostPosted: Thu Aug 19, 2010 10:00 am    Post subject:
Reply with quote

Hope an upgradation will change all...

Many thanks
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us