The purge command for datacleanup script clears all the history irrespective of the date range given in the command in linux environment. For example below is the command used.
./datacleanup.sh -o history -a 34000 -sd "2013-01-01 00:00:00" -ed "2013-01-02 11:59:59" -mn admin -epwd cMzZAHM41tgd07YnFiG5z5qX6gA=
And we see the below lines in the purge log which removes the date and clears all history irrespective of the given date range (Cleaning up history older than null).
[Mon Nov 04 14:07:00 EST 2019] TIBCO EMS Session Dispatcher (10029)[321] Server(Member1): Start Date = 00:00:00
[Mon Nov 04 14:07:00 EST 2019] TIBCO EMS Session Dispatcher (10029)[321] Server(Member1): End Date = 11:59:59
[Mon Nov 04 14:07:00 EST 2019] TIBCO EMS Session Dispatcher (10029)[321] Server(Member1): Cleaning up history older than null