DB2 Server for VSE & VM: Database Services Utility


Using File Definitions with DB2 Server for VM UNLOAD and RELOAD PACKAGE Commands

Use the Same File Definition for RELOAD as for UNLOAD

CMS FILEDEF command information for package RELOAD processing should be identical to the information in the FILEDEF command used when the file was created by the package's UNLOAD command processing.

Figure 48 shows the relationship of the load-program files and the appropriate definition facility (FILEDEF or SQLDBSU) for each.

Figure 48. File Definition Diagram--UNLOAD PACKAGE and RELOAD PACKAGE


REQTEXT

FILEDEFs Supporting UNLOAD and RELOAD PACKAGE

CMS FILEDEF commands must be used to define the input or output data files processed by these commands.

Except for the ddname, CMS FILEDEF command information for RELOAD command processing should be identical to the information in the FILEDEF command used when the file was created by the UNLOAD command processing.

If either a RECFM value other than FB or an LRECL value is specified by the CMS FILEDEF command, the value is ignored and overridden.

A sample CMS FILEDEF command defining a CMS file for UNLOAD or RELOAD command processing is:

FILEDEF DBSFILE DISK DBSFILE DATA A

For more information on FILEDEF parameters and options, see Appendix B, FILEDEF Command Syntax and Notes.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]