30.06.2013 Views

File Management - IBM

File Management - IBM

File Management - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Preventing errors when copying files<br />

122 <strong>File</strong> <strong>Management</strong> V4R5<br />

You can prevent many copy errors when you plan for certain conditions and<br />

situations ahead of time. The topics listed below provide guidance on the more<br />

common errors.<br />

v “Limiting recoverable errors during copy”<br />

v “Preventing date, time, and timestamp errors when copying files” on page 124<br />

v “Preventing position errors when copying files” on page 125<br />

v “Preventing allocation errors when copying files” on page 126<br />

v “Preventing copy errors that result from constraint relationships” on page 127<br />

v “Preventing copy errors related to your authority to files” on page 128<br />

Limiting recoverable errors during copy<br />

When you copy to or from a database file or from a tape file, you can limit the<br />

number of recoverable errors that you accept before the copy ends. Use the<br />

ERRLVL parameter to specify this limit. This parameter applies to the following<br />

types of errors:<br />

CPF4826<br />

Media error<br />

CPF5026<br />

Duplicate key in the access path of this member. (Note: The copy<br />

command does not count CPF5026 as an ERRLVL error when you specify<br />

MBROPT(*UPDADD) on CPYF.)<br />

CPF5027<br />

Record in use by another job. (Note: The copy command only counts<br />

CPF5027 as an ERRLVL error when you specify MBROPT(*UPDADD) on<br />

CPYF.)<br />

CPF5029<br />

Data or key conversion error<br />

CPF502D<br />

Referential integrity constraint violation<br />

CPF502E<br />

Referential integrity constraints could not be validated<br />

CPF5030<br />

Partial damage on member<br />

CPF5034<br />

Duplicate key in the access path of another member<br />

CPF5036<br />

Invalid length tape block read<br />

CPF504B<br />

DataLink error<br />

CPF504C<br />

DataLink preparation error<br />

CPF5097<br />

*NAN (Not a Number) value not allowed in floating-point key field

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!