Please enable JavaScript to view this site.

A-Shell Consolidated Reference

Navigation: Subroutines > INFLD > INFLD Parameters > setdef

Invalid Input Message

Scroll Prev Top Next More

(GUI mode only) When setdef is used to enforce a pattern or range or other limitation on the field, if the input does not pass muster, INFLD will display an error message saying "Invalid Input". The actual text of the message comes from SYS:SBRMSG.xxx message number 011,010. Since this can be frustrating for the user if the pattern or range is not obvious, INFLD will display the pattern string from setdef if you add a trailing "%s" to the message definition as shown here:

011,010,Invalid Input %s