![]() |
![]() |
![]() |
![]() |
![]() |
Listing 8‑1 is a sample of COBOL copybook.Listing 8‑1 Sample of COBOL Copybook FileUse cpy2record customer.cpy to generate RECORD description file customer.R in binary format. This RECORD description file is generated from COBOL copybook file through cpy2record and used by application program at run time.Listing 8‑2 and Listing 8‑3 are examples of using RECORD to map COBOL record to RECORD buffer. The environment variables discussed in Setting up Your Environment for RECORD must be properly set.Listing 8‑2 Sample of RECORD Client ProgramListing 8‑3 Sample of RECORD Server Programcpy2record in Oracle Tuxedo Command Reference.