× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Pete,

I copied your code to a V5R2 system, compile it and ran it.

It worked correctly.  Here is the debugging output just prior to the
  return *null;
statement:

EVAL pXPath:x
   00000     000F8396 94978195 A8619799 9684A483   - ..company/produc
   00010     A3000030 41800000 00000000 00001158   - t... Ø.........ì

You may be back level on PTFs. Here is the list of 5722WDS PTFs on the system I used:

PTF
ID       Status
SI07461  Temporarily applied
SI07183  Superseded
SI07055  Permanently applied
SI06981  Temporarily applied
SI06885  Permanently applied
SI06741  Permanently applied
SI06740  Permanently applied
SI06583  Permanently applied
SI06536  Permanently applied
SI06369  Permanently applied
SI06145  Temporarily applied
SI05992  Superseded
SI05894  Temporarily applied
SI05841  Temporarily applied
SI05810  Superseded
SI05793  Temporarily applied
SI05773  Permanently applied
SI05573  Superseded
SI05476  Permanently applied
SI05388  Permanently applied
SI05171  Permanently applied
SI05159  Permanently applied
SI05083  Permanently applied
SI05033  Permanently applied
SI05006  Permanently applied
SI04892  Permanently applied
SI04762  Permanently applied
SI04478  Permanently applied
SI04474  Permanently applied
SI04455  Superseded
SI04451  Permanently applied
SI04440  Permanently applied
SI04391  Superseded
SI03476  Superseded
SI00011  Superseded
SI00009  Temporarily applied


Mel Rothman Mel Rothman, Inc.

Pete Clifford wrote:
Here's my code:

D GetElement      PR              *
D pNode                           *   Value
D pXPath                     32767A   Value Varying
D pElemIter                      4P 0 Options(*Omit)

D gNode           S               *
D gRoot           S               *

/free
    gNode = GetElement(gRoot: 'company/product': *Omit);
    return;
/end-free

P GetElement B

D GetElement      PI              *
D pNode                           *   Value
D pXPath                     32767A   Value Varying
D pElemIter                      4P 0 Options(*Omit)

 /free
     return *null;
 /end-free

P GetElement E




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.