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 / bv
It cannot be called directly . Control should go to
section A and start of that section A, perform CALC-INT.
Perform SECTION-A.
SECTION-A
Perform CALC-INT.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What rules are to be followed while using the corresponding options?
Write a program that uses move corresponding.
How do we get current date from system with century in COBOL?
In COBOL programming, what is PERFORM? What is VARYING?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Explain about different table spaces.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Can we change the password using ALTER? anyone tried and changed?
What are the different rules of SORT operation?
What is the difference between binary search and sequential search?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How to remove 2 duplicate records and copy only one using job control language?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?