X hits on this document

1010 views

0 shares

0 downloads

0 comments

139 / 236

EDS Utility Processor

KEBUTIL return codes

KEBUTIL terminates with a return code to notify you of the status of the reload operation:

0

The program completed successfully. The RKEIMSG SYSOUT output shows the number of records processed.

4 8 16

The program completed successfully. No records were deleted. There were syntax errors in the control statements; no data was copied.

There was an error in either the input or output DD statements; no data was copied.

20

The dataset was only partially written. An error occurred on the VSAM file.

Sample KEBUTIL job

The rhilev.midlev.RKANSAM dataset contains a sample jobstream to unload and reload a reusable EPILOG datastore (see Figure 42 ). This job deletes any data from the new EDS which is over 5 days old or from a weekend.

If you have not marked your VSAM cluster REUSE or defined it as UNIQUE, the job does not work as is. You must add an extra step between the UNLOAD and RELOAD steps to delete and reallocate the cluster. See the sample job in rhilev.midlev.RKANSAM(KEIDFNVS) for details.

Note: The cluster should not be initialized with KEBINIT before reloading; the initialization record from the original EPILOG datastore is restored to the file by KEBUTIL.

EDS Maintenance

139

Document info
Document views1010
Page views1010
Page last viewedSat Dec 10 18:49:43 UTC 2016
Pages236
Paragraphs8116
Words69808

Comments