2008 Jun 17 11:02 PM
I have 3 variables in the program.
I need to do the validation and check if any of those 3 fields are blank.
If any one of the variables does not have data, I have to stop processing rest of the program.
Can someone tell me how to do that?
2008 Jun 17 11:04 PM
IF var1 is initial or
var2 is initial or
var3 is initial.
stop.
endif.
or put a message error....
IF var1 is initial or
var2 is initial or
var3 is initial.
message e208(00) with 'erro in process'.
endif.
I have 3 variables in the program.
I need to do the validation and check if any of those 3 fields are blank.
If any one of the variables does not have data, I have to stop processing rest of the program.
Can someone tell me how to do that?
2008 Jun 17 11:04 PM
IF var1 is initial or
var2 is initial or
var3 is initial.
stop.
endif.
or put a message error....
IF var1 is initial or
var2 is initial or
var3 is initial.
message e208(00) with 'erro in process'.
endif.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |