Hi,
I have some PowerBuilder projects (version 12.6 or earlier, 17). When I run the Migration Assistant (from PB 2022 R3), I receive many messages about LenA, PosA, RightA, LeftA, etc., indicating “New DBCS backward compatible string function.”
Ex:
line | searchfunc | replacefunc |
ls_temp = space(lena(as_data)) | LenA | New DBCS backward compatible string function |
I understand that we need to replace these functions (LenA, PosA, RightA, LeftA, etc.) with the new DBCS backward compatible string functions when migrating projects to PB 2022 R3.
However, when I create a new PB 2022 R3 project and test the LenA function, it works well.
So, what should I do? Should I replace these functions?
Please help me.
Thanks
Note: I'm working in a DBCS environment.
It's possible to overwrite a system function. But in this case the problem is that the programmer is using LenA instead of Len etc. Of course, this can be changed only after performing some tests. Also, I believe that, overwriting a system function would not affect the migration assistant generated report.
Andreas.
Yes, we already know that the problem is the use of LenA() etc, since that's what the OP is reporting.
I'm not sure if the only problem are the warning messages when migrating, but in that case, I think there a check box for DBCS checks that can be unchecked.
regards