Consider the following:

77 W-NUM PIC 9 VALUE 0
------
MOVE 1 TO W-NUM
PERFORM PARA-X UNTIL W-NUM > 9.
------
PARA-X
ADD 1 TO W-NUM

How many times PARA-X is executed ?

Answer Posted / ajith

9

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

5717


What are the different data types in cobol?

809


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10705


Which Search verb is equivalent to PERFORM…VARYING?

699


How do you define a variable of comp-1 and comp-2?

717






Name some of the examples of COBOl 11?

2700


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?

1244


What are literals?

640


how do you reference the fixed unblock file formats from cobol programs

725


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

842


What is static and dynamic call in cobol?

603


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1627


What is the difference between PIC 9.99 and 9v99 in COBOL?

748


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2075


How arrays can be defined in COBOL?

676