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 SDSF?
hw to create 3 dimensional array & hw to access it?
What are VS COBOL 11 special features?
What is Pic 9v99 Indicates in COBOL?
0 Answers SwanSoft Technologies,
How is sign stored in a comp-3 field?
what are the limitations of Inline Perform?
soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?
What is the utilization of copybook in cobol?
Should I use STOP RUN in the sub program??why?
how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2