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
Answers were Sorted based on User's Feedback
Answer / ram g
O is the right answer...when condition is true in
umtil...loop will comeout...
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / suresh ramaiyan
At the first time the value of TIMES-COUNTER is 1, so the
PARA-A will not execute even a single time.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
i have a sequencial file contains multiple records, i want to extract one row which contains various fields like order number,date,warehouse,.ect.. in to the another file by accepting the order number from jcl. how can i do it. pls help me..
I had 100 records and i want to execute last three records by using cobol programming?what will be coding?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Can we redefine the field of x(200) to less than 200?
what is the use of keep and pass in disp
Did anybody attend the walkin of TCS on 31st July in Gurgaon for any technology,If u have completed 3 round i.e till the HR round,have u received the Offer letter yet? Please let me know.Thanks.
The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290
Consider the following COBOL entries 05 X PIC 99 VALUE 10. ADD 40 X TO X. COMPUTE X = 3 * X - 40. The result in X is
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.?