Template is as below:
1. File header is having some constant value.
2. Batch Header (Department) contains department name , batch id (dynamically generated - previous batch id + 1) + sum of salary of the
specific department.
3. Batch Detail are unique record for each employee.
4. Batch Trailer contains total number of employee of the specific department.
5. File Trailer contains total number of batches + overall salary of all the employees
Emp_Dept_File_Header
Department_Development3000
Ganesh1000
Sam2000
Total no of records in this batch is 2
Department_Testing6000
Shong3000
Tom2000
Andrea1000
Total no of records in this batch is 3
Total no of batches in the file is 2 and overall salary is 9000
Dynamic grouping
最新推荐文章于 2022-08-14 16:42:45 发布