# setdef

> [HTML Version](setdef.htm)

_Updated and reviewed April 2013_

_setdef_ is is used for any of the following:

[List of Valid Inputs](listofvalidinputs.md)

[Dummy List of Inputs](dummylistofinputs.md)

[List of Paired Inputs](listofpairedinputs.md)

[Date or Value Range Checking](dateorvaluerangechecking.md)

[Form Field](formfield.md)

[Character Acceptance List](characteracceptancelist.md)

[Regular Expression](regularexpression.md)

Note that since the typical length requirement for the _setdef_ string can vary widely, it is particularly convenient to map it as a dynamic string; see S and X variables in [Dynamically Sized Variables](dynamically-sized_variables.md).

**See Also**

•	[Invalid Input Message](invalidinputmessage.md)

•	[Setdef Limits](setdeflimits.md)