in cobol perform stmt whether it first checks the condition
or not
Answer Posted / deepa
If TEST BEFORE option is used the condition is checked
first.
If TEST AFTER option is used the condition is checked later.
Default is TEST BEFORE
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is static and dynamic call in cobol?
what are decleratives in cobol?
What do you understand by psb and acb?
Which division and paragraphs are mandatory for a COBOL program?
Name the sections present in data division.
What the difference is between continue and next sentence?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How do you differentiate between cobol and cobol-ii?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Write the code implementing the perform … varying.
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What guidelines should be followed to write a structured cobol prgm?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is the difference between comp and comp-3 usage?