Question: jcl how to check for empty file?
Answer: Empty File check using – ICETOOL You can use ICETOOL's COUNT operator to set a return code of 12, 8 or 4 if a specified data set is EMPTY, NOTEMPTY, HIGHER(n), LOWER(n), EQUAL(n) or NOTEQUAL(n), where n is a specified number of records (for example, 5000). If you use the RC4 operand, ICETOOL sets RC=4.