What is the term segment in a COBOL program mean? Someone highlight me on the usage or syntax of this segment concept in COBOL program.
Printable View
What is the term segment in a COBOL program mean? Someone highlight me on the usage or syntax of this segment concept in COBOL program.
A segment in COBOL program consists of one or more sections. There are types of segments in COBOL like permanent segment, independent segment and quasi-permanent segments. When segment is used in COBOL program the procedure division consists of section and each section is assigned a segment number which is written in the section header.
Nancy thanks for explaning about segment in detail. I could get a very detailed overview about segment from your explanation.