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

Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5071


Why occurs cannot be used in 01 level in COBOL?

723


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1618


Give some examples of command terminators?

761


What is the difference between external and global variables in COBOL?

821






Whats the difference between search & search ALL?

5287


What is the local-storage section?

689


What is cobol?

752


Write the code implementing the perform … varying.

648


What is the difference between a binary search and a sequential search what are the pertinent cobol?

741


What are the different rules of SORT operation?

704


how do you reference the printer file formats from cobol programs

673


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

637


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1852


Explain about different table spaces.

654