01rec1.
05 a pic 999v99 value 123.12
05 b pic 99v9 value 45.9
02 rec2.
05 x pic 999v99
05 y pic 99v99
05 z pic x(3) value 'abc'
if rec1 is moved to rec2 then what is the value of rec2?
Answers were Sorted based on User's Feedback
Answer / praveen
REC2 will just contain 12312459 , the code was tested
| Is This Answer Correct ? | 2 Yes | 1 No |
wht is the diff b/w if and evaluate stmts ?
What is the use of intialize verb?
Move Zeroes to I move 5 to j perform para1 varying I from 10 by -2 until I = 0 display j. para1. Add 5 to j. What’ll be the value after execution of display stmt. A) 35 B) 40 C) 30 D) 25 please explain how?
How can you declare the file ?
give the examples for strings and unstrings in cobol
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?
What are decleratives in COBOL ?
How do u know what version of cobol u are using?
I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?
If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value
can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?