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
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is amode(24)?
How do you differentiate between cobol and cobol-ii?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
how do you reference the printer file formats from cobol programs
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
how to refer the data field?
What is perform what is varying?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is rmode(24)
In COBOL, what is the different between index and subscript?
What are the rules of the move verb?
What is the difference between Call and a Link?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Explain how you can characterize tables in cobol?