If you have lots of memory, all you have to do is to select the Subset By check box, and to select id
![subset.PNG subset.PNG](https://community.jmp.com/t5/image/serverpage/image-id/31879i3A08A01DDC0E9729/image-size/large?v=v2&px=999)
Another method would be to save the subsets as they are created. This will allow the method to run without having to use up a lot of memory.
Names Default To Here( 1 );
dt = Current Data Table();
For( i = 0, i <= 1104, i++,
dt << select where( :ID == i );
dt1 = Data Table( "2017_18Year (1)" ) << Subset(
Output Table( "ID = " || Char( i ) ),
Selected Rows( 1 ),
Selected columns( 0 )
);
Close( dt1, save( "path to the folder to save to" || "ID = " || Char( i ) || ".jmp" ) );
);
Jim