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
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 |
Answer / kb
yes , its right the above code gives compilation errors. I
have checked this
| Is This Answer Correct ? | 2 Yes | 0 No |
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 |
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 |
What is the Purpose of POINTER Phrase in STRING command
how we rectify soc4 and soc7 error in project(need real time answer)? please reply
what is mainframe? what is the mainframe software ? what is use in s/w field?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?
What is sqlca and why is it needed in any cobol-db2 program?
I have a sequential file of 100 records. How do I load the records into a two dimensional array ?
What is Pic 9v99 Indicates in COBOL?
0 Answers SwanSoft Technologies,
how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there