How many times the loop runs here
01 a pic 9(2) value 10.
perform para1 a times
stop run.
para1:
move 20 to a.
Answers were Sorted based on User's Feedback
Answer / suresh
it performs 10 times only it donot change while looping
Is This Answer Correct ? | 14 Yes | 3 No |
Answer / shiva
initally a=10
perfrm para1 a(10) times
move 20 to a...so now a=20
now again perform para1 a(20)times
and loop goes on
hence infinite loop
Is This Answer Correct ? | 3 Yes | 5 No |
What is normalisation?
i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..
How many bytes will be allocated for the following record description entries? 01 REC-A. 05 A PIC S9(4). 05 B PIC XXXBXXX. 05 C PIC ____9.99. 05 D PIC S9(5) COMP-3. 05 E PIC 9(3) COMP.
16 Answers IBM, TCS,
How do get the result of your program directly on your pc?
Extract only those records from a PS file which are having word 'TEXT' in the records using COBOL? The word TEXT is not present in a particular position in all the records.
How can you declare the file ?
if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Suppose i have a Cobol field of 10 byte. it contains a decimal sign.How to know where is the point location?
what are the limitations of Inline Perform?
How is sign stored in a comp-3 field?
In INITIALIZE what is Repalcing Word will do