ColumbiaDiver
Technical User
All,
I am in the process of updating an older RPG program and being fairly new to RPG programming, (but not programming in general) I am having a difficult time understanding indicators and their place and purpose in RPG. I know that the recommended programming is to not use the numeric indicators, but to name them so those that follow after can read your code easily. Unfortunately, I am the one who follows after and I am having a heck of a time following the logic.
I have spent considerable time Googling and I have found a lot of articles that detail how to remove numeric from your code but nothing that tell me clearly what the indicator means that are currently in my code. I'm looking for a table that will list the indicator and it's purpose, (based on what I've read its purpose can be based on what column it is located in).
I have a whole group of indicators in this program *IN61, 64,66,67,68,69,71,72,73,74,75,76,81,83,84,91,99 and *INLR. Some of the indicators start in column 12 of the source member and some start in column 50. The *INLR indicator is located in column 50.
Hopefully someone can help me out here as I really need to trace out this source code and I have a critical payroll change that needs to be complete by the end of the year and if I could figure out the details of what the code is doing, I should be able to make the change fairly easily, but trying to read and follow the logic is turning into a major headache. If it would be helpful I can attach a section of the code.
TIA
Gordon
I am in the process of updating an older RPG program and being fairly new to RPG programming, (but not programming in general) I am having a difficult time understanding indicators and their place and purpose in RPG. I know that the recommended programming is to not use the numeric indicators, but to name them so those that follow after can read your code easily. Unfortunately, I am the one who follows after and I am having a heck of a time following the logic.
I have spent considerable time Googling and I have found a lot of articles that detail how to remove numeric from your code but nothing that tell me clearly what the indicator means that are currently in my code. I'm looking for a table that will list the indicator and it's purpose, (based on what I've read its purpose can be based on what column it is located in).
I have a whole group of indicators in this program *IN61, 64,66,67,68,69,71,72,73,74,75,76,81,83,84,91,99 and *INLR. Some of the indicators start in column 12 of the source member and some start in column 50. The *INLR indicator is located in column 50.
Hopefully someone can help me out here as I really need to trace out this source code and I have a critical payroll change that needs to be complete by the end of the year and if I could figure out the details of what the code is doing, I should be able to make the change fairly easily, but trying to read and follow the logic is turning into a major headache. If it would be helpful I can attach a section of the code.
TIA
Gordon