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
What is rmode(any) ?
IF I mention stop run in CICS what happens?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is report-item in COBOL?
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.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are the different rules to perform a Search?
Write a program to explain size error.
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?
For rewrite, why is it mandatory that file needs to be opened?
In COBOL, what is the different between index and subscript?
How you can read the file from bottom?
How arrays can be defined in COBOL?
Discuss about changing dataset name in proc.
What is the compute verb? How is it used?