- sprintf('%014.0f', $batchtotal*100), # total of debit txns
- sprintf('%08u', $batchcount), # number of debit txns
- '0' x 14, # total of credit txns
- '0' x 8, # total of credit txns
+ sprintf('%014.0f', $totaldebittxns), # total of debit txns
+ sprintf('%08u', $countdebittxns), # number of debit txns
+ sprintf('%014.0f', $totalcredittxns), # total of debit txns
+ sprintf('%08u', $countcredittxns), # number of debit txns