Previous Topic: Dynamic Extend during LOADNext Topic: Reorganizing Data Areas


Loading from a Backup

If you are loading data from a backup, the LOAD function only restores the data if the table IDs are identical when LOADID=YES (the default). LOADID=NO can be used to match on table names, but LOADID=NO cannot be specified if either URI=NO is specified or if any table in the area was not defined to CA Datacom Datadictionary with RECOVERY=Y. REMAP= can be used to force matching on different table names. This feature is available only for areas loaded as URI.

Loading areas that have been dynamically or manually extended require that the data set size reflect all tracks that previously existed. Load attempts made to an area not reflecting all extended tracks receive a return code 76 (009).

If you change the size of a row in an area that uses compression and use a backup taken prior to the change, the load fails if you do not specify the keyword MISMATCH=IGNORE. With MISMATCH=IGNORE specified, longer rows are truncated to the table row size in the Directory (CXX) and rows that are shorter are padded with blanks (hex 40s). Without MISMATCH=IGNORE specified, you receive message DB13001E - UNEXPECTED RETURN CODE 21 (74) when rows are longer than the CXX size, and message DB13008E - INPUT RECORD LENGTH nnn DOES NOT MATCH THE TABLE ttt RECORD LENGTH nnn when rows are shorter than the CXX size.