What is the difference between performing a SECTION and a
PARAGRAPH?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6834


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

998


How arrays can be defined in COBOL?

664


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1523


what happens if parmparameter passes zero bytes to the program

1667






Mention the guidelines to write a structured cobol program?

620


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

710


how to refer the data field?

1812


Write some characteristics of cobol as means of business language.

620


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

677


What guidelines should be followed to write a structured cobol prgm?

673


How to print 10 to 1 if the input have only 10 digit number?

811


) How do u handle errors in BMS macro?

1429


how do you reference the printer file formats from cobol programs

665


) How do u handle errors in BMS macro

1512