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.

Which part of script need to check for walltime.

Please share your entire script .

Walltime for pbs job is described as below in the directive
#PBS -l walltime=HH:MM:SS