That code works on my machine. In the sample below the DSPLY statement executes.

C                     MOVE '4711'    SPPROD  4
C                     MOVE '4711'    XPROD   4
C                     MOVE '123'     SPLOT   3
C                     MOVE '345'     XPLOT   3
C                     MOVE 'YES'     M       3
C           XPROD     IFNE *BLANKS
C           SPPROD    IFNE XPROD
C           SPLOT     ORNE XPLOT
C           1         DSPLY          M
C                     ENDIF
C                     ENDIF
C                     MOVE *ON       *INLR

So, you've either got a line Commented out, or you've got fields of dissimilar sizes with leading blanks or your AS400 is broken. If it's not commented out code, step through in debug and make sure the values are really what you think they are.

Mike

_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page ? FREE download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2025 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.