IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Natural XML Parse error


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top