Over 40 (chars in object name) = Over the hill?
These are in the PB Help (highlighting is mine):
Naming the user object
A user object name can be any valid PowerBuilder identifier up to 40 characters. For information about PowerBuilder identifiers, see the PowerScript Reference.
Naming the function
Name the function in the Function Name box. Function names can have up to 40 characters. For valid characters, see the PowerScript Reference.
Naming the DataWindow object
The DataWindow object name can be any valid PowerBuilder identifier up to 255 contiguous characters
Painter Save dialogs do NOT enforce the rule! Here’s a 45 char named CCUO I just saved
Count the chars for yourself
The issue surfaces on Export - the name is silently TRUNCATED at 40 chars
The BIGGER issue surfaces in the SCC interface where the export header names doesn't match file names. Look:
SAP fix this bug: In the meantime: Monitor your object names carefully. You never know what can happen when you get to be over 40!