Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Answer / Atul Chaudhary
The default for a PERFORM statement in COBOL is 'TEST AFTER'. This means that the loop will not be executed if the condition is true at the end of the last iteration.
| Is This Answer Correct ? | 0 Yes | 0 No |
77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?
Write the code implementing the perform … varying.
How to retain the Duplicates in the one records?
which of the following can be used as a check protection symbol a.Z b.S c.* d.+
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
subscript and index r not coded in u r application program what will happen?
In an EVALUTE statement is the order of the WHEN clauses significant?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.
What are the different open modes available in cobol?
How to recover a deleted source physical file from library?
i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?