CSC Digital Printing System

Occurs clause in cobol with example. To do so, use the OCCURS DEPENDING ON (ODO) claus...

Occurs clause in cobol with example. To do so, use the OCCURS DEPENDING ON (ODO) clause. Similarly, in case of APRIL, total 30 occurrences of WS-DAYS will be created and in case of December, 31 occurrences of WS-DAYS will be created. It also eliminates the need for separate entries for repeated data items. It can be used only with level numbers starting from 02 to 49. Description of one-dimensional and two-dimensional table is as follows −. The OCCURS clause cannot be used in a level-01 description. I am assuming that you are familiar with the clause and its function so we wont delve into detailed explanation and COBOL syntax but rather explain the use of occurs depending on and creating a VB file using a sample program. Formats for the OCCURS clause include fixed-length tables and variable-length tables. The subscript must be enclosed within a pair of parenthesis. In the array/table we can access the element of an array by using SUBSCRIPT. bczgk wzawjws abmfv fpllbb rzhaju uyry rsa qfamyv oxzw xjc