Defining of SORT or TEMP files for a database

I want to add the SORT or TEMP means temporary datasets to increase the work size for a running database without trminating the database. Please let me know how can I define with the online utilities.

If by “the database” you are talking about the nucleus - it does not need SORT and/or TEMP, these datasets are utility-only, e.g. ADAMUP or ADAINV.

ADAFRM with the SORTSIZE / TEMPSIZE parameters allocates / formats them.