Hello All,
I need to gzip large sas dataset and copy it from one folder to another
Location of sas tables in windows sas
\\10.00.112.12\ddbg_va\Data\Backup SAS Data\Final Tables\currentmonth.sas7bdat
The location is mentioned above. However our sas is on windows, and I am unable to gunzip it and tried various commands but could not do it.
filename source \\10.00.112.12\ddbg_va\Data\Backup SAS Data\Final Tables\currentmonth.sas7bdat";
filename tozip zip "\\10.00.112.12\ddbg_va\Data\Backup SAS Data\Final Tables\currentmonth.sas7bdat.gz" GZIP;
data _null_;
infile source;
file tozip;
input;
put _infile_;
run;
I got an error for GZIP statement. I have also tried x gzip -c and below method to be unsuccessful in doing so
systask command "gzip '\\10.00.112.12\ddbg_va\Data\Backup SAS Data\Final Tables\currentmonth.sas7bdat"
wait taskname=zip status= check shell;