Z command

From m204wiki
Revision as of 01:26, 20 April 2013 by JALWiccan (talk | contribs) (Automatically generated page update)
Jump to navigation Jump to search

Summary

Privileges
File manager (as User 0 only)
Function
Applies deferred updates to a Model 204 file

Syntax

Z

Usage notes

The Z command applies deferred updates to a Model 204 file. Deferred updates are produced by opening a file in deferred update mode, and then updating the file using the FLOD command or the REORGANIZE command. The Z command performs the following operations:

  • Reads records from the data set pointed to by the SORT5 DD name, FILEDEF, or DLBL.

  • Updates Tables C and D of the currently open Model 204 file.

  • Writes for-each-value records to the data set pointed to by the TAPE5 data set.

Use of SORT5 and TAPE5 may require user authorization by an external security interface.

When processing of the Z command is complete, Model 204 displays various statistics, including the number of index entries added and deleted, and the number of records written to the for-each-value data set.

Use the Z command to rebuild the Ordered Index from deferred update records after issuing the REORGANIZE command. Refer to "REORGANIZE: Rebuilding the Ordered Index" for additional information.

When it processes a Z command, Model 204 ends any update unit in progress and begins a non-backoutable update unit. For more information about Model 204 update units, see the Model 204 File Manager's Guide.

The Z command and the deferred update feature are described in detail in the Model 204 File Manager's Guide.