View previous topic :: View next topic
|
Author |
Message |
abhi484u Warnings : 1 New User
Joined: 31 Aug 2006 Posts: 9
|
|
|
|
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 |
|
|
Ralph Zbrog
New User
Joined: 21 Nov 2009 Posts: 58 Location: California
|
|
|
|
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 |
|
|
Ats
New User
Joined: 21 Jul 2010 Posts: 6 Location: Roaming
|
|
|
|
Right Ralph! This works fine in 4.2.6 version...and STOWs successfully. |
|
Back to top |
|
|
abhi484u Warnings : 1 New User
Joined: 31 Aug 2006 Posts: 9
|
|
|
|
Hope an upgradation will change all...
Many thanks |
|
Back to top |
|
|
|