Because payroll systems run infrequently (weekly or monthly), they are often well suited to batch processing and sequential files. Figure 10.5 shows a flowchart for such a system. The data processing department receives the personnel action forms and time cards, which it converts to sequential files. Batch computer programs perform the detailed record-keeping, check-writing, and general ledger functions.