I guys i have another issue for you. I have a file with two columns.
I read the file with a Chain and i need to make Total for each code but i don't know how many diffrent code i have.
During i read i need to write in a new file the code with the total Pax.
Using SQL inside i make this with a GROUP BY and a SUM(PAX).
Unfortunately my Boss doesn't know SQL and she wants a solution only using RPG ILE. I write code in free format.
Someone can help me?
Code:
CODE PAX AA 10 AB 12 ... ... AA 3 AB 4
During i read i need to write in a new file the code with the total Pax.
Using SQL inside i make this with a GROUP BY and a SUM(PAX).
Unfortunately my Boss doesn't know SQL and she wants a solution only using RPG ILE. I write code in free format.
Someone can help me?
Comment