AUTOSTOP


The AUTOSTOP keyword is valid with the OREORG command.

You can specify this option in PLUSIN. The following table describes the AUTOSTOP keyword.

To do this

Specify this in PLUSIN

Specify a time for the reorganization to stop.

(TIME,hhmm)

Specify the number of minutes after which the reorganization stops.

(MINUTES,n)

Specify the number of records to process after which the reorganization stops.

(RECORDS,n)

Specify the key to process after which the reorganization stops.

(KEY,x)

Internal default: None

The AUTOSTOP keyword specifies parameters to automatically stop the online reorganization. The correct syntax follows:

AUTOSTOP (RECORDS(n) TIME(hhmm) MINUTES(n) KEY(x))
  • RECORDS
    Values range from 1 through 9999999.
  • TIME
    Specify four numeric characters that represent a 24-hour clock. Values range from 0000 through 2359.
  • MINUTES
    Values range from 1 through 10080 (the number of minutes in seven days).
  • KEY
    Specify KEY for HIDAM databases only; KEY is not valid with MODE(RECORD) reorganizations. Specify hexadecimal or character format. Valid syntax includes:
    • x
    • 'x'
    • ''x''
    • X'xx'
    • C'x'

If you specify more than one parameter, the reorganization automatically stops when the earliest parameter is triggered. For example, the following parameter triggers a reorganization to stop after moving 500,000 records or stop at 5 a.m., whichever occurs first:

AUTOSTOP((RECORDS,500000)(TIME,0500))

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Online Reorg for IMS 5.2