ASN.1 Record Naming and Counting
Each time the ASN.1 sFTP Sink application receives a batch of records, if the number of records is greater than or equal to the configured closure condition, the aggregated ASN.1 record is generated. Otherwise, the batch is held for the next ASN.1 record.
For example, a closure size condition of 200 KB causes a batch containing 1000 KB of data to generate one ASN.1 record. If the next batch has 201 KB of data, a second ASN.1 record is created. The first record is 1000 KB, and the second is 201 KB.
The fact that batches do not always have the same number of records can lead to ASN.1 records of different sizes and volumes with different file names that include the running count/file issued number (RC).
For example, assuming a closure size condition of 200 KB, a batch containing data for 1000 KB generates one ASN.1 record, but in recovery mode, there is no guarantee that the batch to reprocess is also 1000 KB. It might be 500 KB, generating two files to reprocess the original 1000 KB. Or, if two 500 KB batches were originally processed, creating two ASN.1 records, in recovery mode, the same data might be reprocessed as one 1000 KB batch generating only one ASN.1 record.
For more information, see the discussions about file closure control properties and conditions and the discussions about file naming.