Whate Reeza is suggesting is that you both run this (substituting the name of your datasets for sashelp.class).
proc contents data=sashelp.class; run;
Then check the output which should look something like this
I've circled the bit to check - if hers says "Yes" and yours says "No" that's the answer - you can change the default setting by putting this in your autoexec,sas file - you should be aware though that it's possible for small compressed files to be slightly larger than their uncompressed versions.
Depending on how your disks are configured on unix some will report the physical space used instead of the logic space used. The du command on linux now supports an --apparent-size option. I have some linux machines I am using now where there can be a large difference in the size reported depending on whether the --apparent-size option is used or not.
That said it is probably more likely that something else is different in how SAS ran the code. Could be some minor difference in the code, oe perhaps you actually are reading different source files, or something about the settings like the COMPRESS= option, or even the blocksize that SAS used to write the observations.
I go to the unix folders through a ftp. Hers shows 3.2GB mine for example 7.8GB
You should run proc contents on both datasets and compare the outputs. On a UNIX system, proc contents will also include the physical file size in the host dependent section.
She could also have set a preference or option differently in the same session or previously. Did PROC CONTENTS show now difference between the datasets? You could also run PROC COMPARE to see what it says the differences are between the two datasets to determine any differences. The OBS option is another that can cause issues.
I'm assuming you've already checked the obvious that you both have the same versions and that the datasets created have the same number of observations and variables.
A common example is someone using EG and someone else using Base. EG defaults with VALIDVARNAME=ANY while Base defaults to VALIDVARNAME=V7. Thus the exact same code in EG and Base can provide different answers.
But still this autoexec.sas needs to be included in her program which also be included in mine.no?
so she ran proc contents and she has the compress -char option set and i have compression-no
we also found the autoexec.sas file in one of the sharedrives. Does that now means her pc sas connects to that autoexec file and mine does not?
Or if i just use systen option compress=char ?
I would not use the system option. Datasets that have no (or very short) strings may even increase in size.
Use the compress=yes dataset option, and look at the log what is reported. Keep the option only if a dataset is reduced significantly in size.
What constitutes "significantly" is up to you. After all, 5% of 20 GB is still 1 GB.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.