Interview Questions

What does the IS NUMERIC clause establish?

COBOL Interview Questions


(Continued from previous question...)

What does the IS NUMERIC clause establish?

IS NUMERIC can be used on alphanumeric item, signed numeric &emp; packed decimal items and unsigned numeric &emp; packed decimal items. IS NUMERIC return TRUE if the item only consists of 0-9. However, if the item being tested is a signed item, then it may contain 0-9, + and -.

(Continued on next question...)

Other Interview Questions