Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say C..

Answer / priya

The above code does not work. It gives a compilation error.
Is there any other solution?

Is This Answer Correct ?    4 Yes 1 No

In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say C..

Answer / kb

yes , its right the above code gives compilation errors. I
have checked this

Is This Answer Correct ?    2 Yes 0 No

In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say C..

Answer / kb

It will be called as
PERFORM CALC-INT OF SECTION-A.

Is This Answer Correct ?    2 Yes 1 No

In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say C..

Answer / 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

In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say C..

Answer / 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

More COBOL Interview Questions

What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

0 Answers   TryTechnicals Pvt Ltd,


WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.

4 Answers   Atos Origin,


What is the difference between performing a SECTION and a PARAGRAPH?

5 Answers   Accenture, Patni,


consider the following two statements MOVE 10 TO N PERFORM PARA-X N TIMES STOP RUN PARA-X MOVE 5 TO N how many times PARA-X willbe exicuted? a.10 b.5 c.infinate d.execution error

6 Answers   ABCL, TCS,


What are the different ways to run a COBOL DB2 program using JCL?

2 Answers  


what happens of we dont give time stamp in precompilation process

2 Answers  


I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?

5 Answers  


What is SET TO TRUE all about, anyway?

5 Answers  


how can we code index in an array of cobol pgm?

1 Answers   Wipro,


using redefine can you redefine lower variable size to higher variable size?

3 Answers   Patni,


What is the difference between a binary search and a sequential search what are the pertinent cobol?

0 Answers  


What do you feel makes a good program?

2 Answers  


Categories