JOB data getting flush

jobs data is getting flushed after walltime completes and data is not getting saved in directory.

Thanks In advance.

Please share your job script.
The data that has been computed until job exceeds the walltime should be available and should be staged out , it would not be cleaned up. The job script would let us know.