populatedirectives - Populate directives

populatedirectives dataarea logFile oldDirectivesFile

When sqldbcopyis run, one or more tables might fail to process. Rather than manually determining the tables that have not completed processing, you can run the populatedirectivesutility before rerunning sqldbcopy. The populatedirectivesutility uses the log file and the old directives file to populate a new directives file that contains the tables that must complete processing. The new directives file can then be referenced when you rerun sqldbcopy.

For more information, see the Lawson Administration: Data Accessguide for the database you use.

Program Option Description
dataarea Data area to process
logFile Log file that resulted from previously running sqldbcopy
oldDirectivesFile Directives file previously used by sqldbcopy

Directives File

This attribute is an input file name and path of directives defining which Lawson files or data locations should be copied. The directives or entries in the input file are defined as follows:

A [AllFiles] <Y | N>

D <Include | Exclude> DatLocation

F <Include | Exclude> LawsonFileName

Note: The A directive is mandatory and specifies whether all Lawson files in the data area are to be processed.

Example: Process all files

The directives input file has the following entries:

A Y

Example: Process all files except PRDISTRIB and PREMPLOYEE

The directives input file has the following entries:

A Y

F exclude prdistrib

F exclude premployee