ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

condition a field as either input/output or output depending on indicator

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • condition a field as either input/output or output depending on indicator

    I would like to condition a filed as either input/output or output only depending on an indicator.

    A N29 PIDT 6Y 0B 10 64DSPATR(HI)
    A 29 OPIDT 6Y 0O 10 64DSPATR(HI)

    I did try to use the same field but recrived an error on the compile.
    I still receive an error from the above.
    Is there a way to do this?

  • #2
    Re: condition a field as either input/output or output depending on indicator

    Are you sure it's an error and not just a warning? That code should get you the "fields overlapping" warning message during compile, but you can ignore it.
    "Time passes, but sometimes it beats the <crap> out of you as it goes."

    Comment


    • #3
      Re: condition a field as either input/output or output depending on indicator

      Thanks. found the problem I was trying to do some field conditioning on the output only field and read the error incorrectly.

      Comment

      Working...
      X