In a program, there are 2 sections defined say SECTION-A
and SECTION-B. There is a paragraph say CALC-INT in both
the sections. If this para has to be called directly for
SECTION-A, then PERFORM CALC-INT will not work as it is
present in both sections. How the PERFORM statement has to
be coded here?
Answer Posted / priya
Any para in a section can be called directly. There is no
need to call the section. In this case, the paragraph name
is the same in both the sections, so there should be some
way by which the paragraph can be called directly by using
the section name as the qualifier but now sure how.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What are different data types in cobol?
What is the difference between comp and comp-3 usage?
What kind of error is trapped by on size error option?
What are the different rules to perform a Search?
How do you reference the fixed block file formats from cobol programs
What are the pertinent COBOL commands?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
A table has two indexes defined. Which one will be used by the SEARCH?
what is search and searchall?what is the diffrence between them?give an best example?
how to refer the data field?
Give some examples of command terminators?
What is cobol?
Difference between cobol and cobol-ii?