Help for this page
$/="\nH00"
$_ =~ /(\nH01)(.*)(\n)/ ; my $H01record="H01".$2 ;
if ( substr ($H01record,43,2) eq "SA" ) ...