BEA Logo BEA Tuxedo Release 8.0

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   Tuxedo Documentation   |   Programming BEA Tuxedo ATMI Applications Using FML   |   Local Topics   |   Previous Topic   |   Next Topic   |   Contents

 


Using COBOL COPY Files Created by the View Compiler

COBOL COPY files created by the view compiler with the -C option can be used in any COBOL application programs to declare COBOL records described by views. For example, the COBOL COPY file for the previous view description looks like the following in the file TEST.cbl:

*       VIEWFILE: "test.v"
* VIEWNAME: "test"
05 EMPID PIC S9(9) USAGE IS COMP-5.
05 SALARY USAGE IS COMP-1.
05 PHONE OCCURS 4 TIMES PIC S9(9) USAGE IS COMP-5.
05 NAME PIC X(32).

Note that the COPY filename is automatically converted to uppercase by the view compiler. The COPY file is included in a COBOL program as follows:

01 MYREC COPY TEST.

For a more complete description of the output in the resulting COPY files, see Programming a BEA Tuxedo Application Using COBOL.

 

back to top previous page next page