exportClassRandom Transaction Format

About exportClassRandom Transaction Format

exportClassRandom transaction format exports all objects in the specified class to a file in DBLoad format.

Syntax

exportClassRandom class-name {}

Notes

  • If the specified class is not a bottom class, the utility locates all bottom classes that are subclasses of the specified class, and then exports all data objects in those bottom classes.

  • This keyword is intended primarily for migrating data. To ensure acceptable performance, it exports only data objects. Template, attachments, and notes are not exported. You must export these items separately.

  • The utility generates the export file in the current directory with file name extension *.exp. It names the file as described in the example. For example, if the input file name is export.dbl then the output file name appears as export.dbl.exp.

Explanation

For class-name, specify the name of the class whose objects are required to export.

Example

This example exports all data objects in the VIP Package class. The Package class has several subclasses. The example would export all data objects in all subclasses of the Package class:

exportClassRandom v_pkg_class {}