Specifies how a text length limit exceeded error condition during an import operation is to be handled.
Scope: File
Syntax
query limiterror
set limiterror { cancel | truncate | ignore }
Options
cancel |
Cancels change to the offending edit line. This is the initial option. |
truncate |
Truncates the text in the offending edit line to fit within the current text length limit. Note that additional characters before the text length limit may have to be removed to avoid splitting a DBCS character and to balance SO/SI characters on each edit line. |
ignore |
Accepts all the text in the offending edit line. |
Description
The limiterror parameter specifies the action to be taken when the text length limit is exceeded during the update of an edit line in the current file. The default action is to cancel the update. If specific recover action is required for certain editing operations, this parameter must first be set accordingly before the operation and reset after its completion.
Example
To ignore the text length limit violations during an import operation, type:
set limiterror ignore
API Return Code
-2 |
The option specified with the parameter was not valid. Check the syntax requirements for the parameter and try the set command again. |
![]()
