Sar statistic.

I've been enabled sar in solaris.

in crontab:

and target dir where binar files is situated:

1.But sar indexing files as day(by default) from 1 to 30(31), how to add total date as prefix instead day prefix?
2.in my script for sar statistic i do command:

Somebody suggest me about that What variables and iterations are suitable in that case? Instead 30 lines for every day statistic.
Please help.:confused:

Sar reuses these files each month. There's no easy way of changing these file names from within SAR, except maybe by recompiling binaries.

Why do you need the sar data files to be renamed using the full date? It would most probably be far easier to create a cron job which copies the files at the end of each month, before SAR starts to reuse the files in /var/adm/sa/