export the aggregate row and serial aggregation information to header file