I want to throw error messages based on following validation on the display screen.
1) If field type is character and it's length is 50 and if someone put numeric value in it's first position then error message should be populated as following:-
"The value of 1 is not valid for this field"
It should accept only character value on it's first position and then from second position onwards. It should be able to accept any value in it including blanks.
Any help with RPGLE program code would be much appreciated.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!