SAS datasets are a binary file format. You cannot expect to read them using an INFILE statement as if they were just a simple text file.
You need to first uncompress the file and then SAS will recognize it as a SAS dataset.
Here is a way you could uncompress it into the WORK library. Make sure the create a filename that is all lowercase letters.
data _null_;
infile "gunzip -c /unixserver/data.sas7bdat.gz >%sysfunc(pathname(work))/test.sas7bdat" pipe ;
input;
put _infile_;
run;
You can then just use it directly like any other work dataset.
proc contents data=test;
run;
... View more