Multiple STOPAFT in SORT.

SyncSort's Sort Product, SyncTool for z/OS, SYNCINIT and SYNCLIST.
Post Reply
Vibha
Registered Member
Posts: 31
Joined: Tue Jul 16, 2013 7:35 pm

Multiple STOPAFT in SORT.

Post by Vibha »

I want to copy first five then leave ten records and copy next five records from an input to output. Can this be done using SyncSort?
William Collins
Global Moderator
Global Moderator
Posts: 490
Joined: Sun Aug 25, 2013 7:24 pm

Re: Multiple STOPAFT in SORT.

Post by William Collins »

Yes, but not the way your title suggests.

Have a look at SAMPLE= on OUTFIL. Consult your documentation, If SAMPLE= is not available to you, there are many other ways to do it.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “SyncSort, SyncTool, SyncGener.”