IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Repeating input records


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chennai

New User


Joined: 12 Jun 2008
Posts: 26
Location: chennai

PostPosted: Sat Jun 14, 2008 12:27 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Jun 14, 2008 12:59 pm
Reply with quote

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
View user's profile Send private message
chennai

New User


Joined: 12 Jun 2008
Posts: 26
Location: chennai

PostPosted: Sat Jun 14, 2008 3:52 pm
Reply with quote

Thanks a lot dick it is working fine....icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Jun 14, 2008 10:18 pm
Reply with quote

You're welcome icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top