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
) how do u code after getting data?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Why did you choose to work with ibm mainframe cobol programming?
Define cobol?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is cobol?
What is Pic 9v99 Indicates in COBOL?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
What is the difference between external and global variables in COBOL?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
how do you reference the rrds file formats from cobol programs
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
how do you reference the printer file formats from cobol programs
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?