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
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Explain how to differentiate call by context by comparing it to other calls?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
i need a small 3d program using inline and outline.
what are decleratives in cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What are the different rules for performing sort operation?
What are the different rules to perform a Search?
how do you reference the rrds file formats from cobol programs
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What are the pertinent COBOL commands?
What are the rules of the move verb?
What is the Purpose of POINTER Phrase in STRING command in COBOL?