EGLPREP batch command utility

Use the EGLPREP command outside of the workbench to prepare multiple generated COBOL programs on the host. The utility monitors a specified folder for buildplan files created by the EGL COBOL generation process. When EGLPREP finds a new buildplan file, it starts a new thread and launches the build plan. You may set an optional parameter to limit the number of threads to be started.

As each build plan finishes, EGLPREP updates a history file named batchBuild.html in the same folder where the utility looks for buildplan files. This file shows the results of each completed build plan.

If you generate COBOL programs from the workbench with the build descriptor option prep set to yes, EGL waits for each compile to finish before generating the next program. By setting the prep build descriptor option to NO, you shift responsibility for compilation to the EGLPREP utility, which takes advantage of the ability of the z/OS® and iSeries® to run multiple compilations at the same time.

Prerequisites

Syntax

Enter the following command at the command prompt, on a single line:
java EGLPREP foldername [-searchSubfolders]
                        [-maxThreadsn]
                        [-clearHistory]
foldername
The name of the folder that EGLPREP should monitor for new build plans.
-searchSubfolders
Tells EGLPREP to search subfolders under foldername for new build plans.
-maxThreadsn
Tells EGLPREP to limit the threads to the specified number. Include no space between maxThreads and that number. The default is 1.
-clearHistory
Tells EGLPREP to delete the contents of the batchBuild.html file before logging subsequent history.

Feedback