Originally Posted by
supriya_saraswat
I have cics screen on which I have defined a variable as account number pic X(10) . and in my program I need to accept them into Pic 9(10).
I need to validate the screen and in the program
for below conditions.
If the user enters A1234 then the program should not accept this.
If the user enters 1234 and a space and 5 then also it should not accept.
if the user enters 3 or 4 spaces and then enters 1234 and then spaces then the program should treat this as valid entry and then continue executing the program.
How do you validate all the conditions in single para.