1. Using hyphens between pre-defined Section or paragraphs, what it indicates? why should i use it? If i dont use hyphen its showing me an error .
2. If i use period to File control sentences its showing me an Error , why I should not use Period over there?
For example.
ENVIRONMENT DIVISION.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT INFILE ASSIGN TO SYSUT1.
ORGANIZATION IS SEQUENTIAL.
ACCESS IS SEQUENTIAL.
FILE STATUS IS FS.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT INFILE ASSIGN TO SYSUT1.
ORGANIZATION IS SEQUENTIAL.
ACCESS IS SEQUENTIAL.
FILE STATUS IS FS.
In the above mentioned example in Predefined Sections and para hyphens are used, if i dint use hyphen its showing me an error. Similarly if i use hyphen for FILE STATUS its showing me an error.
To my knowledge I think hyphen used in section and para are for better readability.
Kind regards
gyaa