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

record length in spool?

2 Answers   Infosys,


is it possible to declare index in cobol program? if it is not why its tell me pls

3 Answers  


Will the variable POS in the following code have a value of 2 or not? 01 POS PIC S9(4) COMP VALUE 2. 01 FIRST-NAME PIC X(10) VALUE 'ABC'. 01 LAST-NAME PIC X(10) VALUE 'XYZ'. 01 NAME PIC X(20) VALUE SPACES. STRING FIRST-NAME DELIMITED BY SPACES ' ' DELIMITED BY SIZE LAST-NAME DELIMITED BY SPACES INTO NAME WITH POINTER POS

2 Answers  


what are the limitations of Inline Perform?

3 Answers   Zensar,


How to know whether the module is dynamical or statistical?

0 Answers  


Write the syntax of a two dimensional array?

8 Answers   Honeywell, Xansa,


Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER

4 Answers  


where did you see the information regarding abend codes in jcl?

1 Answers   Hewitt,


i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..

5 Answers   IBM,


I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division

1 Answers  


In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?

3 Answers  


wht r the advantages of 77 level number ?

8 Answers   TCS,


Categories