![]() |
![]() |
|
|
Compiling Viewfiles
viewc is a view compiler program for FML and viewc32 is used for FML32. It takes a source viewfile and produces an object viewfile, which is interpreted at run time to effect the actual mapping of data. At run time, a C compiler must be available for viewc. The command line looks like the following:
viewc [-n] [-d viewdir] [-C] viewfile [viewfile . . . ]
where viewfile is the name of a source viewfile containing source view descriptions. You may specify one or more viewfiles on the command line.
If the -C option is specified, then one COBOL COPY file is created for each VIEW defined in the viewfile. These copy files are created in the current directory.
The -n option can be used when compiling a view description file for a C structure or COBOL record that does not map to an FML buffer.
By default, all views in viewfile are compiled and two or more files are created: an object viewfile (suffixed with ".V"), and a header file (suffixed with ".h") for each viewfile. For an illustration of the VIEWS components, see the diagram titled Components of the VIEWS Facility.
The name of the object viewfile is viewfile.V. It is created in the current directory. The -d option can be used to specify an alternate directory. Header files are created in the current directory.
Note: For those operating systems that are not case-sensitive, such as Windows, the object viewfile is given a .vv suffix.
For more information, refer to viewc, viewc32(1) in the BEA Tuxedo Command Reference.
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|