The MAXDURATION control statement limits requests to record for profiling and record to auxiliary trace data sets to a specified maximum duration. Any recording request that exceeds the maximum duration is automatically reduced to the maximum value.
The value parameter can be any number in the range 1 to 999.
The units parameter can be one of the following units of measure: SECONDS, MINUTES, HOURS, or DAYS.
NOTE: MAXDURATION applies to the C\Prof collection server only. Setting MAXDURATION will not remove recording time options from the user interface.
To prevent users from recording trace for more than 15 minutes at a time, specify the following: