What is the difference between performing a SECTION and a
PARAGRAPH?
Answers were Sorted based on User's Feedback
Answer / aji cherian
Performing a SECTION - will perform all paragraphs in the
section.
performing a PARAGRAPH - will perform only
the specified paragraphs
| Is This Answer Correct ? | 24 Yes | 2 No |
Answer / shan
Adding to Answer #1, performing section will execute all the
paragraphs until next section comes or and EXIT statement is
defined.
| Is This Answer Correct ? | 12 Yes | 6 No |
Answer / grahame davis
Perform paragraph executes statements in the paragraph
Section executes all paragraphs until next section or until
end of program and ignores any EXIT except for last line in
program or last line prior to new Section. This was found
when someone added a new Section but forgot the SECTION
which meant previous Section then dropped through into new
code which caused logic problems and an abend
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / escapa
From answer 2: SECTION includes paragraph but also can include statement directly.
| Is This Answer Correct ? | 5 Yes | 3 No |
What is the difference between write & move in COBOL?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayedafter the PERFORM is over?assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above since there is a syntex error
can we use go to statement inline-perform?
What are subroutines ? and how do we pass data to the sub routines?
what is the difference between COBOL2 AND COBOL390?
Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?
What are various search techniques in cobol? Explain.
where do u use low-value and high value in cobol
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
0 Answers TryTechnicals Pvt Ltd,
How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.
What is the difference between working storage copybook and linkage section copybook?
In INITIALIZE what is Repalcing Word will do