Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
I don't understand what the code is that you have supplied. Please give the complete code that is failing with an explanation of any inbound variables used to control the loop.
As I understand you requirements, you need to produce reports named 'RPT59A' - 'RPT59Z' then 'RPT59AA' - 'RPT59AA'. Is the problem within the loop in constucting the report name? How to go from 'PRT59A' to RPT59B', then C etc.?
the first one david the sequence would be like below
i got the logic but its generating like RPT59AA,RPT59BA,..
my move statement is not working as i expected
MOVE GAT-PROCESS-NAME(GAT-RESULT+1:1) TO WS-BETA-LETTER
the stmt above is not working
is thr any alternate way of incrmenting the GAT-RESULT with out using another varible
( i mean by any arthemetic operators)
the LETTER-INC and INCREMENT-AREA are declared like this