The database package name and code length is limited by the maximum length specified in the DBMS definition and in the naming conventions of the model options.
Length is specified in the DBMS definition, which can be found at
OBJECT > DB Package > MaxLen
Open the DBMS editor, with Database > Edit Current DBMS Then under Script > Objects.