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
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is rmode(any) ?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How arrays can be defined in COBOL?
How do u write test cases?
What is the use of intialize verb?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is perform what is varying?
A table has two indexes defined. Which one will be used by the SEARCH?
What is the compute verb? How is it used?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What do you understand by psb and acb?
What type of SDLC u followed? Why?