ILE COBOL Language Reference

Coding Examples

To create data item DEPTH with the same attributes as data item HEIGHT, you simply write:

   DEPTH LIKE HEIGHT

To create data item PROVINCE with the same attributes as data item STATE, except one byte longer, you write:

   PROVINCE LIKE STATE (+1)

+----------------------------End of IBM Extension----------------------------+


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]