guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi prashanth,
There is a special type of COBOL field called FILLER. This reserves space in a COBOL record, commonly for future expansion or to fill a gap created by a redefined field. FILLER is a reserved word, and you can have as many FILLER fields in a record as you want -- the name does not have to be unique as field names must be.
Filler can also be used to create a field, or place holder, that you will never need to refer to by name, so you might find it contains actual data, not just blank space.
01 CUSTOMER-RECORD.
05 LAST-NAME PIC X(15).
05 FIRST-NAME PIC X(8).
05 STREET-ADDRESS PIC X(20).
05 CITY PIC X(17).
05 STATE PIC XX.
05 ZIP-CODE PIC 9(5).
05 FILLER PIC X(10). |
|