I created a command to input 3 values into a CL program. All three parms are defined as *CHAR in my command, but the values are actually numbers. What I am trying to do is to FORCE the user enter "01" instead of "1". I accomplished this by setting up Range of values to do some basic editing: Lower value = 01, Upper value = 29. This worked, my CL is NOT invoked unless the user enters 2 digits. The command would not accept "4" as valid input, "04" had to be entered. I really want the upper value to be 99, not 29. What I noticed is that the editing that I want was NOT enforced if the Upper Range of value was anything above 29. Does anyone know WHY this is?

Reply With Quote