Procedure Division Structure
The Procedure Division must conform to one of the following formats:
Format 1:Declaratives or Sections
segment-number-1 must be an integer ranging in value from 0 through 49.
segment-number-2 must be an integer ranging in value from 0 through 127.
If a segment-number is omitted from the section header, the segment-number is assumed to be 0.
All sections that have the same segment-number constitute a program segment. Sections that have the same segment-numbers need not be physically contiguous in the source program.
Segments with segment-number 0 through 49 belong to the fixed portion of the object program.
Segments with segment-number 50 through 127 are independent segments.A program without declaratives may consist solely of independent segments.
Declarative sections must be grouped at the beginning of the Procedure Division, preceded by the keyword DECLARATIVES and followed by the keywords END DECLARATIVES.
COBOL Related Interview Questions
|VSAM Interview Questions||IBM - VSAM Interview Questions|
|IBM-CICS Interview Questions||JCL Interview Questions|
|IBM DB2 Interview Questions||IBM-JCL Interview Questions|
|DB2 Using SQL Interview Questions||IBM-JCL&VSAM Interview Questions|
|IBM Mainframe Interview Questions||COBOL, CICS, JCL, VSAM, DB2 Interview Questions|
|DB2 SQL Programming Interview Questions||IMS/DB Interview Questions|
|Mainframe DB2 Interview Questions|
Procedure Division Statements
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.