If you have lots of memory, all you have to do is to select the Subset By check box, and to select id
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