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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what you understand by passing by value.

932


What is a report item?

923


What are the different rules of SORT operation?

921


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

926


What is rmode(any) ?

917


how do you reference the esds vsam file formats from cobol programs

898


What are declaratives and what are their uses in cobol?

962


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

935


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

1013


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

933


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2988


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3962


how do you reference the fixed unblock file formats from cobol programs

951


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

924


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2231