View previous topic :: View next topic
|
Author |
Message |
chennai
New User
Joined: 12 Jun 2008 Posts: 26 Location: chennai
|
|
|
|
Hi All,
I have a requirement to repeat set of records in the same input file
Ex:-
INPUT
1111
2222
3333
4444
My OUTPUT(should repeat all the records 2(this no can change according to requriement) times)
1111
2222
3333
4444
1111
2222
3333
4444
1111
2222
3333
4444
Thanks & Regards |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello chennai and welcome to the forums,
Quote: |
My OUTPUT(should repeat all the records 2(this no can change according to requriement) times) |
The sample output has the records 3 times. . .
OUTFIL REPEAT=n can be used to repeat every record n times.
You might Look at this previous topic as well:
http://ibmmainframes.com/viewtopic.php?t=29768 |
|
Back to top |
|
|
chennai
New User
Joined: 12 Jun 2008 Posts: 26 Location: chennai
|
|
|
|
Thanks a lot dick it is working fine.... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome
d |
|
Back to top |
|
|
|