The commandFile command enables you to specify the name of a text file (for example, a .txt or a .cmd file) that contains a line for each JADE Database utility command.
When you run the jdbutilb program and JADE detects the commandFile command, it opens the specified text file and reads each line, performing the defined actions on those lines.
If you run the batch JADE Database utility regularly and you use the same or similar commands, this command means that you do not have to enter the same or similar information in the command line each time but can simply specify the program, the commandFile command, and the name of the existing command file (and its relative path name, if required).
As JADE does not look for any other command when it detects the commandFile operation, ensure that you specify this as the last command in the command line.
The syntax of the commandFile command in the jdbutilb command line is as follows.
jdbutilb [commandFile=command-file-name]
You can include the mandatory path argument in the command file, as shown in the following example of a text file specified as jdbutilb commandFile=d:\jade\files\batchutil.txt.
path=d:\jade\db backupDir=\\backupserver\jade\jnlbackups\07feb2007 verify nostatus backupJournal journalDir=s:\jade\system\logs\current journal=45 compress backup _user* userdata1 userdata2 certify _user* mydata shrdemo nostatus verifyChecksums