contents.gifindex.gifprev1.gifnext1.gif

Using cblutil with the Plug-in

You can use the cblutil utility to package your applications, bitmaps, configuration file (Version 4.1 and later), and XFDs (Version 4.3 and later) into a single library file. This utility allows you to include resources. Resources are pieces of static data that must be embedded directly into an object file. The program treats the resource as if it were a disk file, but the resource is not actually a separate file in the target environment.

Using "cblutil -lib", you can specify any type of file as an input file. If an input file is a COBOL object, then cblutil includes it in the resulting library as a COBOL object. If an input file is another library, then each component of the library is individually added to the resulting library. Any other file is included as a resource. Use the cblutil utility program as follows:

cblutil -lib [options] main_program modules

Be sure to add the main or initial program to the library first, because the plug-in executes the first program it encounters in the library.

Example:

cblutil -lib -v -o mylib.acu prog1.obj prog2.obj logo.bmp cblconfi data1.xfd data2.xfd data3.xfd

Note: Since the plug-in identifies content with the ".acu" extension, the output library file must have the ".acu" extension. For this reason, be sure to use the "-o" option to specify the name of the output file when using "cblutil -lib". In the example above, "mylib.acu" is the specified output file.