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 |
Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?
How many bytes S(8) comp field occupy and its maximum value?
How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?
What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.
01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??
what is qualification on occurs clause?
If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?
give the examples for strings and unstrings in cobol
what is a zoned decimal data type and how it will be stored?
What are the cobol coding sheets?
have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..
How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.