M204.2147 Deferred update dataset token for file fileName contains updates for file token2
An error has been made in creating or sorting the deferred update data set named in the message, or the wrong data set has been supplied to the run.
Whenever a file is opened in deferred update mode, a record is written to the deferred update data set(s) containing the name of the file. These records will be placed at the beginning of the data set by the sort. If one of these records is encountered during Z command processing with a file name that does not match the file to which index updates are being applied, this error message will be issued.
If no index updates have yet been applied, the file is left in deferred update mode. If any index updates have already been applied when the mismatched-file-name record is encountered (for example, several deferred update data sets were appended together without a sort), the file will be marked physically inconsistent.
File manager response: Check all associated JCL/EXECs for data set name errors.
If the affected file is left physically inconsistent, it will have to be returned to the state it was in prior to the beginning of the failed Z command before the correct index updates can be applied. This can be achieved with RESTORE or ROLL BACK.
|RETCODEO=24||Sets online return code|
|RETCODEB=24||Sets batch (single user) return code|
|CLASS=E||Error class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter|
|AUDITER||Writes the message with line type ER to the audit trail|
|COUNT||Increments the error count (ERCNT) parameter|