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

Break a file at 10 records


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

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Mon Dec 11, 2006 8:08 pm
Reply with quote

I HAVE 100 RECORDS IN MY FLAT FILE AND I WANT TO PRINT THESE RECORD BUT THE CATCH IS THAT ONE PAGE CONTAIN ONLY 10 RECORDS.

AS AN OUTPUT I WILL GET 10 PAGES WITH 10 RECORDS EACH.

I KNOW THERE IS A UTILITY IN ICEMAN WITH WHICH WE CAN DO IT BUT I FORGOT IT.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Mon Dec 11, 2006 8:23 pm
Reply with quote

Hi there,

You can use STOPAFT for this.

Code:
STOPAFT=n                                                         
    causes sort to stop after 'n' records in the input file have   
    been sorted or copied
.
Back to top
View user's profile Send private message
star_dhruv2000

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Mon Dec 11, 2006 8:26 pm
Reply with quote

THANK YOU BRO WILL TRY THIS IN MY SHOP.
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 2
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top