Answer Posted / sandy
The below code is possible, if that is what asked.
1000-PARA
PERFORM VARYING
IF <CONDITION>
GO TO 1000-EXIT
END-IF
OTHER STATEMENTS.....
END-PERFORM
1000-EXIT
EXIT.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
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.
How to use the same COBOL program in Batch and CICS on lines? explain with an example
When is inspect verb is used in cobol?
What is the difference between comp and comp-3 usage?
How you can read the file from bottom?
State the various causes of s0c1, s0c5 and s0c7.
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.
What is an in line perform? When would you use it? Anything else you wish to say about it.
What are the pertinent COBOL commands?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What are the different rules for performing sort operation?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
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 ?