PowerBuilder · Runtime error
What does R0016: Maximum string length exceeded mean in PowerBuilder?
A string operation produced a value longer than PowerBuilder's 60,000-character limit for a single string variable.
A string operation produced a value longer than PowerBuilder's 60,000-character limit for a single string variable.
Check for string concatenation inside a loop that grows unbounded, which is the most common way this limit gets hit in practice, usually while building a large report or export file in memory instead of writing it incrementally.