METHOD AND SYSTEM FOR IMPLEMENTING HEADER AND TRAILER RECORD VALIDATIONS
First Claim
1. A computer implemented system that implements a header and trailer validation tool for batch files, the system comprising:
- a memory interface that accesses a database table;
an interactive interface that receives a user selection; and
a processor, coupled to the memory interface and the interactive interface, that executes a set of JCL (Job Control Language) program lines inserted into a parameter driven program and further configured to perform the steps comprising;
receiving a plurality of files from a plurality of applications;
for each file, accessing a control card to identify a header format and a trailer format;
retrieving a filename from the control card;
dynamically reading a file corresponding to the filename;
for each record of the file, identifying a header field based on the header format and identify a trailer field based on the trailer format; and
at the end of the file, confirming that the header field corresponds to the header format and confirm that the trailer field matches a number of records in the file.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention relates to header and trailer record validation for batch files. According to an embodiment of the present invention, a computer implemented system implements a Header/Trailer Validation Tool. The Header/Trailer Validation Tool may read a control file containing pertinent information of each file to be validated. Key information may be determined at run time and the Header/Trailer Validation Tool may process the files dynamically. An embodiment of the present invention may also process any number of files in a single execution—this is particularly useful because in some cases a set of files may be received from another application, but not all the files may be used at the same time.
-
Citations
20 Claims
-
1. A computer implemented system that implements a header and trailer validation tool for batch files, the system comprising:
-
a memory interface that accesses a database table; an interactive interface that receives a user selection; and a processor, coupled to the memory interface and the interactive interface, that executes a set of JCL (Job Control Language) program lines inserted into a parameter driven program and further configured to perform the steps comprising; receiving a plurality of files from a plurality of applications; for each file, accessing a control card to identify a header format and a trailer format; retrieving a filename from the control card; dynamically reading a file corresponding to the filename; for each record of the file, identifying a header field based on the header format and identify a trailer field based on the trailer format; and at the end of the file, confirming that the header field corresponds to the header format and confirm that the trailer field matches a number of records in the file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer implemented method that implements a header and trailer validation tool for batch files, the method comprising the steps of:
-
executing a set of JCL (Job Control Language) program lines inserted into a parameter driven program; receiving a plurality of files from a plurality of applications; for each file, accessing a control card to identify a header format and a trailer format; retrieving a filename from the control card; dynamically reading a file corresponding to the filename; for each record of the file, identifying a header field based on the header format and identify a trailer field based on the trailer format; and at the end of the file, confirming that the header field corresponds to the header format and confirm that the trailer field matches a number of records in the file. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification