how many times PARA-A is performed :
PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1
UNTIL TIMES-COUNTER >0
PARA-A
MOVE P TO Q
MOVE H TO TIMES COUNTER
a.10
b.1
c.11
d.0
Answer Posted / harish
hi,
according to me i think its b. 1 times
initially times-counter is 1 > 0
so its right
condition satisfies
pls correct me if i am wrong
HARISH POOMGAME SHIVAPPA
NIIT TECHNOLOGY
KOLKATA
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is the difference between structured cobol programming and object alternativelyiented cobol?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
A table has two indexes defined. Which one will be used by the SEARCH?
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
How do you reference the following file formats from cobol programs?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
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 ......
Whats the difference between search & search ALL?
Explain the configuration section of a cobol program with examples of syntax.
What is rmode(24)
how do you reference the variable block file formats from cobol programs
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Are you comfortable in cobol or jcl?
How do you define a variable of comp-1 and comp-2?