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

How do you define a variable of comp-1 and comp-2?

0 Answers  


How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one

10 Answers   IBM,


can I copy book which contain db2 statment in procedure divion?

2 Answers   Bank Of America,


What are literals?

0 Answers  


01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?

7 Answers   Patni,


why occurs clause not mentioned in 01 level

6 Answers   HCL, NIIT, TCS, Tesco,


can we use go to statement inline-perform?

7 Answers   IBM,


I have two files , file1 is input file it contains 10,20,30,....,records but i want to display the records in file 2 as reverse order .how can we do by using jcl& cobol(dont use array) please any one can tell me the answer

3 Answers   GreenTree, IBM,


How will you find the currepted records in a file

2 Answers  


Can we use redefine clause in occurs clause?

10 Answers  


given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.

2 Answers   TCS,


1)what is use of linkage section? 2)what is difference between comp and comp-3

1 Answers   Cap Gemini,


Categories