Your description is not clear. You say you have one input record - is that input record:
12345 123 ASD
or something else? Or do you actually have more than one input record?
If you have one input record, how many output records do you want to create? Do you want to add 1 to field1 for each input record? Do you want to add 1 to field2 for each input record until you have three records and then start over at the initial field2 value in your input record (123)? The first record you show has ASD whereas the other records have ASR. Where did ASR come from?
You need to explain more clearly what you want to do and show input and output records that correspond to that explanation.
I just have one input record and that is
12345 123 ASD
what i want is to increment the value of column by 1 for all the output records and for column two i just want to increment till interval is reached
like in Example for second field has value.
123 124 125 and again 123 124 125 and so on.
The output third field is constant field it will remain unchanged.
Mistake from my side.
You didn't say how many output records you want, so I'll assume it's 9 as shown in your example. Given that, here's a DFSORT job that will do what you asked for. You can change the INTVL symbol to whatever interval you want. I set it to +3 as in your example.