Joined: 19 Sep 2006 Posts: 4 Location: Milwaukee Wi
I am trying modify a ZD field to zero when the summed value is less than zero. I am using an "IFTHEN" clause with an "OVERLAY". I have searched for examples of how this might work but continue to get syntax errors whne trying to add this logic.
I have the following code that works below (See Attachment). I am trying to insert the additional logic of :
0,9,ZD is invalid and not the way to set the field to 0. You're getting a syntax error because you're giving a starting position of 0 for a 9 byte ZD field. To do what you want, you can add this control statement: