in reply to Newbee to Perl and the error

A word on style:

$SYS_TYPE=1; ... if ($SYS_TYPE == 1) {
Don't do this. It just makes your code hard to read (and to maintain) - this is Perl not C.

So rather:

$sys_type = "AIX"; ... if ($sys_type eq "AIX") {
All-caps are usually used for constants, not for normal variables.

And when an open fails $! contains the error-message from the OS (which is very useful), so rather than

open (DF, $FILE) || die "Can't Open File: $FILE\n";
do it like this:
open my $df, "<", $file or die "Can't Open File: $file: $!\n