Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rexxjunior

    need loop code to add numbers in a column

    Thanks rexxhead! I had to make an adjustment in the code I was getting 'bad arithmetic conversion' on do zz= 1 to stem.0 I changed stem.0 to line.0 and it worked ok thank you very much rexxjunior total = 0 do zz = 1 to stem.0 <<< changed to line.0 parse var line.zz amt ...
  2. rexxjunior

    need loop code to add numbers in a column

    Help ! I need to add up numbers in a mainframe PS file. I get the value of the last number + the same last number (40 +40 = 80) instead of the total of all the numbers. can anyone show me how to do this the correct way? here is my code and the sample of the file I am reading "EXECIO 0...

Part and Inventory Search

Back
Top