If you're still using IF/ELSE a lot, you need to get up to speed on IBM CL programming enhancements. Embrace SELECT, WHEN, and OTHERWISE.
Written by Bruce Vining
Are you still coding with the CL IF and ELSE commands? I continue to do so in some cases, but I find that with the introduction of several new CL commands in V5R3, my use of IF/ELSE is way down. The commands that I am referring to are SELECT, WHEN, OTHERWISE, and ENDSELECT. This article will bring you up to date on these "new" programming constructs.