Processing considerations for randomization of the root segments to unprocessed areas

When the UNLOAD command is executed under normal conditions, processing continues if any root segments are randomized to an area in the DEDB that is not being processed by the command set and therefore bypassed and uncopied. The optional BYPASS_RECORD keyword can be used to terminate the unload function when root segments are randomized to an area in the DEDB that is not being processed by the command set.

The following values are available for the BYPASS_RECORD keyword:

  • BYPASS_RECORD=NO causes processing to terminate if any root segment is randomized to an area in the DEDB that is not being processed. An error message is generated that contains the key of the bypassed root segment.

  • BYPASS_RECORD=YES (default) enables the unload function to continue processing when a root segment is randomized to an area in the DEDB that is not being processed. An informational message is generated by the unload function that includes a count of the total number of bypassed records.

In the example shown in the following figure, any root segments that are randomized to an area other than areanam1, areanam4, or areanam5 due to changes in the DBD or randomizer will cause the unload function to terminate.

UNLOAD DBD=dbdname,IAREA=(areanam1,areanam4,areanam5),
   OAREA=(areanam1,areanam4,areanam5),BYPASS_RECORD=NO


This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments