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 |
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?
i have variable record in the 5th, i want to sort from 5th filed ? how ?
what is the advantage of using redefines instead of delaring the variables ?
Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?
12 Answers T systems, Tech Mahindra,
i Want All cobol ERROR codes?
Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.
what is a load module ?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
What is the difference between subscript and index?
What will happen if you code GO BACK instead of STOP RUN in a stand-alone COBOL program i.e. a program which is not calling any other program ?