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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rmode(any) ?

686


IF I mention stop run in CICS what happens?

1898


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

711


What is report-item in COBOL?

711


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1119






Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


What are the different rules to perform a Search?

619


Write a program to explain size error.

677


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2100


For rewrite, why is it mandatory that file needs to be opened?

623


In COBOL, what is the different between index and subscript?

763


How you can read the file from bottom?

660


How arrays can be defined in COBOL?

665


Discuss about changing dataset name in proc.

765


What is the compute verb? How is it used?

663