Hallo *all,
ich habe mal eine Verständnissfrage zum rgzpfm.

Im Handbuch steht
Code:
Allow cancel (ALWCANCEL)

  Specifies whether to allow the reorganize to be canceled.
  *NOThe reorganize cannot be canceled. If the job ends and the reorganize of the data has not finished, any changes up to the point of the failure are discarded.   If *NO is specified, KEYFILE(*RPLDLTRCD) and RDBACCPTH(*NO) must not be specified, and LOCK(*EXCL) must also be specified.
 *YESThe reorganize can be canceled. If a reorganize is canceled before it is finished, a subsequent reorganize with the same parameters will typically continue the reorganize from where it ended. If the number of changes that have occurred since the reorganize was canceled is too large, the reorganize may be restarted rather than continued.   

  

Lock state (LOCK)  Specifies the lock to acquire on the physical file member. The lock state will determine how much concurrent access is allowed by other jobs during the reorganize.
  *EXCLAn exclusive lock is acquired. No concurrent access to the physical file member is allowed from another job.*EXCLRDAn exclusive allow read lock is acquired. Concurrent read access to the physical file member is allowed from another job.   If *EXCLRD is specified, ALWCANCEL(*YES) must also be specified.
 *SHRUPD
A shared update lock is acquired. Concurrent update, delete, and insert access to the physical file member is allowed from another job.   If *SHRUPD is chosen, the resulting order of the rows may not exactly match what was requested on the KEYFILE keyword. The rows will be reorganized to closely match the specified order, but concurrent update, delete, and insert operations will cause some rows to not be reorganized. If the rows must exactly match the arrival sequence (*NONE) or a keyed file sequence, do not use *SHRUPD.
  If *SHRUPD is specified, ALWCANCEL(*YES) must also be specified.
Wie kann ich den Job beenden? Nur über wrkactjob und mit 41 oder gibt es da einen anderen Weg?

Zweite Frage. Versteh ich es richtig das ich mit *SHRUPD die Möglichkeit habe den Reorg zu machen und weiterhin Jobs aktiv laufen zu lassen? Alternativ muß ich ja alle Benutzer für die Zeit rauswerfen.

GG 4506