Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
1. Here I need to check whether the total number of records (excluding Header and Trailer) is equal to that given in the Trailer
2. Check if the alternate records are G221 and G222 (G221 must be followed by a G222)
But the problem is that, the number of lines of the input file may vary time to time. It is not a constant.
Starting job forum6057 at 16:31 07/04/2009.
The total lines is: 8
The range expression in tSampleRow is: 2..7
.--+----------------.
| tLogRow_1 |
|=-+---------------=|
|id|line |
|=-+---------------=|
|1 |G221ABCDEFGH100 |
|2 |G222XYZJHDJHK200|
|3 |G221JHJHDSUEE300|
|4 |G222HFGTYKJDK400|
|5 |G221JHJHDSUEE500|
|6 |G222HFGTYKJDK600|
'--+----------------'
The file is validate?true
Job forum6057 ended at 16:31 07/04/2009.