|
|
| Author |
Message |
chennai
New User
Joined: 12 Jun 2008 Posts: 14 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 |
|
 |
References
|
Posted: Sat Jun 14, 2008 12:27 pm Post subject: Re: Repeating input records |
 |
|
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7985 Location: 221 B Baker St
|
|
|
|
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: 14 Location: chennai
|
|
|
|
Thanks a lot dick it is working fine.... |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7985 Location: 221 B Baker St
|
|
|
|
You're welcome
d |
|
| Back to top |
|
 |
|
|