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
Explain what you understand by passing by value.
What is a report item?
What are the different rules of SORT operation?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is rmode(any) ?
how do you reference the esds vsam file formats from cobol programs
What are declaratives and what are their uses in cobol?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is the difference between structured cobol programming and object alternativelyiented cobol?
How do you define a variable of comp-1 and comp-2?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
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.
how do you reference the fixed unblock file formats from cobol programs
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
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.