Batch dump ABL data definitions
- Last Updated: January 27, 2026
- 3 minute read
- OpenEdge
- Version 12.8
- Documentation
Dump data definitions
dump_df.p procedure to dump the data definitions of a database.
Prodict/dump_df.p creates a data definition
(.df) file, which contains the schema definitions of all
tables, fields, indexes, and sequences in the database but not the actual table
data. The following parameters are provided to run the dump_df
batch scripts:
|
Parameters
- file-name
- Specifies the names of one or more tables or files that contain the list of tables you want to dump. To dump definitions of the entire database, type "ALL". To batch dump specific tables, provide the file name with a list of tables that you want to dump.
- df-file-name
- Specifies the name of the file in which the data is dumped.
- code-page
- Specifies the code page value, which can be one of the following:
Value Description ? No conversion "" Default conversion ( SESSION:STREAM)code-page Converts to the provided code page value
Example
Generate the.df file for all tables.
|
Dynamic data masking schema section in the .df file
Dynamic data masking (DDM) enables security and DDM administrators to control which end users of applications are authorized to view sensitive information and mask (or obfuscate) sensitive data when viewed by unauthorized users.
A mask is a format string representation that is setup against table fields to control how data is shown to an unauthorized user.
DDM configuration uses a Role-Based Access Control (RBAC) mechanism to control who has the privileges to unmask the data. With the help of RBAC, new roles are created and assigned to database users. These roles help determine whether a user has access to particular fields.
A security administrator is responsible for creating new roles. After these roles are created, a DDM administrator assigns them to database users. The DDM administrator is also responsible for creating and assigning new authentication tags to the user-defined roles. Any role could be mapped to multiple authentication tags and any authentication tag could be mapped to multiple user-defined roles.
After mapping the roles and authentication tags together, the DDM administrator can map these authentication tags to the table fields. These tags will help decide whether the user has unmasking privileges for a particular field. You have unmasking privileges over a field if the authentication tag on the table field is mapped to a role and if that role has been assigned to you. This mapping implies that the DDM administrator has granted you unmasking privileges over the concerned field.
For more information on the available mask configuration types and authorization tags, see Dynamic data mask configurations and Authorization tags.
For more information on how to configure DDM and how to get started, see Introduction to Dynamic Data Masking in the Learn about Security and Auditing.
DDM_Schema_Section in the .df file contains the
DDM schema definitions that include details of the mask and authorization tags
defined for database fields.
|
Batch dump DDM and schema definitions
To batch dump the DDM schema definitions for your database, the DDM administrator can run the
batch_dump_df.p wrapper file. This file accepts an environment
variable named DUMP_DDM and passes it to dump_df.p
as a parameter. DUMP_DDM is responsible for determining the content
dumped in the .df file.
DUMP_DDM passed, the wrapper file executes
the following actions:DUMP_DDM |
Action |
|---|---|
| No or no value passed | Dumps only the schema definitions in the .df file. |
| Yes | Dumps only the DDM schema definitions in the .df file. |
| Both | Dumps both, the schema definitions and the DDM schema definitions in the .df
file. |
Batch dump from the command-line
DUMP_DDM as
Both and run the following command from the
command-line:
|
Notes
- The table is either a SQL table, exists in a DataServer schema, or does not exist at all.
- The field name does not exist in the table.
- The field datatype is either CLOB or BLOB.
- The user running the batch dump procedure is not a DDM administrator.
To know more about how to batch load DDM schema definition, see Batch Load updated ABL data definitions.