4-22
A-61635 December 2010
#<maxlength>
— used to represent a variable length text value that has no
minimum length but may have a maximum length.
• If maxlength is 0, there is no limitation on the length of the input value.
• If maxlength is greater than 0, the length of the input value length must be
less than or equal to maxlength.
The maxlength may not be less than 0.
Examples
A<6>
Description
— a string that may contain 6 or less alphabetic characters.
Valid input examples
A
ABCDEF
Invalid input examples
ABC123
last three characters must be alphabetic characters
ABCDEFG
too long
?<0>
Description
– any text value.
#<minlength, maxlength>
— used to represent a fixed or variable length
input value that may have a minimum and maximum length.
• If
minlength
is 0, the input string may be empty.
• If
minlength
is greater than 0, the input value length must greater than or
equal to minlength.
• The
minlength
may not be less than 0.
• If
minlength
is equal to maxlength, the input value must have the specified
number of characters.
Examples
X<2,10>
Description
— an input value that contains 2 to 10, upper or lower case
alphabetic or numeric characters.
Valid input examples
Batch0001
1234abcABC
A1
Invalid input examples
Batch-001
The ‘-‘ character is not a valid ‘X’ character
A
too short
1234abcdABCD
too long
AB Inc
space character is not a valid ‘X’ character