Hi there
Have the following problem. Our application still runs in RPG. Now we wanna convert it to RPGLE which is working fine. We even can compile all the programms. But as soon as we call the, they dump. What I found out is, in RPG you can have a table and field with the same name, but in RPGLE not. Let me explain:
Field: XX = 24 character (aplpha)
Contains:
-> "AABBCCDDEEFFGGHHIIJJKKLLMM"
Tabel: XX = 12 elements, 2 character (alpha)
Should contain:
-> XX(1) = "AA"
-> XX(2) = "BB"
-> XX(3) = "CC"
-> XX(4) = "DD"
-> XX(5) = "EE"
-> etc.
=> This is working correctly in RPG but not in RPGLE, what can I do about that? Does someone has any suggestion? The problem is, in RPGLE i can compile it but then I get a dump. Why is that? Do I have to compile it in a special way or what? The only way to solve it is to have a different tabel and field name. But this is not the solution for us, we have about 5000 programms ...
Thanks so far
Have the following problem. Our application still runs in RPG. Now we wanna convert it to RPGLE which is working fine. We even can compile all the programms. But as soon as we call the, they dump. What I found out is, in RPG you can have a table and field with the same name, but in RPGLE not. Let me explain:
Field: XX = 24 character (aplpha)
Contains:
-> "AABBCCDDEEFFGGHHIIJJKKLLMM"
Tabel: XX = 12 elements, 2 character (alpha)
Should contain:
-> XX(1) = "AA"
-> XX(2) = "BB"
-> XX(3) = "CC"
-> XX(4) = "DD"
-> XX(5) = "EE"
-> etc.
=> This is working correctly in RPG but not in RPGLE, what can I do about that? Does someone has any suggestion? The problem is, in RPGLE i can compile it but then I get a dump. Why is that? Do I have to compile it in a special way or what? The only way to solve it is to have a different tabel and field name. But this is not the solution for us, we have about 5000 programms ...
Thanks so far
Comment