MSIR.0682 LONGSTRING error: truncation, no Sirius debug info: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
Line 3: Line 3:
Longstring truncation issues, and methods for avoiding truncation errors, are covered on the [[Longstrings]] page.
Longstring truncation issues, and methods for avoiding truncation errors, are covered on the [[Longstrings]] page.
   
   
To get more debugging info such as the procedure and line number in which the error occurred, rerun the request with the DEBUGUL user parameter set or the 1 bit set in the SIRFACT system parameter. The latter can only be done if ''[[SirFact]]'' is installed.
To get more debugging info such as the procedure and line number in which the error occurred, rerun the request with the DEBUGUL user parameter set or the 1 bit set in the SIRFACT system parameter. The latter can only be done if [http://m204wiki.rocketsoftware.com/images/f/fb/FactrNew.pdf SirFact] is installed.


[[Category:Sirius Mods messages]]
[[Category:Sirius Mods messages]]

Revision as of 00:56, 23 April 2014

A longstring variable, or $function or method result was used in a context that would result in the longstring being implicitly truncated. The most common examples of this are assignment of a longstring to a shorter, non-longstring variable, and the passing of a longstring longer than 255 bytes to a non-longstring capable $function. One somewhat unusual but confusing case that can produce this error is assignment of a longstring with trailing blanks to an image item with STRIP set (the default). Because STRIP results in the trailing blanks effectively disappearing, this is considered a truncation error.

Longstring truncation issues, and methods for avoiding truncation errors, are covered on the Longstrings page.

To get more debugging info such as the procedure and line number in which the error occurred, rerun the request with the DEBUGUL user parameter set or the 1 bit set in the SIRFACT system parameter. The latter can only be done if SirFact is installed.