Hello all,
I've fired up Target 400's conversion software and started converting some S/36 code I have (a lot of it--doing one project at a time), starting with OCL. Questions are starting to come as I look over the converted code, first one is GOTO statements. I hate them, but I have so much code that has it in it, I'll most likely have to leave them, unless there is a realitively easy way around it? I'm guessing just let them be, but how? So the conversion puts them as a
GOTO CMDLBL(XXXXX)
...
...
XXXXX
Line code (// TAGXXXXX) jumps to here...
Best to laave it as GOTO CMDLBL(XXXXX)? Then handle the tag statemnt as just a command label? Are their any restrictions on the command labels? Can I just leave them however they would be after the tag?
OCL Example:
// GOTO CS#01
// ...
// ...
// TAG CS#01
Line code jumps to here...
CL conversion:
GOTO CMDLBL(CS#01)
...
...
CS#01
Line code jumps to here...
Will leaving the "CS#01" procedure name like it is work fine? I'd love to remove all the goto's but that just isn't really going to happen. So, I'll deal with it as long as that works.
If anyone has any thoughts going forward I might find useful that has done these conversions or knows about them, feel free to prepare me
I will be converting every project I touch to modern code OCL > CLLE, RPGII/III > RPG Free, etc.
I am looking at Linoma, and Arcad as well, but I will be hands on as much as possible considering I don't have a huge budget and it's just me.
Thanks!
I've fired up Target 400's conversion software and started converting some S/36 code I have (a lot of it--doing one project at a time), starting with OCL. Questions are starting to come as I look over the converted code, first one is GOTO statements. I hate them, but I have so much code that has it in it, I'll most likely have to leave them, unless there is a realitively easy way around it? I'm guessing just let them be, but how? So the conversion puts them as a
GOTO CMDLBL(XXXXX)
...
...
XXXXX
Line code (// TAGXXXXX) jumps to here...
Best to laave it as GOTO CMDLBL(XXXXX)? Then handle the tag statemnt as just a command label? Are their any restrictions on the command labels? Can I just leave them however they would be after the tag?
OCL Example:
// GOTO CS#01
// ...
// ...
// TAG CS#01
Line code jumps to here...
CL conversion:
GOTO CMDLBL(CS#01)
...
...
CS#01
Line code jumps to here...
Will leaving the "CS#01" procedure name like it is work fine? I'd love to remove all the goto's but that just isn't really going to happen. So, I'll deal with it as long as that works.
If anyone has any thoughts going forward I might find useful that has done these conversions or knows about them, feel free to prepare me
I will be converting every project I touch to modern code OCL > CLLE, RPGII/III > RPG Free, etc.
I am looking at Linoma, and Arcad as well, but I will be hands on as much as possible considering I don't have a huge budget and it's just me.
Thanks!
Comment