fixed status out if no records written to file
@@ -302,7 +302,7 @@ for (index = optind; index < argc; index++)
printf("%ld record(s) read from %s\n", wkpcount, argv[index]);
}
}
-
+if(hcxcount > 0)
printf("%ld record(s) written to %s\n", hcxcount, hcxoutname);
return EXIT_SUCCESS;
